Mounting local drives

Oliver Grawert ogra at ubuntu.com
Wed Jul 22 08:04:58 UTC 2009


hi,
On Mi, 2009-07-22 at 09:52 +0200, Nils Kassube wrote:
> 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.
sure it is (i worked a lot on hal since i started working on ubuntu and
do work a lot on devicekit-disks now that hal is dead and i have seen
weird things happen), 
but its software, software has bugs, sometimes bugs the developers didnt
know about at release time. would you want to accidentially lose data
due to a bad design decision you made in your filesystem setup ? its
just another safety net to not use /media for anything else than its
actual purpose (automounting removable media)

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090722/38c561f6/attachment.sig>


More information about the ubuntu-users mailing list