Hide Forgot
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.
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.
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.
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.