Add example text to answer PR 10232.
This commit is contained in:
parent
9a6c45e283
commit
f7f2fe622e
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: mount.8,v 1.26 2000/06/15 22:36:07 fvdl Exp $
|
||||
.\" $NetBSD: mount.8,v 1.27 2000/07/07 09:25:36 fair Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1989, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -308,6 +308,44 @@ For instance the options specific to Berkeley
|
|||
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 +354,7 @@ file system table
|
|||
.Sh SEE ALSO
|
||||
.Xr mount 2 ,
|
||||
.Xr fstab 5 ,
|
||||
.Xr disklabel 8 ,
|
||||
.Xr mount_ados 8 ,
|
||||
.Xr mount_cd9660 8 ,
|
||||
.Xr mount_ext2fs 8 ,
|
||||
|
|
Loading…
Reference in New Issue