summaryrefslogtreecommitdiffstats
path: root/bin/df/df.c
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/df.c
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/df.c')
-rw-r--r--bin/df/df.c4
1 files changed, 3 insertions, 1 deletions
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