How to define which device is /dev/sda

Dan Barrett nullpointer at pobox.com
Fri Jan 16 16:25:08 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The man pages for devfsd and devfsd.conf are pretty useful (uh, without the 
wrapping):

This  runs  the partx command to tell the kernel about the partitioning of an 
IDE or SCSI hard
       disk when one of the partitions is accessed for the first time.  Notice  
the  use  of  regular
       expression substituation in the command "\1", corresponding to the 
first set of parentheses in
       the regular expression being matched.

       LOOKUP                   ^((ide|
scsi)/host[0-9]+/bus[0-9]+/target[0-9]+/lun[0-9]+)/part[0-9]+$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFACFa0sIjNiQTGkXARApU2AJ9rVFwaJ2DXbZbfooK5nV6RCr3XlgCfS/0G
zrEkiRrmuWsf5k3J7O0vchM=
=J/HC
-----END PGP SIGNATURE-----




More information about the Discuss mailing list