[issue1937] vnconfig and swapfile

Thomas Nikolajsen (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Mon Dec 20 14:22:45 PST 2010


Thomas Nikolajsen <thomas.nikolajsen at 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 at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1937>
_____________________________________________________






More information about the Bugs mailing list