Dear All,
How to know what is the device corresponding to a certain external disk? I would like to format it and avoiding any undesirable formatting of other disks.
Thanks in advance,
Paul
On Sun, 3 Jun 2012 14:04:51 +0100 Paul Smith wrote:
Dear All,
How to know what is the device corresponding to a certain external disk? I would like to format it and avoiding any undesirable formatting of other disks.
Thanks in advance,
Paul
The traditional linux hacker way to be sure is to unplug the disk, then do a "tail -f /var/log/messages" and when that is running, plug the disk back in.
You'll see messages appear about /dev/sde (or whatever the name is).
On 06/03/2012 09:04 PM, Paul Smith wrote:
Dear All,
How to know what is the device corresponding to a certain external disk? I would like to format it and avoiding any undesirable formatting of other disks.
Thanks in advance,
lsscsi is a handy alternative to running dmesg or checking /var/log/messages.
You may have to:
yum install lsscsi
first
On Sun, Jun 3, 2012 at 3:07 PM, Ian Chapman packages@amiga-hardware.com wrote:
How to know what is the device corresponding to a certain external disk? I would like to format it and avoiding any undesirable formatting of other disks.
lsscsi is a handy alternative to running dmesg or checking /var/log/messages.
You may have to:
yum install lsscsi
first
Thanks, Ian and Tom, for your help.
Paul
Also, maybe this would suffice to identify them, in case you can't install the package:
$ ls -l /dev/disk/by-{id,label}