]> git.lizzy.rs Git - plan9front.git/blob - sys/man/8/partfs
ip/ipconfig: make ra6 daemon less chatty, log to /sys/log/ipconfig instead of /sys...
[plan9front.git] / sys / man / 8 / partfs
1 .TH PARTFS 8
2 .SH NAME
3 partfs \- serve file, with partitions
4 .SH SYNOPSIS
5 .B disk/partfs
6 [
7 .B -Dr
8 ]
9 [
10 .B -d
11 .I diskname
12 ]
13 [
14 .B -m
15 .I mtpt
16 ]
17 [
18 .B -s
19 .I srvname
20 ]
21 .I diskimage
22 .SH DESCRIPTION
23 .I Partfs
24 presents the file
25 .I diskimage
26 in the manner of
27 .IR sd (3)
28 on
29 .IB mtpt / diskname
30 (default
31 .BR /dev/sdXX ).
32 Changes made to the disk are written through to
33 .I diskimage
34 unless the
35 .B -r
36 option is given.
37 .PP
38 When setting disk geometry with the
39 .B geometry
40 control message,
41 the arguments are
42 sectors and sector size.
43 .PP
44 The
45 .B -s
46 option causes
47 .I partfs
48 to post its 9P service at
49 .BI /srv/ service \fR.
50 .SH EXAMPLES
51 Partition a USB flash device:
52 .IP
53 .EX
54 usb/disk
55 disk/partfs /n/disk/0/data
56 disk/mbr -m /386/mbr /dev/sdXX/data
57 disk/fdisk -baw /dev/sdXX/data
58 disk/prep /dev/sdXX/plan9
59 .EE
60 .SH SOURCE
61 .B /sys/src/cmd/disk/partfs.c
62 .SH SEE ALSO
63 .IR sd (3),
64 .IR disksim (8),
65 .IR prep (8)