Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2013 13:16:23 GMT
From:      deeptech71 <deeptech71@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/177630: despite mount options (late, failok, noauto), mount(1) returns 1 when the specified path does not exist
Message-ID:  <201304041316.r34DGNfj078741@red.freebsd.org>
Resent-Message-ID: <201304041320.r34DK02n054848@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304041316.r34DGNfj078741>