Re: [PATCH] devfs: remove devfs from Kconfig preventing it from being built

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

 



On 22 Jun 2005, Christoph Hellwig wrote:
> On Tue, Jun 21, 2005 at 03:59:19PM -0700, David S. Miller wrote:
>> I know the rational behind this.
>> 
>> However, this does mean I do need to reinstall a couple
>> debian boxes here to something newer before I can continue
>> doing kernel work in 2.6.x on them.
> 
> I have half a dozend debian sarge,etch and sid boxes on various architectures
> and they work just fine without devfs.

Everything works until you put your root filesystem on LVM (or RAID,
perhaps, but I've never used that so can't be sure).

The Debian initrd-tools rely on devfs to populate block devices
corresponding to physical disks. If you explictlly name your root
filesystem, you're safe even without devfs, because the initrd's
/sbin/init script also explicitly mknods your root device --- but if
your root filesystem is on LVM, well, vgscan needs to search your
physical disks, which means that they have to exist *before* vgscan
runs, for which it uses devfs and only devfs.

Debian users in this situation can always build their own initrds --- I
did --- but it's, er, not something I'd expect users to be able to do.


Of course, killing off devfs now might prod the Debian maintainers into
populating physical devices using udev instead ;)

(There is a Debian bug for this, #312871. It's marked as wishlist, which
strikes me as much too low.)

-- 
`It's as bizarre an intrusion as, I don't know, the hobbits coming home
 to find that the Shire has been taken over by gangsta rappers.'
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux