disklabel/bsdlabel and md(4) devices

Tim Robbins tjr at FreeBSD.ORG
Wed May 28 04:55:27 PDT 2003


This used to work but does not work any more:

# mdconfig -a -t swap -s 16m
md0
# disklabel -r -w md0 auto
disklabel: Geom not specified
# disklabel -w md0 auto
disklabel: Geom not specified
# disklabel md0   
disklabel: Geom not specified
# /dev/md0:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c:     4096        0    unused        0     0         # "raw" part, don't edit

How do I write a standard label to a md(4) device with bsdlabel?


Tim


More information about the freebsd-current mailing list