Messages in this thread | | | Date | Wed, 12 Oct 2005 11:12:56 -0500 | From | David Teigland <> | Subject | Re: [PATCH 11/16] GFS: mount and tuning options |
| |
On Wed, Oct 12, 2005 at 10:43:24AM +0200, Jan Hudec wrote: > They are normal directories and normal files, except they are not > exposed in the mount-point, right? Then why don't you simply provide a > directory handle for the master directory and use normal filesystem > operations for the rest? > > That way you would have just one ioctl -- getmasterdir. The tool would > fchdir to the handle returned and manipulate the files from there with > normal syscalls. It would still see to the user-visible part throught > the root directory too (since bind mounts are supported, this should not > be a problem).
That sounds nice, we'll give it a try.
> Well, if you get rid of the access to files in the master directory by > making that directory visible somehow, you will be left with a bunch of > ioctls on files, which are different enough to warrant individual ioctl > numbers for sake of efficiency.
Sure, that may well be saner when we get the ioctl command set further reduced.
Thanks, Dave
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |