Re: Alias for pen drives

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

 



On 10/1/07, Manuel Arostegui Ramirez <manuel@xxxxxxxxxxxxxx> wrote:
> > > > The alias '/dev/dvd' is for dvd. What is the alias for pen drives?
> > >
> > > They'll be another pseudo-SCSI drive (/dev/sd something).  Whether it's
> > > sda, sdb, etc., will depend on what other drives are on your system, and
> > > how the interfaces are managed.
> > >
> > > This system has two internal hard drive, they're /dev/sda and /dev/sdb.
> > > I'd expect that plugging in a USB flash drive would be /dev/sdc, but
> > > sometimes it's a higher letter.  I haven't worked that one out yet.
> > >
> > > Another of my systems has one internal hard drive, and one of those
> > > multi-card readers (SD, Compact, etc.).  If I add a USB flash drive, it
> > > gets a much higher letter than I expect.  I imaging that's due to the
> > > multi-card reader grabbing some devices, even if there's no memory cards
> > > plugged into it.
> > >
> > > This unpredicability is why labels are so useful.  You can label a drive
> > > with a name, and always find it by that name (later on), no matter where
> > > it's plugged in.
> > >
> > > If you don't want to use labels, your other option is making UDEV/HAL
> > > rules.  You'd pick something identifying about your device (e.g. that
> > > flash drive, or all flash drives), and assign them a device name of your
> > > own choosing.  I used to do that with my Polaroid camera.  If I plugged
> > > it in it be /media/usbdisk, and I couldn't tell it apart from flash
> > > drive plugged in at the same time (there'd be two /media/usbdisks, and
> > > I'd have to remember which was plugged in first).
> >
> > Thanks to all.
> >
> > Then, how can I set up a label for my pen drive?
>
> Setting the mount point in the /etc/fstab

Yes, Manuel, but how? What sort of line should I add to  /etc/fstab?

Paul


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux