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

[issue1937] vnconfig and swapfile


From: "Thomas Nikolajsen \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Dec 2010 22:22:09 +0000

Thomas Nikolajsen <thomas.nikolajsen@mail.dk> added the comment:

The link is to the old handbook, but problem is the same in new handbook;
will update it.
For the time being vnconfig(8) can't add swap file directly;
you will have to add vn file, label and do swapon(8), e.g.:
# vnconfig -c vn0 /dati/swapfile
# disklabel -rw vn0s0 auto
# disklabel -e vn0s0 # add b: * * swap
# swapon /dev/vn0s0b

----------
assignedto:  -> thomas.nikolajsen
nosy: +thomas.nikolajsen
status: unread -> chatting

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




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