You are not logged in.

#1 2008-10-12 17:17:22

Renan Birck
Member
From: Brazil
Registered: 2007-11-11
Posts: 401
Website

[SOLVED]Forcing USB mass storage device to always use the same /dev...

Hello,

I would like to know if is there some way to force an USB mass storage into using the same device node.

E.g. my USB stick to always be /dev/sdc and my card reader to always be /dev/sdd.

It is because in my fstab I have:

/dev/sdc1 /media/usbstick vfat users,umask=000,iocharset=utf8 0 0

and an icon on my desktop to mount it upon clicking. However, if I load a card on the reader and then plug the USB stick, the stick assumes /dev/sdd and this isn't on my desktop.

Ideally I would have:

/dev/sdcX -> USB stick
/dev/sddX -> card reader

Any ideas? I don't really know where or how to begin. Neither do I want an automounter (I've had some issues with them on the past).

Thanks.

Last edited by Renan Birck (2008-10-12 20:01:50)

Offline

#2 2008-10-12 17:19:28

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [SOLVED]Forcing USB mass storage device to always use the same /dev...

Read this.

Offline

#3 2008-10-12 20:01:23

Renan Birck
Member
From: Brazil
Registered: 2007-11-11
Posts: 401
Website

Re: [SOLVED]Forcing USB mass storage device to always use the same /dev...

This did it. Thanks, marking this as solved.

Offline

Board footer

Powered by FluxBB