lkml.org 
[lkml]   [1999]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: strange sync behaviour
On Sun, 15 Aug 1999, Giuliano Pochini wrote:

>
> Try this on an unloaded system:
>
> sync
> find / -name something
> sync
>
> ok, now all directories are cached and no buffers have to be written to
> the disk. Type again:
>
> find / -name something
> sync
>
> Why the sync command make my HDs to work for 2-3 seconds ? find
> shouldn't write anything on the disk, so what has it to update ??
>
> Bye.
>

The `atime` of every file accessed is written to the disk!
Look at "struct stat".


Cheers,
Dick Johnson
**** FILE SYSTEM WAS MODIFIED ****
Penguin : Linux version 2.3.13 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.163 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site