Gentoo Archives: gentoo-dev

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] USB disks - idea/question
Date: Fri, 22 Dec 2006 16:25:09
Message-Id: 458C055A.3080600@gentoo.org
In Reply to: [gentoo-dev] USB disks - idea/question by "Sven Köhler"
1 Sven Köhler kirjoitti:
2 > Hi,
3 >
4 > so as you plugin a USB-disk, the kernel will recognize it, and it will
5 > be called sda, sdb, sdc or whatever ...
6 >
7 > I don't like that - why doesn't it get some more usefull device-name?
8 > Some device name, that
9 > a) indicates, that it is usb (for example put them to /dev/usb) and
10 > b) uses a numering not depending on how many harddisk there are in the
11 > system
12 >
13
14 You mean like what udev already does?
15
16 betelgeuse@pena /dev/disk/by-id $ ls -l
17
18 <snip all the sata stuff>
19
20 usb-0930_USB_Flash_Memory_09F0D150B001EFE6 -> ../../sdd
21 lrwxrwxrwx 1 root root 10 2006-12-22 18:17
22 usb-0930_USB_Flash_Memory_09F0D150B001EFE6-part1 -> ../../sdd1
23 lrwxrwxrwx 1 root root 10 2006-12-22 18:17
24 usb-0930_USB_Flash_Memory_09F0D150B001EFE6-part2 -> ../../sdd2
25
26 Regards,
27 Petteri

Attachments

File name MIME type
signature.asc application/pgp-signature