Hi there,
I'm new here, so please, don't throw rocks at me. And yeah, I'm using
Windows for writing to Newsgroups. -_-

My problem is:

Linux sets the names of USB devices in the order, they are connected to the
PC.
Is there a possibility of setting the names by the serial of the USB-HDDs,
for example?
I just want to have my devices the same names whenever I connect them.

Thank you very much for your attention.

SH

09-26-2008, 01:49 AM

unix

Re: Predefined order of connected USB-HDDs?

Not excatly my area of expertise but have a look at udev rules. This is
for example where you can define network device names (eg eth0 eth1)

Dont quote me but I think you can also create mount points by the volume
name of the device. eg a CDROM might be at /media/myprogs if the volume
or label name was myprogs.

Apologies for nut being specific...

Cheers Bob

SH wrote:[color=blue]
> Is there a possibility of setting the names by the serial of the USB-HDDs,
> for example?[/color]

09-26-2008, 08:59 AM

unix

Re: Predefined order of connected USB-HDDs?

SH wrote:
[color=blue]
> Linux sets the names of USB devices in the order, they are connected to
> the PC.
> Is there a possibility of setting the names by the serial of the USB-HDDs,
> for example?
> I just want to have my devices the same names whenever I connect them.[/color]

if you label the USB HD disk with a name then mount is
always the same even other linux OS
then mount the OS the usb HD disk to "/media/your_label"
You can label it in yast (you have to format the disk)
[url]http://users.telenet.be/photo-memories/img/YaST/Yast-label_HD.png[/url]

Or if you run KDE, you can mount the usb disk where you like
[url]http://users.telenet.be/photo-memories/img/KDE-mount_usb.png[/url]
--
EOS
[url]www.photo-memories.be[/url]
Running KDE 3.5.10 / openSUSE 11.0

09-27-2008, 03:08 PM

unix

Re: Predefined order of connected USB-HDDs?

On Fri, 26 Sep 2008, EOS wrote:-
[color=blue]
>if you label the USB HD disk with a name then mount is
>always the same even other linux OS
>then mount the OS the usb HD disk to "/media/your_label"
>You can label it in yast (you have to format the disk)
>[url]http://users.telenet.be/photo-memories/img/YaST/Yast-label_HD.png[/url]
>
>Or if you run KDE, you can mount the usb disk where you like
>[url]http://users.telenet.be/photo-memories/img/KDE-mount_usb.png[/url][/color]

Since the OP mentioned they were using Windows at the moment, it would
be quickest to plug them into the Windows system and use "My Computer"
to give them a new volume name. This can be done by opening "My
Computer", right-clicking on the relevant drive and then selecting
"Rename".