Re: [Fwd: Getting IOCTL's into VFS File System Drivers]

Sean Hunter (sean@uncarved.co.uk)
Thu, 11 Nov 1999 12:58:37 +0000


On Wed, Nov 10, 1999 at 08:42:18PM -0500, Theodore Y. Ts'o wrote:
> Another method you can do is to have your filesystem register a sysctl,
> and then you can read and write messages to your filesystem through
> /proc/sys/fs/nwfs/....

...and yet another method for root filesystems is to use a boot
commandline arguments. So, you have

a)sysctls (/proc entries)
b)initrd (and thus /dev entires)

or

c)Boot args

How many API's do you need?

If you need an elaborate interface, aren't you better booting an
initrd and using that to launch your config tool that then builds and
mounts your root fs?

Sean

-
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/