shithub: riscv

ref: 60c34ebb2da2b9716169ae4e6db4816d02c28910
dir: /sys/man/8/diskparts/

View raw version
.TH DISKPARTS 8
.SH NAME
diskparts \- prepare disks for use
.SH SYNOPSIS
.B diskparts
.SH DESCRIPTION
.I Diskparts
configures EFI, FDISK and Plan 9 partitions on any disks named
.BR /dev/sd* ,
then configures
.IR fs (3)
by copying
.BR /cfg/$sysname/fsconfig ,
if present, to
.BR /dev/fs/ctl ,
if present,
one line at a time.
If
.B #S
or
.B #k
are not bound to
.B /dev
yet, they are first bound after the current contents.
.SH FILES
.TF /dev/sd[C-H]?/ctl
.TP
.B /dev/sd[C-H]?/ctl
storage interface control files for IDE devices
.PD
.SH SOURCE
.B /rc/bin/diskparts
.SH SEE ALSO
.IR sd (3),
.IR partfs (8)