diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2010-09-28 17:42:53 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2010-09-28 17:42:53 +0000 |
commit | 39ce713b4545d9257645cdfeb4cb775d4e207bad (patch) | |
tree | ec08b6d65a23f149a2ad798bd2daf51f4474185b /sbin/mount/mount.8 | |
parent | 81f0da0ee503377512d4b3900fdcbd569acc7537 (diff) |
document disklabel uids and move a little text to improve readability; the
duid text was supplied by krw
...after much discussion with jsing and krw
ok krw
Diffstat (limited to 'sbin/mount/mount.8')
-rw-r--r-- | sbin/mount/mount.8 | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8 index 276d585058b..1fe627b87b0 100644 --- a/sbin/mount/mount.8 +++ b/sbin/mount/mount.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mount.8,v 1.66 2009/06/04 13:30:06 jmc Exp $ +.\" $OpenBSD: mount.8,v 1.67 2010/09/28 17:42:52 jmc Exp $ .\" $NetBSD: mount.8,v 1.11 1995/07/12 06:23:21 cgd Exp $ .\" .\" Copyright (c) 1980, 1989, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)mount.8 8.7 (Berkeley) 3/27/94 .\" -.Dd $Mdocdate: June 4 2009 $ +.Dd $Mdocdate: September 28 2010 $ .Dt MOUNT 8 .Os .Sh NAME @@ -67,13 +67,19 @@ file. .Pp For disk partitions, the .Ar special -device must correspond to a partition registered in the -.Xr disklabel 5 . -.Pp -The system maintains a list of currently mounted file systems. -If no arguments are given to -.Nm mount , -this list is printed. +device is either a +.Xr disklabel 8 +UID (DUID) or an entry in +.Pa /dev . +If it is a DUID, +it will be automatically mapped to the appropriate entry in +.Pa /dev . +In either case the partition must be present +in the disklabel loaded from the device. +The partition name is the last letter in the entry name. +For example, /dev/sd0a and 3eb7f9da875cb9ee.a both refer to the +.Sq a +partition. .Pp A mount point .Ar node @@ -98,6 +104,11 @@ and the mount point .Ar node is owned by the user attempting the mount. .Pp +The system maintains a list of currently mounted file systems. +If no arguments are given to +.Nm mount , +this list is printed. +.Pp The options are as follows: .Bl -tag -width Ds .It Fl A @@ -347,10 +358,10 @@ Mount a CD-ROM on node .Pp .Dl # mount -t cd9660 -r /dev/cd0a /mnt/cdrom .Pp -Mount an MS-DOS floppy on node -.Pa /mnt/floppy : +Mount an MS-DOS USB stick with DUID 3eb7f9da875cb9ee on node +.Pa /mnt/key : .Pp -.Dl # mount -t msdos /dev/fd0a /mnt/floppy +.Dl # mount -t msdos 3eb7f9da875cb9ee.i /mnt/key .Pp Graft a remote NFS file system on host .Ar host , |