Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#47145 - /etc/fstab does not allow noauto mount points for removable media

Attached to Project: Arch Linux
Opened by Elmar Stellnberger (estellnb) - Sunday, 22 November 2015, 13:26 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 22 November 2015, 16:11 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The following line in /etc/fstab bedazzles Arch Linux.
/dev/disk/by-id/usb-_USB_DISK_Pro_07441B19019B-0:0-part1 /media/white vfat noauto,users,uid=1000 0 0

Instead of ignoring noauto mount points the init scripts of the Arch Linux distro waits for every device node of a noauto mount point to appear as it does for non-noauto mount points. This is inappropriate as noauto mount points may refer to device nodes of removable media. The bug occurs when a special partition of such a device is referenced which does not exist unless I plug the USB stick (USB disk pro) in.
I`d regard this a bug rather than a feature since noauto mount points of removable media do not cause any trouble in other distributions like Debian, Ubuntu, Mageia or openSUSE.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 22 November 2015, 16:11 GMT
Reason for closing:  Not a bug
Comment by Dave Reisner (falconindy) - Sunday, 22 November 2015, 13:58 GMT
Working as intended. If you want to forego detection of the device, you need to add additional options along the lines of:

nofail,x-systemd.automount

or:

nofail,x-systemd.device-timeout=5

Without these, noauto still insists that the device exist. It just won't be automatically mounted.

Alternatively, fstab is meant for *static* devices. If you want some dynamic mounting of removable devices, udisks and other similar software exist for this purpose.

Loading...