From owner-freebsd-hackers Sat Jul 27 01:46:31 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA24010 for hackers-outgoing; Sat, 27 Jul 1996 01:46:31 -0700 (PDT) Received: from jau.csc.fi (root@jau.csc.fi [193.166.1.196]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA24000 for ; Sat, 27 Jul 1996 01:46:26 -0700 (PDT) Received: (from jau@localhost) by jau.csc.fi (8.7.5/8.6.12+CSC-2.1) id LAA08746 for hackers@freebsd.org; Sat, 27 Jul 1996 11:45:21 +0300 (EET DST) From: Jukka Ukkonen Message-Id: <199607270845.LAA08746@jau.csc.fi> Subject: A minor fix to df manual pages... To: hackers@freebsd.org Date: Sat, 27 Jul 1996 11:45:20 +0300 (EET DST) Reply-To: jau@iki.fi Latin-Date: Simbata XXVII Iulie a.d. MCMXCVI Organization: Private person Phone: +358-0-6215280 (home) Content-Conversion: prohibited X-Mailer: ELM [version 2.4 PL25+pgp] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi everybody! 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. Cheers, // jau ------ / Jukka A. Ukkonen, FUNET / Centre for Scientific Computing /__ M.Sc. (sw-eng & cs) Tel: (Home&Fax) +358-0-6215280 / Internet: jau@iki.fi (Work) +358-0-4573208 / Internet: jau@funet.fi (Mobile) +358-400-606671 v Internet: ukkonen@csc.fi o \ / - X ------------------------- clip clip ------------------------------ / \ O --- df.1.orig Sat Sep 24 05:55:08 1994 +++ df.1 Sat Jul 27 11:28:35 1996 @@ -78,11 +78,14 @@ .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 --- df.c.orig Tue May 30 03:06:42 1995 +++ df.c Sat Jul 27 11:18:27 1996 @@ -95,6 +95,8 @@ {"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)},