NCPFS overhaul.

David Woodhouse (Dave@imladris.demon.co.uk)
Tue, 31 Mar 1998 22:43:55 +0200


I'm like to overhaul the NCPFS code in the kernel so that a server (or volume)
only needs to be mounted once, rather than being separately mounted by a suid
mount program for each user.

The idea is to get each user to log in to the server, and the kernel keeps the
IPX connection open for them.

Then when they attempt to access something on the ncpfs filesystem, the NCP
call is made using their IPX connection.

The local filesystem still keeps a cache for files and directories, but keeps a
record of the Netware userid with the cached data, and refetches the data if
the Netware userid is different.

Users who aren't logged in to the Netware server are either refused access, or
they get read-only access as the Netware user under which the filesystem was
mounted, according to the mount flags.

The down side of this, and the reason I'm asking for approval, is that the
table of Netware IPX connections for each user would then have to be kept by
the kernel. I don't like the idea of doing that, the only alternative I can see
is to have the whole thing done in userspace as a local NFS mount, which is
likely to be horribly slow.

Comments, anyone?

---- ---- ----
David Woodhouse, Robinson College, CB3 9AN, England. (+44) 0976 658355
Dave@imladris.demon.co.uk http://www.imladris.demon.co.uk
finger pgp@dwmw2.robinson.cam.ac.uk for PGP key.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu