Messages in this thread | | | Date | Wed, 15 Mar 2000 16:44:44 +0000 (GMT) | From | Tigran Aivazian <> | Subject | Re: fcntl(2) and other file systems like XFS |
| |
On Tue, 14 Mar 2000, Jim Mostek wrote:
> > I don't think ioctl(2) should be used for regular files. > > From man ioctl(2) on Linux. > ...
Hi Jim,
I did not follow this thread so I don't know where it all started from but ioctl(2) can and should be used on regular files to implement filesystem-specific (exotic?) features. For example, ext2 has currently getflags/setflags/getversion/setversion ioctls that you can use to manipulate individual inodes.
As for the standards, ioctl(2) is reasonably standardized on STREAMS devices only, but not on regular files.
Regards, ------ Tigran A. Aivazian | http://www.sco.com Escalations Research Group | tel: +44-(0)1923-813796 Santa Cruz Operation Ltd | http://www.ocston.org/~tigran
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |