Matthew Dillon <dil...@apollo.backplane.com> writes:
>     On the otherhand, if you *truncate* the file or unconfigure the
>     vn node, you will blow the system up when the system tries
>     to swap something in or out on that file.

Is there any possibility of adding a reference count to the vn device
so it can't be unconfigured if it's still referenced?

Is there any possibility of implementing a compulsory (as opposed to
advisory) file locking system, so vn swapfiles can't be truncated or
written to by any other process while it's in use?

DES
-- 
Dag-Erling Smorgrav - d...@flood.ping.uio.no


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to