lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 7 Dec 2015 18:19:13 -0500
From:	Theodore Ts'o <tytso@....edu>
To:	The Ghost <the-ghost@...ox.ru>
Cc:	linux-ext4@...r.kernel.org
Subject: Re: Does ext4 write anything during reading with relatime?

On Tue, Dec 08, 2015 at 12:42:21AM +0300, The Ghost wrote:
> 
> I just tried again. With relatime or noatime, the second drive spins up.
> Always. With read-only, it never spins up. And that doesn't make sense...

The superblock *does* get modified at mount time to update the last
mount time and the mount count in the superblock.  But I've tested
using blktrace, and that's the only write I see after copying in a set
of test files, reading them (so that atime > mtime), and then
umounting the file system.  I then started the blktrace, mounted the
file system, and read all of the files using "tar cvzf /tmp/foo.tar.gz /mnt".

Cheers,

						- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ