devfs
[Top] [All Lists]

Re: 4 questions

To: "Marton Kadar" <marton.kadar@xxxxxxxx>
Subject: Re: 4 questions
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Thu, 23 May 2002 11:40:30 -0600
Cc: devfs@xxxxxxxxxxx
In-reply-to: <20020510173138.73966.qmail@xxxxxxxx>
References: <20020510173138.73966.qmail@xxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
Marton Kadar writes:
> Hello all,
> 
> I use kernel 2.4.9 with devfs support, and installed devfsd too.
> The fs is not mounted automatically, nor do I use the "only" option. I mount 
> the fs manually, often not on /dev, and experiment with things before I 
> finally dump the old /dev directory. I like the idea of devfs very much, but 
> still have a few questions:

Please fix your mailer to wrap lines at 70 characters. Your email is
hard to read.

> I have read in the FAQ the following sentence:
> "Also, because the devfs namespace exists without any devfs mounts, you can 
> easily mount the root filesystem by referring to an entry in the devfs 
> namespace."
> 
> 1. I find it a little confusing or at least not conceptually clear that I 
> have to pass "root=/dev/ide/..." to the kernel even while the fs is not 
> mounted anywhere, and that /proc/mounts will show the root device mounted on 
> /dev/ide/... even though I might later mount the devfs to say /mnt/dev or to 
> several mount points, all different from /dev, if I please. In fact the 
> current setup suggests that the kernel mounts one single device node of the 
> devfs tree but nothing else. This is kind of a chicken and egg problem: to be 
> able to refer to the (root) device by node name (in order to mount it) you 
> need the node, for the node to exist, however, you need the filesystem, which 
> in turn needs the root device to be mounted. I would find it lots cleaner to 
> be able to say "root=ide/..." or "root_device=ide/..." instead.

That may even work. Have you tried it?

> 2. Can I persuade the kernel to mount the fs at boot time to
> something other than /dev?

No. This may change in 2.5 when the initial rootfs work is complete.

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>