DragonFly bugs List (threaded) for 2009-01
DragonFly BSD
DragonFly bugs List (threaded) for 2009-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue1253] mount -p reports bogus errors in chroot


From: "Stathis Kamperis \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 29 Jan 2009 22:50:46 +0000

Stathis Kamperis <ekamperi@gmail.com> added the comment:

jail(8) says that you must create an empty /etc/fstab to suppress the warnings:

"Create an empty /etc/fstab to quell startup warnings about missing fstab"

Indeed:
# mount -p
fstab: /etc/fstab:0: No such file or directory
fstab: /etc/fstab:0: No such file or directory
/dev/ad0s3f     /       ufs rw  1 1
# touch /etc/fstab
# mount -p
/dev/ad0s3f     /       ufs rw  1 1
# 

sjg at #drafonflybsd suggested that a "fix" (if agree there is a need for one)
woule be to only check for fstab once; if it doesn't exist, print an error, and
fall back to the non- "p" case.

What do you think ?

----------
status: unread -> chatting

_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1253>
_____________________________________________________



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]