Re: PROPOSAL: /proc/dev

Jeremy Fitzhardinge (jeremy@zip.com.au)
Wed, 07 Jan 1998 01:15:47 +1100


Richard Guenther wrote:
> - the d_count handling can not be done in the usual way, because (as we
> want to be able to umount/mount proc several times and of cause keep
> the proc-tree) the mount/umount syscalls and followups have ugly (dont
> rembember all) superblock->d_root handling. Ah yes, and of cause
> dentry->d_sb needs to change automagically, because proc has no real
> device id.... (partial fixes exist).

You'd also want a devfs to be mounted multiple times with different
contents. Many systems use chrooted environments with subsets of /dev
in them, with the appropriate permissions and so on. This needs to be
possible.

J