On Monday 14 January 2002 14:09, Karl Heinz Kremer wrote: > You can get the major and minor device numbers from the device file. > The major device number will tell you if it's a SCSI or an USB > device.
That is extremely nonportable. It's even version specific.
IMHO it should be encapsulated somehow.
Regards
Oliver Neukum
