Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sbin/mount Pullup revs 1.27-1.29, requested by fair, he...



details:   https://anonhg.NetBSD.org/src/rev/fbea7c37f4e0
branches:  netbsd-1-5
changeset: 489366:fbea7c37f4e0
user:      jhawk <jhawk%NetBSD.org@localhost>
date:      Mon Sep 04 03:45:02 2000 +0000

description:
Pullup revs 1.27-1.29, requested by fair, he, and jhawk:
>----------------------------
>revision 1.29
>date: 2000/07/30 15:17:14;  author: jhawk;  state: Exp;  lines: +2 -1
>Xr for mount_overlay(8)
>----------------------------
>revision 1.28
>date: 2000/07/07 17:58:37;  author: he;  state: Exp;  lines: +2 -3
>Make sure .Dl has the line to be shown as argument (on same line).
>----------------------------
>revision 1.27
>date: 2000/07/07 09:25:36;  author: fair;  state: Exp;  lines: +40 -1
>Add example text to answer PR 10232.
>----------------------------

diffstat:

 sbin/mount/mount.8 |  41 ++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 40 insertions(+), 1 deletions(-)

diffs (69 lines):

diff -r c965e03f05d4 -r fbea7c37f4e0 sbin/mount/mount.8
--- a/sbin/mount/mount.8        Mon Sep 04 03:39:41 2000 +0000
+++ b/sbin/mount/mount.8        Mon Sep 04 03:45:02 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mount.8,v 1.26 2000/06/15 22:36:07 fvdl Exp $
+.\"    $NetBSD: mount.8,v 1.26.2.1 2000/09/04 03:45:02 jhawk Exp $
 .\"
 .\" Copyright (c) 1980, 1989, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -308,6 +308,43 @@
 Fast File System (FFS) are described in the
 .Xr mount_ffs 8
 manual page.
+.Pp
+The particular type of filesystem in each partition of a disk can
+be found by examining the disk label with the
+.Xr disklabel 8
+command.
+.Sh EXAMPLES
+.Pp
+Some useful examples:
+.Pp
+.Bl -hang -offset indent -width "MS-DOS"
+.It Tn CD-ROM
+.br
+mount -t cd9660 -r /dev/cd0a /cdrom
+.It Tn MS-DOS
+.br
+mount -t msdos /dev/fd0a /floppy
+.It Tn NFS
+.br
+mount nfs-server-host:/directory/path /mount-point
+.El
+.Pp
+The "noauto" directive in
+.Pa /etc/fstab
+can be used to make it easy to manually mount and unmount removeable
+media using just the mountpoint filename, with an entry like this:
+.Pp
+.Dl /dev/cd0a  /cdrom  cd9660 ro,noauto 0 0
+.Pp
+That would allow a simple command like
+.Qq mount /cdrom
+or
+.Qq umount /cdrom
+for media using the
+.Tn ISO-9660
+filesystem format in the first
+.Tn CD-ROM
+drive.
 .Sh FILES
 .Bl -tag -width /etc/fstab -compact
 .It Pa /etc/fstab
@@ -316,6 +353,7 @@
 .Sh SEE ALSO
 .Xr mount 2 ,
 .Xr fstab 5 ,
+.Xr disklabel 8 ,
 .Xr mount_ados 8 ,
 .Xr mount_cd9660 8 ,
 .Xr mount_ext2fs 8 ,
@@ -329,6 +367,7 @@
 .Xr mount_nfs 8 ,
 .Xr mount_ntfs 8 ,
 .Xr mount_null 8 ,
+.Xr mount_overlay 8 ,
 .Xr mount_portal 8 ,
 .Xr mount_procfs 8 ,
 .Xr mount_umap 8 ,



Home | Main Index | Thread Index | Old Index