1.4 Summary
The procedure to preserve your own hand crafted disklabel lay-out in OpenBSD 4.6 :
- After having shown you the suggested auto-allocated lay-out, choose "c" for a custom lay-out.
Code:
The auto-allocated layout for wd0 is:
# size offset fstype [fsize bsize cpg]
a: 1024.0M 63 4.2BSD 2048 16384 1 # /
b: 767.5M 2097215 swap
c: 152627.8M 0 unused
d: 2621.6M 3669111 4.2BSD 2048 16384 1 # /tmp
e: 4145.1M 9038175 4.2BSD 2048 16384 1 # /var
f: 2048.0M 17527384 4.2BSD 2048 16384 1 # /usr
g: 1024.0M 21721688 4.2BSD 2048 16384 1 # /usr/X11R6
h: 3611.5M 23818840 4.2BSD 2048 16384 1 # /usr/local
i: 38154.4M 78156225 unknown
j: 19085.0M 156296385 unknown
k: 1962.1M 31215209 4.2BSD 2048 16384 1 # /usr/src
l: 1962.1M 35233600 4.2BSD 2048 16384 1 # /usr/obj
m: 18996.2M 39251991 4.2BSD 2048 16384 1 # /home
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] c Enter
- Just for reference, use the p to print the original, preserved lay-out.
Code:
> p
OpenBSD area: 63-78156225; size: 78156162; free: 0
# size offset fstype [fsize bsize cpg]
a: 128000 128063 4.2BSD 2048 16384 1
b: 128000 63 swap
c: 312581808 0 unused
d: 1049297 256063 4.2BSD 2048 16384 1
e: 41943888 1305360 4.2BSD 2048 16384 1
f: 2097648 43249248 4.2BSD 2048 16384 1
g: 1049328 45346896 4.2BSD 2048 16384 1
h: 1049328 46396224 4.2BSD 2048 16384 1
k: 8389584 47445552 4.2BSD 2048 16384 1
l: 8389584 55835136 4.2BSD 2048 16384 1
m: 13931505 64224720 4.2BSD 2048 16384 1
- Use the n command to specify the mount points.
Code:
> n a Enter
mount point: [none] / Enter
> n d Enter
mount point: [none] /tmp Enter
> n e Enter
mount point: [none] /home/xxx Enter
> n f Enter
mount point: [none] /var Enter
> n g Enter
mount point: [none] /var/tmp Enter
> n h Enter
mount point: [none] /var/log Enter
> n k Enter
mount point: [none] /usr Enter
> n l Enter
mount point: [none] /usr/local Enter
> n m Enter
mount point: [none] /home Enter
- Check the mount points with the p command. Use q to save and quit.
Code:
> p
OpenBSD area: 63-78156225; size: 78156162; free: 0
# size offset fstype [fsize bsize cpg]
a: 128000 128063 4.2BSD 2048 16384 1 # /
b: 128000 63 swap
c: 312581808 0 unused
d: 1049297 256063 4.2BSD 2048 16384 1 # /tmp
e: 41943888 1305360 4.2BSD 2048 16384 1 # /home/xxx
f: 2097648 43249248 4.2BSD 2048 16384 1 # /var
g: 1049328 45346896 4.2BSD 2048 16384 1 # /var/tmp
h: 1049328 46396224 4.2BSD 2048 16384 1 # /var/log
k: 8389584 47445552 4.2BSD 2048 16384 1 # /usr
l: 8389584 55835136 4.2BSD 2048 16384 1 # /usr/local
m: 13931505 64224720 4.2BSD 2048 16384 1 # /home
> q Enter
No label changes.
That's all.
$Id: PreservingDisklabelLayout.xml,v 1.4 2010/02/17 03:38:55 j65nko Exp $
$Id: vbul-html.xsl,v 1.15 2010/01/16 00:58:03 j65nko Exp $