[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: base-files and /dev



Brian May <bam@debian.org> writes:

> On Wed, Jul 24, 2002 at 01:47:41AM +0200, Russell Coker wrote:
> > On a devfs system the /dev you see is not a directory provided by any 
> > package, it is the root directory of a file system mounted by the kernel.
> 
> It seems that is the root of the problem.
> 
> When you refer to /dev you could mean one of two things:
> 
> 1. /dev on root filesystem. This is the file provided by the
> base-files package, and the file to be relabeled.
> 
> 2. /dev on external filesystem, which should not be relabeled
> if the external file system is devfs. (I guess you could, in theory
> have /dev on another filesystem, but I am not sure why you would
> want to bother...).

Everyone with / RO and no devfs. With / RO you put /dev on a ramdisk
and mount it over the original /dev.
 
> Just another solution, would it perhaps be better to make both device_t,
> but modify devfs to allow a readonly option?

Did you remember that if you have /dev mounted (devfs or ramdisk) you
actually have two /dev?

One /dev on the root filesystem and one / on the filesystem for
/dev. The first is in base-files, the later would come from devfs.

MfG
        Goswin


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: