You are not logged in.

#1 2008-05-05 20:36:32

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

What is noatime + nodiratime ?

I have tried searching google, the forums, etc... but I haven't really found out to much about what noatime and nodiratime do.

If someone could enlighten me that would be great!

Thanks!


Website - Blog - arch-home
Arch User since March 2005

Offline

#2 2008-05-05 20:41:20

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: What is noatime + nodiratime ?

man mount
/atime
n : next
N : prev
(btw you can use the same keybindings in vim)

Do you need to know more than this description?


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#3 2008-05-05 20:43:58

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: What is noatime + nodiratime ?

Thank you. I did not think to look at mount, I did check fstab though tongue

So that basically is saying that it doesn't update the file access time, correct?


Website - Blog - arch-home
Arch User since March 2005

Offline

#4 2008-05-05 21:38:26

Misbah
Member
Registered: 2008-02-27
Posts: 218

Re: What is noatime + nodiratime ?

deleted

Last edited by Misbah (2012-02-14 04:37:13)

Offline

#5 2008-05-05 21:41:03

k.mandla
Member
From: Japan
Registered: 2006-05-16
Posts: 86
Website

Re: What is noatime + nodiratime ?

pyther wrote:

So that basically is saying that it doesn't update the file access time, correct?

I believe that's right. It's a bit overkill as I understand it though, since even cached adjustments get updated on the drive. This quote makes me laugh:

It's also perhaps the most stupid Unix design idea of all times. Unix is really nice and well done, but think about this a bit: 'For every file that is read from the disk, lets do a ... write to the disk! And, for every file that is already cached and which we read from the cache ... do a write to the disk!'

From:

http://kerneltrap.org/node/14148

And yes, last time I checked, setting noatime gave you nodiratime too. But the reverse of that is not true.


Linux user No. 409907

Offline

Board footer

Powered by FluxBB