Subject: bin/7629: umount: -A and -a flags should be reversed
To: None <gnats-bugs@gnats.netbsd.org>
From: None <greywolf@starwolf.com>
List: netbsd-bugs
Date: 05/22/1999 19:06:00
>Number: 7629
>Category: bin
>Synopsis: umount: -A and -a flags should be reversed
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat May 22 19:05:01 1999
>Last-Modified:
>Originator: The Grey Wolf
>Organization:
Star Wolf Innovations
--*greywolf;
--
NetBSD: An Operating System For Everyone
>Release: NetBSD 1.4 12 May 1999
>Environment:
machine: SPARCstation IPX (Sun 4c/50)
os: NetBSD 1.4 Release
target: as machine
libraries: NetBSD 1.4 Release
System: NetBSD starwolf.starwolf.com 1.4 NetBSD 1.4 (STARWOLF) #6: Sat May 15 15:03:26 PDT 1999 greywolf@starwolf.starwolf.com:/usr/src/sys/arch/sparc/compile/STARWOLF sparc
>Description:
umount -A and -a flags sense ought to be reversed. In most systems,
umount -a only references the mounted filesystems. Most systems
do not have a '-A' flag. As a capital letter seems to imply
greater intent of action by virtue of more conscious keystrokes,
I would posit that '-a' should attempt to be doing less than '-A', as
unmounting EVERYthing is a greater action than unmounting those
filesystems which are explicitly mounted.
>How-To-Repeat:
N/A
>Fix:
Reverse the sense of -A/-a in /usr/src/sbin/umount.c
>Audit-Trail:
>Unformatted: