
On 03/09/14 15:34, Daniel J Jitnah wrote:
Hi Luvers,
is it possible for a file to be written to and the time stamp not changed?
Specifically, is it possible for a swap file to be changed and the time stamp not changed? OR if the time stamp on a swap file has not changed for several days, does that mean that the system has not used swap for that time, since this is the only swap space available? or could it be that the kernel process that initiates swap does not update the filesystem fully?
I'm just surmising here so don't take it as gospel. If you have a pre-existing file, as swap files usually are, then you can use dd to write into the guts of it without altering any of the time stamps. Certainly this is the case if you do the writing at the device level without the filesystem unmounted, but that is just plain tedious. It should be easy for you to experiment.