Re: LANANA: To Pending Device Number Registrants

From: Malcolm Beattie (mbeattie@sable.ox.ac.uk)
Date: Wed May 16 2001 - 04:45:04 EST


Alexander Viro writes:
> thing, we could turn mount(2) into
> open appropriate fs type
> convince the sucker that you are allowed, tell which device you want,
> etc.
> open mountpoint
> mount(fs_fd, dir_fd)
> Would work like charm, especially since we could fit the network filesystems
> into the same scheme and get rid of the kludges a-la ncpfs mount sequence.
>
> There's only one sore spot: how'd you mount _that_ fs? ;-)

Start up init with fs_fd on file descriptor 3 and init can put it
where it likes.

--Malcolm

-- 
Malcolm Beattie <mbeattie@sable.ox.ac.uk>
Unix Systems Programmer
Oxford University Computing Services
-
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/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:16 EST