Mounting local drives

Nils Kassube kassube at gmx.net
Wed Jul 22 07:52:36 UTC 2009


Oliver Grawert wrote:
> you should note though that /media has been created and is used for
> automounting pluggable media. the right place to do system wide
> mounts are subdirectories in /mnt. if you use /media (which you
> indeed are free to do, its your system after all) dont forget that if
> you plug in a removable device that registers as "Programs",
> "Downloads", "Music", "Personal" or "disk" (i.e. because someone who
> gave that USB key to you has labeled it like that) this device will
> likely mount on top of the existing mountpoint hiding what you had
> there before ...

No, the program for mounting devices to /media/whatever is intelligent 
enough to not mount two devices at the same mount point. Actually it 
isn't too intelligent because it only seems to check if the directory 
/media/<label> already exists, no matter if there is something mounted. 
If /media/<label> exists, the device will be mounted at a new directory 
/media/<label>-1 /media/<label>-2 etc.


Nils





More information about the ubuntu-users mailing list