#1972: udevtest semi-broken
---------------------------+------------------------------------------------
 Reporter:  Bryan Kadzban  |        Owner:  [email protected]
     Type:  task           |       Status:  new                          
 Priority:  normal         |    Milestone:  6.3                          
Component:  Book           |      Version:  SVN                          
 Severity:  normal         |   Resolution:                               
 Keywords:                 |  
---------------------------+------------------------------------------------
Changes (by [EMAIL PROTECTED]):

  * milestone:  => 6.3

Comment:

 I think that LFS has always tried to use the supported tools provided by
 upstream developers.  As udevtest isn't guaranteed to work, I think it'd
 be better if we gave commands that have stronger chances of success.  From
 the list you give there, I think we'd just need:

 {{{
 # only for IDE:
 /lib/udev/ata_id --export /dev/hdX

 # for SCSI (including USB, IDE-under-libata, and SATA):
 /lib/udev/scsi_id -g -x -s /block/sdX -d /dev/sdX
 }}}

 Running cdrom_id doesn't appear to give me any particularly useful
 information for writing udev rules here:

 {{{
 /lib/udev/cdrom_id --export /dev/hdc
 ID_CDROM=1
 ID_CDROM_CD_R=1
 ID_CDROM_CD_RW=1
 ID_CDROM_DVD=1
 ID_CDROM_DVD_R=1
 ID_CDROM_MRW=1
 ID_CDROM_MRW_W=1
 ID_CDROM_RAM=1
 }}}

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1972#comment:1>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to