Author: Chris Sykes via Hampshire Date: To: Hampshire LUG Discussion List CC: Chris Sykes Subject: Re: [Hampshire] Detect USB or SATA drive
On Thu, 30 Apr 2020 at 10:12, Rob Malpass via Hampshire
<hampshire@???> wrote: > It would be useful to me if I could determine (via df -h if poss) which are usb and which are usb.
> I’ve tried lsusb and lshw -C disk but neither are helping. lshw keeps telling me they’re all SCSI for example which I know is wrong. They’re all SATA – it’s just that some are connected via USB, some aren’t.
You might also like to try listing /dev/disk/by-path/