[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: naming usb devices?



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                                  [cjwatson@flatline.org.uk]



Reply to: