FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

 
 
LinkBack Thread Tools
 
Old 01-27-2012, 10:26 PM
"G. Schlisio"
 
Default change in mount behaviour?

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
 
Old 01-27-2012, 10:35 PM
"G. Schlisio"
 
Default 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…
 
Old 01-27-2012, 10:46 PM
Leonid Isaev
 
Default 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

That is what /mnt is for... Do you have systemd?

--
Leonid Isaev
GnuPG key ID: 164B5A6D
Key fingerprint: C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
 
Old 01-27-2012, 10:49 PM
"G. Schlisio"
 
Default change in mount behaviour?

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.
 
Old 01-27-2012, 10:50 PM
Tom Gundersen
 
Default 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
 
Old 01-27-2012, 10:56 PM
Fons Adriaensen
 
Default 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.
 
Old 01-27-2012, 11:02 PM
Leonid Isaev
 
Default 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?

--
Leonid Isaev
GnuPG key ID: 164B5A6D
Key fingerprint: C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
 
Old 01-27-2012, 11:08 PM
"G. Schlisio"
 
Default change in mount behaviour?

Am 28.01.2012 01:02, schrieb Leonid Isaev:

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…
 
Old 01-28-2012, 12:41 AM
C Anthony Risinger
 
Default 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
 
Old 01-28-2012, 01:39 AM
Heiko Baums
 
Default 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.

http://www.pathname.com/fhs/pub/fhs-2.3.html#MEDIAMOUNTPOINT

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.

Heiko
 

Thread Tools




All times are GMT. The time now is 10:18 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org