Subject: bin/512: /sbin/dump fails on a null mounted file system.
To: None <gnats-admin@sun-lamp.cs.berkeley.edu>
From: None <nor@aecl.ntt.JP>
List: netbsd-bugs
Date: 10/11/1994 20:05:03
>Number:         512
>Category:       bin
>Synopsis:       /sbin/dump fails on a null mounted file system.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 11 20:05:02 1994
>Originator:     Noriyuki Takahashi
>Organization:
NTT LSI Laboratories, Kanagawa 243-01 Japan.
>Release:        
>Environment:
System: NetBSD 1.0B (Oct 2 tar ball on iastate)
Architecture: i386

>Description:
	If /etc/fstab has a entry for null mounted file system, 
	for example,
	
		 ... 
		/dev/sd1g	/home	ufs	rw 1 2
		 ... 
		/home		/h	null	rw,noauto 0 0
		 ... 

	'/sbin/dump /home' complaines "there is no /rhome" then terminates.  
	Whether /h is actually mounted or not makes no difference.  
	I only checked about 'null' file system, but the problem may be
	occur on other file system types which mounts existing file system
	to another mount point.

	'/sbin/dump /dev/sd1g' works just fine.

>How-To-Repeat:
	As in 'Description' above.
>Fix:
	I have no patches to offer right now. Sorry. 
>Audit-Trail:
>Unformatted: