Bug 693449 - Boot time mounting of /media does not work
Summary: Boot time mounting of /media does not work
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-04 17:42 UTC by Artem
Modified: 2011-04-04 19:07 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-04 19:07:07 UTC
Type: ---


Attachments (Terms of Use)

Description Artem 2011-04-04 17:42:04 UTC
Description of problem:
Boot time mounting of partition into /media mountpoint does not work, after boot 'mount -a' - mounts it. After the boot tmpfs is mounted as /media.

The same partition is mounted with no problems into /mnt point

fstab
...
LABEL=53      /media     ext3 defaults  1 2
LABEL=53      /mnt       ext3 defaults  1 2
...

Version-Release number of selected component (if applicable):
systemd-22-1.fc15.x86_64

How reproducible:
always

Steps to Reproduce:
1. Modify /etc/fstab to mount any partition into /media
  
Actual results:
partition is not mounted

Expected results:
partition is mounted (as it was always before F15)


Additional info:
I'm not sure, that it is systemd bug, but found some similar issues systemd related.

Comment 1 Lennart Poettering 2011-04-04 18:40:05 UTC
systemd's native unit /lib/systemd/system/media.mount overrides the entry in /etc/fstab.

What precisely are you trying to do here? /media is merely a mount point where to mount usb sticks and other removable media to. There's not value in making that a HDD of any kind, which is why we mount it as tmpfs by default.

Comment 2 Artem 2011-04-04 18:52:59 UTC
Historically I used /media for all my multimedia files on a separate partition for this.
Your intention is clear for me and I will not argue too much if you close this as notabug (it is basically just a naming conflict), but I used to this behavior and usage.

Comment 3 Lennart Poettering 2011-04-04 19:07:07 UTC
Well, we follow the FHS on this dir. /media was created with the strict use of mounting removeable media to it in mind. /mnt is something without any structure where the admin can put what he wants, but /media is really well defined, so I see nothing to fix here in systemd.

In fact /media was created as replacement for /mnt for the removeable media purpose and only for that. Since /mnt had no defined semantics it wasn't suitable for that.


Note You need to log in before you can comment on or make changes to this bug.