bin/75585: mount -p on unionfs results in non parsable fstab file

Dirk-Willem van Gulik dirkx at webweaving.org
Tue Dec 28 15:00:53 PST 2004


>Number:         75585
>Category:       bin
>Synopsis:       mount -p on unionfs results in non parsable fstab file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 28 23:00:49 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Dirk-Willem van Gulik
>Release:        5.3
>Organization:
Stiching Wirelessleiden
>Environment:
FreeBSD kobus.cnodelcpl.wleiden.net 5.3-STABLE FreeBSD 5.3-STABLE #1: Sat Dec 18 00:32:30 CET 2004     root at kobus.cnodelcpl.wleiden.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
A mount -p should print out the mounted information in a file format usable in /etc/fstab.

When a unionfs is mounted this is not the case; each union mount is prefixed with an <above>:.

>How-To-Repeat:
      Mount union fs, then do mount -p >> /etc/fstab followed by a mount -a to see the errors

>Fix:
      change something inside mount to print it in a complaint format.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list