Thomas Nikolajsen <[email protected]> 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 <[email protected]>
<http://bugs.dragonflybsd.org/issue1937>
_____________________________________________________

  • vnconfig and swapfile Ferruccio Zamuner
    • [issue1937] vnconfig ... Thomas Nikolajsen (via DragonFly issue tracker)

Reply via email to