misc/177630: despite mount options (late, failok, noauto), mount(1) returns 1 when the specified path does not exist

deeptech71 deeptech71 at gmail.com
Thu Apr 4 13:20:00 UTC 2013


>Number:         177630
>Category:       misc
>Synopsis:       despite mount options (late, failok, noauto), mount(1) returns 1 when the specified path does not exist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 04 13:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     deeptech71
>Release:        -CURRENT
>Organization:
>Environment:
>Description:
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.
>How-To-Repeat:
Add
  /dev/gpt/<insert_non-existent_GPT_label_here> /myspecialmountpoint rw,failok
to your /etc/fstab, and reboot.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list