Re: Proposal: int (permission*)(struct dentry *, int)

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon May 15 2000 - 13:10:41 EST


> I don't want to belabor the point, but I think you're questioning
> the sanity not just of NFS, but also of AFS and CIFS. They
> all use a filehandle or "fid" of some kind to identify a file
> on the server.
>
> Why is insane ?

It isnt. A lot of people look at NFS and assume since it has oddities pathnames
are magically clean. In fact path names turn up a pile of other horrors that
you want to avoid.

You want pathnames for some operations and its a good way to regenerate file
identities but you actually want a reliable file id. You want one that
survives reboots, logical volume management changes, HA multi-pathing,
volume relocation, ...

Our NFS one survives some but not all of that now.

Alan

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



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:26 EST