Subject: bin/11412: mount_ufs man page disappeared after mount was united
To: None <gnats-bugs@gnats.netbsd.org>
From: Andrew Brown <atatat@atatdot.net>
List: netbsd-bugs
Date: 11/02/2000 07:28:24
>Number:         11412
>Category:       bin
>Synopsis:       mount_ufs man page disappeared after mount was united
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 02 07:28:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     TheMan
>Release:        -current from 2000-10-31
>Organization:
none
>Environment:
System: NetBSD this 1.5H NetBSD 1.5H (THAT) #17: Tue Oct 31 11:05:19 GMT 2000     root@this:/usr/src/sys/arch/i386/compile/THAT i386

>Description:

the man pages called mount_ufs.0 and/or mount_ufs.8 have stopped being
installed because mount is now one grand unified binary.  while having
one mount program is good, not having a man page is bad.

>How-To-Repeat:

make a release.  notice complaints like this:

    pax: Unable to access ./usr/share/man/cat8/mount_ufs.0
    pax: Unable to access ./usr/share/man/man8/mount_ufs.8

when you get close to the end.  look in your DESTDIR and discover that
pax wasn't lying.

>Fix:

Index: sbin/mount/Makefile
===================================================================
RCS file: /cvsroot/basesrc/sbin/mount/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	2000/11/01 08:45:20	1.16
+++ Makefile	2000/11/02 15:20:38
@@ -29,6 +29,7 @@
 
 # make mount_ufs alias for mount_ffs (this needs also support in checkname.c)
 LINKS+= ${BINDIR}/mount_ffs ${BINDIR}/mount_ufs
+MLINKS+= mount_ffs.8 mount_ufs.8
 
 CLEANFILES+=	checkname.c
 

>Release-Note:
>Audit-Trail:
>Unformatted: