Date: Mon, 7 Oct 2002 16:30:42 -0400 From: Mikhail Teterin <mi+mx@aldan.algebra.com> To: arch@FreeBSD.org Subject: swapon some regular file Message-ID: <200210071630.42512.mi%2Bmx@aldan.algebra.com>
next in thread | raw e-mail | index | archive | help
Currently, swapon(2) will only succeed if the argument vn_isdisk(9), or if it is an NFS-accessed file. Users wishing to swap onto a local regular file have to go through the vnconfig/mdconfig gimnastics. Is that intentional? If not, should it be fixed by relaxing the swapon(2)'s to not require the VFCF_NETWORK for regular files, or -- cosmeticly -- by modifying the swapon(8) to do the vnconfig/mdconfig-ing inside? In both cases, pstat will, probably, need improving to display the regular file name in the -s case. Thanks! -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210071630.42512.mi%2Bmx>