DragonFly bugs List (threaded) for 2009-02
DragonFly BSD
DragonFly bugs List (threaded) for 2009-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue1279] vnconfig: unintuitive error message


From: "Stathis Kamperis \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 11 Feb 2009 11:45:33 +0000

Stathis Kamperis <ekamperi@gmail.com> added the comment:

Patch in:
http://stathisk.ath.cx/patches/dragonflybsd/vnconfig

Please review. My tests:

[root@sadness ~] vnconfig -l vn0
vn0: not in use
[root@sadness ~] vnconfig vn0
Specify regular filename or swap size via -S
[root@sadness ~] vnconfig -S10m vn0 
[root@sadness ~] vnconfig -l vn0
vn0: consuming 2560 VM pages
[root@sadness ~] vnconfig -u vn0
[root@sadness ~] vnconfig vn0 lala.img
[root@sadness ~] vnconfig -l vn0
vn0: covering /root/lala.img on #B116:0x40000, inode 16289
[root@sadness ~] vnconfig -u vn0
[root@sadness ~] vnconfig -s labels -c vn0
Specify regular filename or swap size via -S
[root@sadness ~] vnconfig -s labels -S10m -c vn0 
[root@sadness ~] vnconfig -l vn0
vn0: consuming 2560 VM pages
[root@sadness ~] vnconfig -u vn0
[root@sadness ~] vnconfig -T -S10m -c vn0 doesntexist.img
[root@sadness ~] vnconfig -l vn0
vn0: covering /root/doesntexist.img on #B116:0x40000, inode 16353
[root@sadness ~] vnconfig -u vn0
[root@sadness ~] vnconfig -S10m vn0 
[root@sadness ~] vnconfig vn1
Specify regular filename or swap size via -S
[root@sadness ~] vnconfig vn1 lala.img
[root@sadness ~] vnconfig -l        
vn0: consuming 2560 VM pages
vn1: covering /root/lala.img on #B116:0x40000, inode 16289
[root@sadness ~] 

Cheers,
Stathis

----------
nosy: +Beket

_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1279>
_____________________________________________________



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]