Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] udev on /dev HOWTO

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Hamish Greig <hgreig AT bigpond.net.au>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] udev on /dev HOWTO
  • Date: Sat, 21 Feb 2004 21:03:09 +1100

On Sat, 21 Feb 2004 20:51, Arwed von Merkatz wrote:
> On Sat, Feb 21, 2004 at 12:32:36PM +1100, Hamish Greig wrote:
> > On Sat, 21 Feb 2004 12:23, Arwed von Merkatz wrote:
> > > On Sat, Feb 21, 2004 at 12:13:01PM +1100, Hamish Greig wrote:
> > > > On Sat, 21 Feb 2004 05:21, Arwed von Merkatz wrote:
> > > > > - you need to have at least your root device, /dev/console and
> > > > > /dev/null in your static devices, this is definitely true for all
> > > > > older systems, but i'm not sure about systems that were installed
> > > > > after our devfs on /dev switch (anyone knows if those have a
> > > > > complete static /dev under the devfs mount?).
> > > > >   basically if you can boot with 'devfs=nomount init=/bin/bash'
> > > > > kernel parameters then you should be able to boot with the udev
> > > > > setup.
> > > >
> > > > /dev has been completely empty since 0.7.1 ISO, it relies 100% on
> > > > devfs mounting at boot.
> > > > If this will be a long term problem let me know, I could install a
> > > > MAKEDEV script to /dev and populate /dev with static devices during
> > > > the installation, or just create the minimal devices needed ?
> > >
> > > I think the install should create a full static /dev, not everyone
> > > wants to use devfs, and udev is probably not yet ready for everyone
> > > (last count i've seen of device drivers that aren't sysfs enabled and
> > > thus not available to udev is 162).
> > > The minimum that's needed for init to work is /dev/console afaik, but
> > > it may need some more, i'll probably do some tests.
> >
> > could you file a bug for the ISO, with your findings ? So I have
> > something to work from ? I have a lot of work planned and no-one
> > registered in the ISO/cauldron team has responded to any attempts at
> > contact.
> > Thanks
>
> Done, http://bugs.sourcemage.org/show_bug.cgi?id=6104
> I just tried, and luckily it seems to be possible to access the normal
> /dev that's under the mounted devfs by using a mount --bind, which means
> that this brokenness doesn't prevent an automatic conversion, just
> produces more work.

great, I'll look at adding a makedev script as a stage in the installer.
Thanks for the bug and the report.

Hamish
--
IRC nick: drmoriarty
SMGL co-conspirator
# Do You SMGL!?
# http://www.sourcemage.org/
# Linux so advanced it may as well be magic!
ANTI-SPAM WARNING: I delete any html message from my server without reading
Please use text only

Attachment: pgphK2Us466ez.pgp
Description: signature




Archive powered by MHonArc 2.6.24.

Top of Page