Opened 19 years ago

Closed 19 years ago

#1809 closed defect (invalid)

/lib/udev/bug creates /dev/bug not /dev/bugreport

Reported by: smileaf Owned by: lfs-book@…
Priority: normal Milestone: 6.2
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

in the page http://www.linuxfromscratch.org/lfs/view/development/chapter06/udev.html

the note below the source states

"When booting the new LFS system, if any events are missed, a warning message will appear and a /dev/bugreport file will be created."

However in the source code it reads

bug = open("/dev/bug", O_WRONLY | O_APPEND);

Change History (2)

comment:1 by Matthew Burgess, 19 years ago

Milestone: 6.2

Thanks for the report. The leaked-events reporter will be disappearing prior to the final release as it's not useful anymore. See Alexander Patrakov's email at http://www.linuxfromscratch.org/pipermail/lfs-dev/2006-May/057481.html. I'll leave this ticket open though, as a reminder to actually pull the text out of the book when the bootscripts and udev-config tarballs have been updated.

comment:2 by alexander@…, 19 years ago

Resolution: invalid
Status: newclosed

Yes, it creates /dev/bug, and the initscript renames the created file to /dev/bugreport to avoid races. So the book is correct.

Note: See TracTickets for help on using tickets.