Messages in this thread |  | | Date | Thu, 30 Jan 1997 00:30:33 -0500 (EST) | From | Ion Badulescu <> | Subject | Re: Does linux locks swap file? |
| |
On 30 Jan 1997, H. Peter Anvin wrote:
> That's definitely a bug. IMNSHO a swapon() should be treated the same > way as an open() from this standpoint.
It's not a bug, swapon() does increment the inode usage counter of the swapfile.
> It may also be a good idea > (although I don't know about this one, really) to record a lock on all > bytes in the file.
It might be. Although, if it's just an advisory lock... it's kind of useless.
Ionut
-- It is better to keep your mouth shut and be thought a fool, than to open it and remove all doubt.
|  |