summaryrefslogtreecommitdiffstats
path: root/bin/df
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-12-11 10:01:56 +0000
committerjkh <jkh@FreeBSD.org>1996-12-11 10:01:56 +0000
commit25f273a0878323c0dbe9e61ceb6acc9a69947647 (patch)
tree51c87f0ea955e3a8eaad83150796ae12ae17344d /bin/df
parent2b9e1346f3423827dbde52af333045e6d3c6f95e (diff)
downloadFreeBSD-src-25f273a0878323c0dbe9e61ceb6acc9a69947647.zip
FreeBSD-src-25f273a0878323c0dbe9e61ceb6acc9a69947647.tar.gz
The manual page of df called cd9660 file systems by the name
isofs while the df command itself used the name iso9660fs or cdfs. Both of these were inconsistent with the name cd9660 which is used by the mount command. I modified df to recognize all of the names cd9660, cdfs, isofs, and iso9660fs, and take them all to refer to the same thing. Naturally I added a note of this behaviour in the manual page too. Submitted-By: Jukka Ukkonen <jau@jau.csc.fi>
Diffstat (limited to 'bin/df')
-rw-r--r--bin/df/df.19
-rw-r--r--bin/df/df.c4
2 files changed, 9 insertions, 4 deletions
diff --git a/bin/df/df.1 b/bin/df/df.1
index 6c82d5e..658a1bf 100644
--- a/bin/df/df.1
+++ b/bin/df/df.1
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)df.1 8.2 (Berkeley) 1/13/94
-.\" $Id: df.1,v 1.3 1994/09/24 02:55:08 davidg Exp $
+.\" $Id: df.1,v 1.4 1996/08/29 18:05:48 wosch Exp $
.\"
.Dd January 13, 1994
.Dt DF 1
@@ -78,11 +78,14 @@ with the possibly stale statistics that were previously obtained.
.It Fl t
Only print out statistics for filesystems of the specified types.
The recognized types are:
-ufs, nfs, mfs, lfs, msdos, fdesc, portal, kernfs, procfs, afs and isofs.
+ufs, nfs, mfs, lfs, msdos, fdesc, portal, kernfs, procfs, afs, isofs,
+iso9660fs, cdfs, and cd9660,
along with the aggregates:
all (the default),
-local (ufs, mfs, lfs, msdos, isofs),
+local (ufs, mfs, lfs, msdos, cd9660),
and misc (fdesc, portal, kernfs, procfs).
+The names isofs, iso9660fs, cdfs, and cd9660 are aliases to each other
+all of them refering to the same type of file system.
The string ``no'' may be prepending to a type to get its complement
(e.g. ``nonfs'' to get non-NFS filesystems). The first
.Fl t
diff --git a/bin/df/df.c b/bin/df/df.c
index 701a9ad..cb0c26e 100644
--- a/bin/df/df.c
+++ b/bin/df/df.c
@@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: df.c,v 1.7 1995/05/30 00:06:42 rgrimes Exp $
+ * $Id: df.c,v 1.8 1996/01/14 18:55:09 bde Exp $
*/
#ifndef lint
@@ -95,6 +95,8 @@ struct typetab {
{"procfs", MT(MOUNT_PROCFS)},
{"afs", MT(MOUNT_AFS)},
{"iso9660fs", MT(MOUNT_CD9660)},
+ {"isofs", MT(MOUNT_CD9660)},
+ {"cd9660", MT(MOUNT_CD9660)},
{"cdfs", MT(MOUNT_CD9660)},
{"misc", MT(MOUNT_LOFS)|MT(MOUNT_FDESC)|MT(MOUNT_PORTAL)|
MT(MOUNT_KERNFS)|MT(MOUNT_PROCFS)},
OpenPOWER on IntegriCloud