[LFS Trac] #2057: Udev-120

LFS Trac trac at linuxfromscratch.org
Sun May 18 08:28:19 PDT 2008


#2057: Udev-120
------------------------------------------+---------------------------------
 Reporter:  matthew at linuxfromscratch.org  |        Owner:  lfs-book at linuxfromscratch.org
     Type:  enhancement                   |       Status:  new                          
 Priority:  normal                        |    Milestone:  7.0                          
Component:  Book                          |      Version:  SVN                          
 Severity:  normal                        |   Resolution:                               
 Keywords:                                |  
------------------------------------------+---------------------------------
Comment (by dnicholson at linuxfromscratch.org):

 Replying to [comment:17 jhuntwork at linuxfromscratch.org]:
 >
 > In any case, if more feel that it's better to patch up udev so that this
 configuration can be done in chroot, I'll conform. :)

 Just throwing out an opinion...

 I think that the right thing to do, if the --in-chroot patch is rejected,
 would be to just right a stripped down udevd that just does what we want.
 Basically, just strip out all the parts of udevd.c that aren't applicable
 (like actual device creation and RUN rules), then add code for triggering
 the net events. You could even call it write_net_rules.

 I'd rather see this move than wait for that to happen, but I think it
 would be fairly trivial for someone knowledgeable in C to copy udevd.c and
 strip to just the calls needed to trigger the net rules.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2057#comment:20>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.



More information about the lfs-book mailing list