New answers tagged flash-memory
You can find information about a hardware device in /sys. For a disk drive, look under /sys/block. For example, information about /dev/sdb is under /sys/block/sdb. The file ``/sys/block/sdbcontains1if the device is removable and0otherwise. There's more information in the directory linked to bydevice, including themodelandvendor`.
Top 50 recent answers are included