misc/177630: despite mount options (late, failok, noauto), mount(1) returns 1 when the specified path does not exist
deeptech71 at gmail.com
Thu Apr 4 13:20:00 UTC 2013
>Synopsis: despite mount options (late, failok, noauto), mount(1) returns 1 when the specified path does not exist
>Arrival-Date: Thu Apr 04 13:20:00 UTC 2013
I would prefer to mount a partition by its GPT label upon boot, but ignore errors arising out of the partition not existing (ie., when the relevant storage device is not plugged in during boot); the partition should later be mountable by a simple ``mount /myspecialmountpoint''. In other words, I would like the following or similar entry to work in /etc/fstab:
/dev/gpt/myspecialpartition /myspecialmountpoint rw,failok
However, with such an entry, even if "rw,late,failok,noauto" is used, the startup scripts panic during boot, with some "UNEXPECTED UNCONSISTENCY" message.
/dev/gpt/<insert_non-existent_GPT_label_here> /myspecialmountpoint rw,failok
to your /etc/fstab, and reboot.
More information about the freebsd-bugs