Mounting local drives
Oliver Grawert
ogra at ubuntu.com
Wed Jul 22 07:52:24 UTC 2009
hi,
On Di, 2009-07-21 at 15:06 -0300, Derek Broughton 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.
>
> I hate to contradict you Oli, but that's not what the Debian FHS says:
>
> /mnt/
> Temporarily mounted filesystems
>
> (http://wiki.debian.org/FilesystemHierarchyStandard)
>
> Which is why I told Ray I wasn't comfortable with the use of /mnt for his
> swap file. I don't think mounting a filesystem from fstab is any more
> correct in /mnt than /media.
well, i guess its a matter of upstream vs debian FHS documentation (and
actually about personal preference, indeed you can also create some
other unrelated dir or go with /media if you feel like), the upstream
doc [1] is a bit more detailed on this:
...
/mnt : Mount point for a temporarily mounted filesystem
Purpose
This directory is provided so that the system administrator may
temporarily mount a filesystem as needed. The content of this directory
is a local issue and should not affect the manner in which any program
is run.
This directory must not be used by installation programs: a suitable
temporary directory not in use by the system must be used instead.
...
(i'm specifically referring to "the content of this directory is a local
issue")
anyway, what i initially wanted to point out is the potential breakage
you might see by (ab)using /media for permanent mounts. the mountpoint
names used are pretty generic and it can easily happen that a device
labeled with such a name gets automounted. i *personally* wouldnt put
any permanent mounts in /media ever :) but hey, its linux, anyone can do
whatever he/she wants with it :)
ciao
oli
[1] http://www.pathname.com/fhs/pub/fhs-2.3.html
-------------- 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/109eb01f/attachment.sig>
More information about the ubuntu-users
mailing list