Re: Alias for pen drives
- From: Andy Green <andy@xxxxxxxxxxx>
- Date: Sun, 30 Sep 2007 12:51:47 +0100
Somebody in the thread at some point said:
On 9/30/07, Andrea Mastellone <andrea.mastellone@xxxxxxxxxxxxx> wrote:
The alias '/dev/dvd' is for dvd. What is the alias for pen drives?It depends on the label on the filesystem of the pen. Usually, you will
find it mounted in /media directory. In my case, it is /media/disk.
Thanks, Andrea. Precisely, I am looking for a label that does not
depend on the filesystem, likewise '/dev/dvd'. If I insert my pen
drive and run the command 'df- h', I can see that '/dev/sdd1'
corresponds to the pen drive. However, this label ('dev/sdd1') depends
on the filesystem.
Not quite... that is not a label, but the device node for the drive and
partitions. These are assigned to be the "next free one", so if you
inserted a USB stick and it was given /dev/sdd, if you insert a second
stick without removing the first it will be given /dev/sde. So there is
no "sticky" association between a particular USB drive and the device
(/dev/sdd, /dev/sde, etc) it gets given, nor are the contents of the
filesystem(s) on the partition(s) examined at that point.
Separately, there is support for automounting inserted filesystems like
Andrea and Matthew said. At that point is goes and looks if there is a
label associated with the filesystem and if there is, uses it to define
the mountpoint name under /media.
-Andy
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- Alias for pen drives
- From: Paul Smith
- Re: Alias for pen drives
- From: Andrea Mastellone
- Re: Alias for pen drives
- From: Paul Smith
- Alias for pen drives
- Prev by Date: Re: Alias for pen drives
- Next by Date: Re: duplicate postings
- Previous by thread: Re: Alias for pen drives
- Next by thread: Re: Alias for pen drives
- Index(es):
Relevant Pages
- Re: Disk label and /etc/fstab entry?
... LABEL inside the disk. ... fstab and mount /u01 I get mount: wrong fs
type, bad option, bad ... instead of an ext3 filesystem. ... change the fstab
entry to ext2. ... (comp.os.linux.misc) - Re: [kde] automounting IPOD
... changes the disk device name but not the filesystem volume label. ...
Archives: http://lists.kde.org/. ... (KDE) - Re: Daves Tinkering Again!
... This should work exactly the way you want it to, assuming that the LABEL was ...
remote filesystem to be mounted. ... For ordinary mounts it will hold a block special
device ... I've never seen the syntax for "assigning" the label in a separate line
- ... (comp.os.linux.misc) - Re: system down - cant find luns (correction)
... The entries in your fstab are causing the system to mount filesystems by ...
label rather than by the device file. ... the filesystem because you know what it's
label is. ... pain for the same reason (like if you want to change system disks).
... (RedHat) - Re: [PATCH][RFC] Simple tamper-proof device filesystem.
... This filesystem is intended to provide support for legacy applications. ...
I thought you were saying "enforcing filename/attributes pairs ... if this is possible
then the MAC config used is wrong. ... Being able to create a device node is different
from being able to access it ... (Linux-Kernel)