summaryrefslogtreecommitdiffstats
path: root/usr.sbin/makefs
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2016-10-24 15:06:49 +0000
committerjmc <jmc@openbsd.org>2016-10-24 15:06:49 +0000
commit3ca31b0cb73ae3177e3f028a7ca12156251df031 (patch)
treea413e777fda46f37cf21229248a5ed03ca0e997f /usr.sbin/makefs
parentAs suggested by martijn@, delete absurd EXAMPLES section and two (diff)
downloadwireguard-openbsd-3ca31b0cb73ae3177e3f028a7ca12156251df031.tar.xz
wireguard-openbsd-3ca31b0cb73ae3177e3f028a7ca12156251df031.zip
document the options for msdos systems; help/ok natano
Diffstat (limited to 'usr.sbin/makefs')
-rw-r--r--usr.sbin/makefs/makefs.862
1 files changed, 57 insertions, 5 deletions
diff --git a/usr.sbin/makefs/makefs.8 b/usr.sbin/makefs/makefs.8
index 8efd70b0ee0..5291e995066 100644
--- a/usr.sbin/makefs/makefs.8
+++ b/usr.sbin/makefs/makefs.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: makefs.8,v 1.10 2016/10/23 10:32:42 natano Exp $
+.\" $OpenBSD: makefs.8,v 1.11 2016/10/24 15:06:49 jmc Exp $
.\" $NetBSD: makefs.8,v 1.55 2015/11/25 16:32:00 wiz Exp $
.\"
.\" Copyright (c) 2001-2003 Wasabi Systems, Inc.
@@ -34,7 +34,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 23 2016 $
+.Dd $Mdocdate: October 24 2016 $
.Dt MAKEFS 8
.Os
.Sh NAME
@@ -243,9 +243,61 @@ Use RockRidge extensions (for longer filenames, etc.).
Volume set identifier of the image.
.El
.Ss msdos options
-See
-.Xr newfs_msdos 8
-for related options.
+.Sy msdos
+images have MS-DOS-specific optional parameters that may be
+provided.
+The arguments consist of a keyword, an equal sign
+.Pq Ql = ,
+and a value.
+The following keywords are supported:
+.Pp
+.Bl -tag -width omit-trailing-period -offset indent -compact
+.It Cm backup_sector
+Location of the backup boot sector.
+.It Cm block_size
+Block size.
+.It Cm bootstrap
+Bootstrap file.
+.It Cm bytes_per_sector
+Bytes per sector.
+.It Cm create_size
+Create file size.
+.It Cm directory_entries
+Directory entries.
+.It Cm drive_heads
+Drive heads.
+.It Cm fat_type
+FAT type (12, 16, or 32).
+.It Cm floppy
+Preset drive parameters for standard format floppy disks
+(160, 180, 320, 360, 640, 720, 1200, 1232, 1440, or 2880).
+.It Cm hidden_sectors
+Hidden sectors.
+.It Cm info_sector
+Location of the info sector.
+.It Cm media_descriptor
+Media descriptor.
+.It Cm num_FAT
+Number of FATs.
+.It Cm OEM_string
+OEM string.
+.It Cm offset
+Offset in device.
+.It Cm reserved_sectors
+Reserved sectors.
+.It Cm sectors_per_cluster
+Sectors per cluster.
+.It Cm sectors_per_fat
+Sectors per FAT.
+.It Cm sectors_per_track
+Sectors per track.
+.It Cm size
+File System size.
+.It Cm volume_id
+Volume ID.
+.It Cm volume_label
+Volume Label.
+.El
.Sh SEE ALSO
.Xr scan_scaled 3 ,
.Xr installboot 8 ,