Re: naming usb devices?

2004-04-17 Thread Alex Malinovich
On Fri, 2004-04-16 at 20:24, Matt Price wrote:
> hey folks,
> 
> feel like I saw this somewhere a while ago, but a quick search didn't
> turn up what I wanted.  Is there a way to assign a permanent name to a
> usb device like a pen drive,' so that (say) if I plug in two different
> pen drives at the same time, each one gets assigned to an appropriate
> name, say "/mnt/schoolfiles/" and "/mnt/fun/"? This would be
> convenient (tho not essential) for me.
> m

If you're running a 2.6 series kernel and you're ready for some cool new
stuff, you can always try udev. The question you just asked is why I
initially tried udev, and now I don't know how I ever lived without it.
:)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: naming usb devices?

2004-04-16 Thread Matt Price
thanks colin, that seems to be it!  will play with it a bit.

thanks for the quick reply.
m

On Sat, Apr 17, 2004 at 02:30:56AM +0100, Colin Watson wrote:
> On Fri, Apr 16, 2004 at 09:24:06PM -0400, Matt Price wrote:
> > feel like I saw this somewhere a while ago, but a quick search didn't
> > turn up what I wanted.  Is there a way to assign a permanent name to a
> > usb device like a pen drive,' so that (say) if I plug in two different
> > pen drives at the same time, each one gets assigned to an appropriate
> > name, say "/mnt/schoolfiles/" and "/mnt/fun/"? This would be
> > convenient (tho not essential) for me.
> 
> Sounds like you want the LABEL= or UUID= syntax in /etc/fstab. See
> fstab(5) for details.
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: naming usb devices?

2004-04-16 Thread Colin Watson
On Fri, Apr 16, 2004 at 09:24:06PM -0400, Matt Price wrote:
> feel like I saw this somewhere a while ago, but a quick search didn't
> turn up what I wanted.  Is there a way to assign a permanent name to a
> usb device like a pen drive,' so that (say) if I plug in two different
> pen drives at the same time, each one gets assigned to an appropriate
> name, say "/mnt/schoolfiles/" and "/mnt/fun/"? This would be
> convenient (tho not essential) for me.

Sounds like you want the LABEL= or UUID= syntax in /etc/fstab. See
fstab(5) for details.

Cheers,

-- 
Colin Watson  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



naming usb devices?

2004-04-16 Thread Matt Price
hey folks,

feel like I saw this somewhere a while ago, but a quick search didn't
turn up what I wanted.  Is there a way to assign a permanent name to a
usb device like a pen drive,' so that (say) if I plug in two different
pen drives at the same time, each one gets assigned to an appropriate
name, say "/mnt/schoolfiles/" and "/mnt/fun/"? This would be
convenient (tho not essential) for me.
m


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]