Gentoo Archives: gentoo-dev

From: Raymond Lewis Rebbeck <dystopianray@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] USB disks - idea/question
Date: Fri, 22 Dec 2006 16:19:58
Message-Id: 200612230245.03291.dystopianray@gmail.com
In Reply to: [gentoo-dev] USB disks - idea/question by "Sven Köhler"
1 On Saturday, 23 December 2006 2:40, Sven Köhler wrote:
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 > So for example /dev/usb/uda could be a symlink to /dev/sdb,
14 > /dev/usb/uda1 a symlink to /dev/sdb1 etc.
15 > (In this case, sda would be a normal harddisk, which is the reason why
16 > the usb-device is sdb)
17 >
18 >
19 > So i don't know any other distribution doing it like that. So what do
20 > you think?
21 > - is it possible?
22 > - is it a good idea?
23 > - is it such a good idea, so that gentoo becomes the first distribution
24 > doing it?
25 > - is it a bad idea to differ from all the other distros out there?
26 >
27 >
28 > Thanks,
29 > Sven
30
31 Take a look at the contents of /dev/disk/ or if you don't like that, read up
32 on writing your own udev rules and you can give devices whatever device node
33 you want.
34
35 --
36 Raymond Lewis Rebbeck
37
38 --
39 gentoo-dev@g.o mailing list

Replies

Subject Author
[gentoo-dev] Re: USB disks - idea/question "Sven Köhler" <skoehler@×××.de>