On 18:29 09 Jan 2003, Anand Buddhdev <[EMAIL PROTECTED]> wrote:
| My OS is RedHat linux 7.3. I have read the mount manpage, but I'm unclear
| about one thing:
| 
| If I mount an ext3 filesystem with the 'defaults' option, I get
| rw,suid,dev,exec,auto,nouser,async.
| 
| Now, I want to mount it with the noatime option. Do I remove the
| word 'defaults' and replace it with 'noatime', or do I set it to
| 'defaults,noatime'.

Just say "noatime".

| In my understanding, if I remove 'defaults' and replace it with 'noatime',
| then that's the only option I get.

No. Think about it - you MUST always get every option in a state of either
"yes" or "no". So you will always get the defaults plus whatever options
you override in the options column.

The word "default" is really a placeholder for "no changes to the
options" to ensure the "options" column is still present in the file,
so that the fstab may still be parsed correctly.

| However, if I enter 'defaults,noatime',
| then which option does the FS get mounted with?

I would expect a left-to-right processing of the words.

But just say "noatime". Should work just fine.
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

aah!...it's the Rapture!...quick,throw the 4th Ed out the window!



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to