vnconfig and swapfile

Ferruccio Zamuner nonsolosoft at diff.org
Fri Dec 17 09:18:08 PST 2010


Hi,

probably there is something wrong or obsolete in:
 http://www.dragonflybsd.org/docs/handbook/handbook-adding-swap-space/
lap# truncate -s700M /dati/swapfile
lap# chmod 0600 /dati/swapfile
lap# vnconfig -e vn0 /dati/swapfile swap
vnconfig: swapon: Device not configured
lap# vnconfig -l
vn0: covering /dati/swapfile on ad0s2h, inode 409
vn1: not in use
vn2: not in use
vn3: not in use
lap# ls /dev/vn*
/dev/vn         /dev/vn0s0      /dev/vn2
/dev/vn0        /dev/vn1        /dev/vn3
lap# swapon /dev/vn0
swapon: /dev/vn0: Device not configured
lap# swapon /dev/vn0s0
swapon: /dev/vn0s0: Device not configured
Best wishes,             \ferz





More information about the Bugs mailing list