projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3ced171
)
Remove the workaround for the wrong autosizing calculation in disklabel(8).
author
Sascha Wildner <saw@online.de>
Mon, 29 Dec 2008 18:35:25 +0000 (19:35 +0100)
committer
Sascha Wildner <saw@online.de>
Mon, 29 Dec 2008 18:35:37 +0000 (19:35 +0100)
share/examples/rconfig/hammer.sh
patch
|
blob
|
blame
|
history
diff --git
a/share/examples/rconfig/hammer.sh
b/share/examples/rconfig/hammer.sh
index
826e606
..
3066cbe
100644
(file)
--- a/
share/examples/rconfig/hammer.sh
+++ b/
share/examples/rconfig/hammer.sh
@@
-60,11
+60,9
@@
disklabel ${disk}s1 > /tmp/label
cat >> /tmp/label << EOF
a: 256m 32 4.2BSD
b: 2g * swap
- d: 123456 * HAMMER
+ d: * * HAMMER
EOF
disklabel -R ${disk}s1 /tmp/label
-disklabel ${disk}s1 | sed -e 's/123456/*/g' > /tmp/label
-disklabel -R ${disk}s1 /tmp/label
newfs /dev/${disk}s1a
newfs_hammer -L ROOT /dev/${disk}s1d