Recently, Somebody Somewhere wrote these words
> On Tue, 2005-07-12 at 12:41 +0100, Declan Moriarty wrote:
> > It seems I had done a chroot into the new system, run udev, and then
> > shut down, or else the ramdisk failed to load, so I had a bucketful
> > of nodes in /dev.
>
> Ok, yes, that makes sense in hindsight - you've effectively been
> running a static /dev. I'm guessing the DVD drive wasn't installed at
> the time the entries were created, or maybe you just didn't have the
> ide-cd driver built.
>
> > /etc/rc.d/init.d/udev was crapping out quite early and noiselessly
> > in the script. This bit
> >
> > start) # Don't attempt to populate the /dev directory when #
> > something # else has already set it up. [ -f /dev/.udev.tdb
> > ] && exit 0
> >
> > is now deprecated as they have junked the database
>
> My understanding from what was said on the HAL list is that they're
> not scrapping the database entirely, they're just drastically reducing
> the amount of stuff put in it. So, the absence of the .udev.tbd
> directory may not be a reliable indicator - it might be that udev
> hasn't run yet, or it could be it had nothing it wanted to store.
But what happened to me was that I had no links for had at all except
hda8, which was the root filesystem in the new lfs. So when I tried to
boot, I was screwed because udev went off and played in the traffic, and
the kernel couldn't mount swap, or any other partitions, and the init
scripts never got me to a read/write root filesystem.
In short, the thing started to make device nodes exits without doing so
if the database exists, and the whole system falls over. Catch 22.
>
> Still, the script probably should at least print out a notification
> message, rather than exit silently and pretend everything was fine.
>
> > What hapopens if the power fails on a udev enabled box :-o?
>
> Exactly the same as any time the box is shut down, I should think.
>
That's something at least. With udev-0-62, I also have the /dev/hdc and
/dev/hdd links, so I can mount them. The only change I made was to mark
them as "auto" for the filesystem in /etc/fstab
--
With best Regards,
Declan Moriarty.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page