Hi all,
i used to keep a folder in /media to serve as mountpoint if some manual
mountis was needed.
since some days, this folder disappeared, even if created again.
is there any change in filesystems, kernel or whatsoever changing
behavior there, is it intended (if so, why?) or a bug?
every hint appreciated.
georg
01-27-2012, 10:35 PM
"G. Schlisio"
change in mount behaviour?
Am 28.01.2012 00:26, schrieb G. Schlisio:
Hi all,
i used to keep a folder in /media to serve as mountpoint if some
manual mountis was needed.
since some days, this folder disappeared, even if created again.
is there any change in filesystems, kernel or whatsoever changing
behavior there, is it intended (if so, why?) or a bug?
every hint appreciated.
georg
# mount
tmpfs on /media type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
ok, but thats one half only…
01-27-2012, 10:46 PM
Leonid Isaev
change in mount behaviour?
On Sat, 28 Jan 2012 00:26:38 +0100
"G. Schlisio" <g.schlisio@gmx.de> wrote:
> Hi all,
> i used to keep a folder in /media to serve as mountpoint if some manual
> mountis was needed.
> since some days, this folder disappeared, even if created again.
> is there any change in filesystems, kernel or whatsoever changing
> behavior there, is it intended (if so, why?) or a bug?
> every hint appreciated.
> georg
On Sat, 28 Jan 2012 00:26:38 +0100
"G. Schlisio"<g.schlisio@gmx.de> wrote:
Hi all,
i used to keep a folder in /media to serve as mountpoint if some manual
mountis was needed.
since some days, this folder disappeared, even if created again.
is there any change in filesystems, kernel or whatsoever changing
behavior there, is it intended (if so, why?) or a bug?
every hint appreciated.
georg
That is what /mnt is for... Do you have systemd?
jipp, just switched to systemd. so thats why…
sometimes i need more than 1 mountpoint, but still you are right.
thanks and sorry for the noise.
01-27-2012, 10:50 PM
Tom Gundersen
change in mount behaviour?
On Sat, Jan 28, 2012 at 12:35 AM, G. Schlisio <g.schlisio@gmx.de> wrote:
> Am 28.01.2012 00:26, schrieb G. Schlisio:
>
>> Hi all,
>> i used to keep a folder in /media to serve as mountpoint if some manual
>> mountis was needed.
>> since some days, this folder disappeared, even if created again.
>> is there any change in filesystems, kernel or whatsoever changing behavior
>> there, is it intended (if so, why?) or a bug?
>> every hint appreciated.
If you are using initscripts this should not happen.
If you are using systemd it should. The justification being that
/media is meant for ephemeral mount points (i.e. stuff created by
udisks et al.).
-t
01-27-2012, 10:56 PM
Fons Adriaensen
change in mount behaviour?
On Sat, Jan 28, 2012 at 12:50:09AM +0100, Tom Gundersen wrote:
> On Sat, Jan 28, 2012 at 12:35 AM, G. Schlisio <g.schlisio@gmx.de> wrote:
> > Am 28.01.2012 00:26, schrieb G. Schlisio:
> >
> >> Hi all,
> >> i used to keep a folder in /media to serve as mountpoint if some manual
> >> mountis was needed.
> >> since some days, this folder disappeared, even if created again.
> >> is there any change in filesystems, kernel or whatsoever changing behavior
> >> there, is it intended (if so, why?) or a bug?
> >> every hint appreciated.
>
> If you are using initscripts this should not happen.
>
> If you are using systemd it should. The justification being that
> /media is meant for ephemeral mount points (i.e. stuff created by
> udisks et al.).
Wouldn't most users associate /media with cd, dvd etc. ?
Seems like on odd name for what systemd uses it for.
Ciao,
--
FA
Vor uns liegt ein weites Tal, die Sonne scheint - ein Glitzerstrahl.
01-27-2012, 11:02 PM
Leonid Isaev
change in mount behaviour?
On Sat, 28 Jan 2012 00:49:03 +0100
"G. Schlisio" <g.schlisio@gmx.de> wrote:
> Am 28.01.2012 00:46, schrieb Leonid Isaev:
> > On Sat, 28 Jan 2012 00:26:38 +0100
> > "G. Schlisio"<g.schlisio@gmx.de> wrote:
> >
> >> Hi all,
> >> i used to keep a folder in /media to serve as mountpoint if some manual
> >> mountis was needed.
> >> since some days, this folder disappeared, even if created again.
> >> is there any change in filesystems, kernel or whatsoever changing
> >> behavior there, is it intended (if so, why?) or a bug?
> >> every hint appreciated.
> >> georg
> > That is what /mnt is for... Do you have systemd?
> >
> jipp, just switched to systemd. so thats why…
> sometimes i need more than 1 mountpoint, but still you are right.
> thanks and sorry for the noise.
But why can't you create the same dir structure under /mnt?
On Sat, 28 Jan 2012 00:49:03 +0100
"G. Schlisio"<g.schlisio@gmx.de> wrote:
Am 28.01.2012 00:46, schrieb Leonid Isaev:
On Sat, 28 Jan 2012 00:26:38 +0100
"G. Schlisio"<g.schlisio@gmx.de> wrote:
Hi all,
i used to keep a folder in /media to serve as mountpoint if some manual
mountis was needed.
since some days, this folder disappeared, even if created again.
is there any change in filesystems, kernel or whatsoever changing
behavior there, is it intended (if so, why?) or a bug?
every hint appreciated.
georg
That is what /mnt is for... Do you have systemd?
jipp, just switched to systemd. so thats why…
sometimes i need more than 1 mountpoint, but still you are right.
thanks and sorry for the noise.
But why can't you create the same dir structure under /mnt?
i can (an will) of course. until now /media was the place. no problem at
all. i just like to understand whats going on, you know…
01-28-2012, 12:41 AM
C Anthony Risinger
change in mount behaviour?
On Fri, Jan 27, 2012 at 5:56 PM, Fons Adriaensen <fons@linuxaudio.org> wrote:
>
> Wouldn't most users associate /media with cd, dvd etc. ?
> Seems like on odd name for what systemd uses it for.
for as long as i remember anyway, the DE will often mount stuff there
automatically, ergo it's not safe to put manual mount points there.
/mnt is specifically reserved for admin, so /mnt/media is safe.
under systemd, /media is a tmpfs.
--
C Anthony
01-28-2012, 01:39 AM
Heiko Baums
change in mount behaviour?
Am Fri, 27 Jan 2012 19:41:54 -0600
schrieb C Anthony Risinger <anthony@xtfx.me>:
> On Fri, Jan 27, 2012 at 5:56 PM, Fons Adriaensen
> <fons@linuxaudio.org> wrote:
> >
> > Wouldn't most users associate /media with cd, dvd etc. ?
> > Seems like on odd name for what systemd uses it for.
>
> for as long as i remember anyway, the DE will often mount stuff there
> automatically, ergo it's not safe to put manual mount points there.
> /mnt is specifically reserved for admin, so /mnt/media is safe.
This is not true. If this is what some DEs are doing, than you should
file a bug report to the DE's upstream.
> under systemd, /media is a tmpfs.
The same for systemd.
There's a Linux Filesystem Hierarchy Standard which says that /media is
meant for removable media and /mnt is for temporarily mounted
filesystems. Whatever the difference between an optical media and a
temporary filesystem may be.
I know that Lennart Poettering doesn't care much about Linux standards
and likes to declare his non working crap as standard. But fortunately
he is not a standardization authority.
So if a software doesn't follow those FHS you should file a bug report
to upstream.
And yes, /media is supposed to contain subdirectories for cd, dvd, etc.
Nevertheless /media was also invented by SUSE in the past, because
originally those optical media was also meant to be mounted to
subdirectories of /mnt. Nevertheless meanwhile FHS was changed to
include /mnt as well as /media for whatever reasons.