Auto mount and ignore errors

Aaron Hurt aaron at goflexitllc.com
Wed Apr 1 10:43:31 PDT 2009


Andrew Brampton wrote:
> 2009/4/1 Andrei Kolu <antik at bsd.ee>:
>   
>> Andrew Brampton wrote:
>>     
>>> So my question is, is there a fstab option which will ignore a failed
>>> mount, and if possible continue to boot? I've read the man page, and
>>> did a bit of googling, but didn't find anything. Would there be any
>>> objection to a patch which implemented a "ignerror" flag?
>>>
>>>
>>>       
>> Mount from /etc/rc.local?
>>
>>     
>
> You mean create my own script for the mounting? Sure that would work
> but I don't see that as "clean" as placing it in fstab.
>
> Andrew
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>
> !DSPAM:2,49d37b5b210281774033920!
>
>   
I think "clean" here is a bit misplaced.  It's not ever "clean" to 
ignore a file system mount error.  If you're file system in question is 
prone to mount failures it's probably not a good idea to mount it from 
fstab at all.

Aaron Hurt
Managing Partner
Flex I.T., LLC
611 Commerce Street
Suite 3117
Nashville, TN  37203
Phone: 615.438.7101
E-mail: aaron at goflexitllc.com



More information about the freebsd-fs mailing list