Lines Matching +full:write +full:- +full:0 +full:- +full:bps
36 .Nd read and write BSD label
76 .Pa freebsd-bsdlabel
146 To write a standard label, use the form
202 .Bl -tag -width ".Pa /etc/disktab" -compact
217 .Bd -literal -offset 4n
220 # size offset fstype [fsize bsize bps/cpg]
223 c: 1173930 0 unused 0 0 # "raw" part, don't edit
229 .Bd -literal -offset 4n
243 trackskew: 0
244 cylinderskew: 0
245 headswitch: 0 # milliseconds
246 track-to-track seek: 0 # milliseconds
247 drivedata: 0
250 # size offset fstype [fsize bsize bps/cpg]
253 c: 1173930 0 unused 0 0 # "raw" part, don't edit
262 .Bl -tag -width indent
274 (kilobytes - 1024),
276 (megabytes - 1024*1024),
278 (gigabytes - 1024*1024*1024),
282 removing any fixed-size partitions other than partition
288 fixed-size and percentage partitions).
302 (assuming 512-byte sectors).
315 will be interpreted as an offset of 0.
358 .It Ar bps/cpg
372 Save the in-core label for
385 .Dl "bsdlabel -w /dev/da0s1"
391 .Dl "bsdlabel -e da0s1"
393 Read the on-disk label for
398 install the new label either in-core or on-disk:
400 .Dl "bsdlabel -e -n da0s1"
402 Write a default label on
409 .Dl "bsdlabel -w da0s1"
411 Restore the on-disk and in-core label for
416 .Dl "bsdlabel -R da0s1 savedlabel"
424 .Cm % Ns -based
429 .Dl "bsdlabel -R -n da0s1 label_layout"
436 .Dl "bsdlabel -B da0s1"
443 .Dl "bsdlabel -w -B -b newboot /dev/da0s1"
457 .Bd -literal -offset indent
459 gpart create -s MBR da0
460 gpart add -t freebsd da0
461 gpart set -a active -i 1 da0
462 gpart bootcode -b /boot/mbr da0
464 bsdlabel -w -B da0s1
465 bsdlabel -e da0s1
474 .Dq Li "bsdlabel -R ada0s1 new_label_file" :
475 .Bd -literal -offset 4n
479 # size offset fstype [fsize bsize bps/cpg]
480 a: 400M 16 4.2BSD 4096 16384 75 # (Cyl. 0 - 812*)
495 labels are restricted to a maximum of 2^32-1 sectors.