disks renamed in 8.04

Marius Gedminas marius at pov.lt
Fri Apr 25 20:08:56 UTC 2008


On Fri, Apr 25, 2008 at 08:46:39PM +0100, R Kimber wrote:
> Having upgraded to 8.04, I find that the disks have been renamed.
> 
> What was hdb1 now seems to be sdb1.  The problem with this is that my
> external USB drive used for backups used to be /dev/sdb1.  How do I find
> out what it is now so that I can edit the scripts that write to
> it?

Plug it in and see?  The latest kernel messages ('dmesg | tail' in a
terminal window) will show you the device name.  Or you can use mount to
see the device name.

You can also use one of the more expressive device aliases that appear
in /dev/disk, such as

  /dev/disk/by-label/MYUSBDISK
  /dev/disk/by-uuid/2D86-1B3A
  /dev/disk/by-id/usb-32MB_HardDrive_230760A43DF01841-0:0-part1
  /dev/disk/by-path/pci-0000:00:1d.0-usb-0:2:1.0-scsi-0:0:0:0-part1

You can find the label & UUID of the disk by right-clicking on its
desktop icon and looking in the Volume tab.  It's easy to see which of
the ID/path devices is the right one if you have only one USB disk.

Marius Gedminas
-- 
A "critic" is a man who creates nothing and thereby feels qualified to judge
the work of creative men. There is logic in this; he is unbiased -- he hates
all creative people equally.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080425/acc4ff54/attachment-0001.sig>


More information about the ubuntu-users mailing list