Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2003 16:31:19 +0100
From:      "Frank Murphy" <murphyf+fhs@f-m.fm>
To:        "Jerry McAllister" <jerrymc@clunix.cl.msu.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD, FHS, and /mnt/cdrom
Message-ID:  <20031121153119.B9B677F097@server2.messagingengine.com>
In-Reply-To: <200311211507.hALF7WX19199@clunix.cl.msu.edu>
References:  <200311211507.hALF7WX19199@clunix.cl.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 21 Nov 2003 10:07:31 -0500 (EST), "Jerry McAllister"
<jerrymc@clunix.cl.msu.edu> said:
>
> Good:
> > - All mount points in / (e.g. /cdrom, /camera, /windows/C)  <- current
> > FreeBSD standard
>
>      (Just come up with a nice sounding name for each)

The problem isn't what the names of the directories are, but where they
belong. The idea is to be flexible enough that any new device that shows
up can be put into a sensible directory, not to define nice sounding
names for each new device that comes along. That will be decided by
distributions and application developers over time (outside of the FHS).

> > - Under something like /media/    as in /media/cdrom, etc
>          (except the name media may become obsolete)

> > - Anyplace but /mnt (i.e. what the FHS 2.2 currently specifies)
>  Except not /var/  or /usr  or /home  or /tmp

I understand why not /usr, /home, or /tmp, but why not someplace in /var?
These are specifically temporary mount points, and the FreeBSD hier(7)
manpage defines /var to be:

/var/    multi-purpose log, temporary, transient, and spool files

> Less Good:
> > - All mount points in /mnt (e.g. /mnt/cdrom, /mnt/camera, /mnt/windows/C)
> > <- breaks FreeBSD standard for an empty /mnt
> 
>  NOT:
>  These are too long and cumbersom, may contradict other usage
>  Especially not /var...  as it is something else
>  and /media/windows... is also too MS specific.

The "windows" part was just an example which won't be in the standard.
You say "especially not /var" because it's something else. What is it,
do you think?

> > - Anyplace but / or /mnt (e.g. /vol/cdrom, /var/mnt/camera,
> > /media/windows/C)
> >       (some suggestions have been /media, /mounts, /vol, /var/mnt,
> >       and /var/tmp/removable. Others?)


> > Anyplace at all
>   Now, that is not much of a standard - why bother?

Well, the idea would be that the standard wouldn't bother. :)

It sounds like you think that a new root-level directory should be
created for this, and that /media would be OK, but there might be a (yet
undiscovered) better name. Is this accurate?

Thanks for responding to me,

Frank

-- 
http://www.fastmail.fm - Faster than the air-speed velocity of an
                          unladen european swallow



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031121153119.B9B677F097>