[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: distinguishing USB device from non-USB

Pavol Gono wrote:

I need to distinguish what kind of device is /dev/hda, hdb ...,
/dev/sda, sdb, ... Generally it can be IDE disk, SCSI disk,
flash card, USB stick, USB disk, hardware RAID, etc.
I looked to /proc file system and didn't find any safe method
to find it out.
Is in debian any userspace tool which can detect type of

You need udev.  There's a good howto out there.

Reply to: