[issue1279] vnconfig: unintuitive error message
Stathis Kamperis (via DragonFly issue tracker)
sinknull at crater.dragonflybsd.org
Wed Feb 11 03:47:18 PST 2009
Stathis Kamperis <ekamperi at gmail.com> added the comment:
Patch in:
http://stathisk.ath.cx/patches/dragonflybsd/vnconfig
Please review. My tests:
[root at sadness ~] vnconfig -l vn0
vn0: not in use
[root at sadness ~] vnconfig vn0
Specify regular filename or swap size via -S
[root at sadness ~] vnconfig -S10m vn0
[root at sadness ~] vnconfig -l vn0
vn0: consuming 2560 VM pages
[root at sadness ~] vnconfig -u vn0
[root at sadness ~] vnconfig vn0 lala.img
[root at sadness ~] vnconfig -l vn0
vn0: covering /root/lala.img on #B116:0x40000, inode 16289
[root at sadness ~] vnconfig -u vn0
[root at sadness ~] vnconfig -s labels -c vn0
Specify regular filename or swap size via -S
[root at sadness ~] vnconfig -s labels -S10m -c vn0
[root at sadness ~] vnconfig -l vn0
vn0: consuming 2560 VM pages
[root at sadness ~] vnconfig -u vn0
[root at sadness ~] vnconfig -T -S10m -c vn0 doesntexist.img
[root at sadness ~] vnconfig -l vn0
vn0: covering /root/doesntexist.img on #B116:0x40000, inode 16353
[root at sadness ~] vnconfig -u vn0
[root at sadness ~] vnconfig -S10m vn0
[root at sadness ~] vnconfig vn1
Specify regular filename or swap size via -S
[root at sadness ~] vnconfig vn1 lala.img
[root at sadness ~] vnconfig -l
vn0: consuming 2560 VM pages
vn1: covering /root/lala.img on #B116:0x40000, inode 16289
[root at sadness ~]
Cheers,
Stathis
----------
nosy: +Beket
_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1279>
_____________________________________________________
More information about the Bugs
mailing list