LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-29-2009, 12:48 PM   #1
theacerguy
Member
 
Registered: Jan 2009
Location: on my pc!
Distribution: openSUSE 11.2 opensolaris 2009.06
Posts: 218
Blog Entries: 7

Rep: Reputation: 32
add noatime to /etc/fstab


hi all,
i have 2 pen drive with full distros on one mandriva 2009.1 the other openSUSE 11.2 m4
i want to add noatime tomy fstab because it is flash memory and need to preserve it here is the fstab of my suse one i will get mandriva later
Code:
/dev/disk/by-id/usb-Lexar_USB_Flash_Drive_QS8AYQ1ENRP9ZB9SGLKC-0:0-part1 swap                 swap       defaults              0 0
/dev/disk/by-id/usb-Lexar_USB_Flash_Drive_QS8AYQ1ENRP9ZB9SGLKC-0:0-part2 /                    ext4       acl,user_xattr        1 1
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
can you post a updated entry for me please
thanks,
theacerguy
 
Old 08-29-2009, 01:00 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by theacerguy View Post
hi all,
i have 2 pen drive with full distros on one mandriva 2009.1 the other openSUSE 11.2 m4
i want to add noatime tomy fstab because it is flash memory and need to preserve it here is the fstab of my suse one i will get mandriva later
Code:
/dev/disk/by-id/usb-Lexar_USB_Flash_Drive_QS8AYQ1ENRP9ZB9SGLKC-0:0-part1 swap                 swap       defaults              0 0
/dev/disk/by-id/usb-Lexar_USB_Flash_Drive_QS8AYQ1ENRP9ZB9SGLKC-0:0-part2 /                    ext4       acl,user_xattr,noatime        1 1
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
can you post a updated entry for me please
thanks,
theacerguy
Amendment added in bold.
 
Old 08-30-2009, 02:14 AM   #3
theacerguy
Member
 
Registered: Jan 2009
Location: on my pc!
Distribution: openSUSE 11.2 opensolaris 2009.06
Posts: 218

Original Poster
Blog Entries: 7

Rep: Reputation: 32
Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
Amendment added in bold.
thanks! here is my mandriva fstab:
Code:
# Entry for /dev/sda1 :
UUID=12ea5e5d-de8c-4b5f-91be-cce9949ab3ce / ext3 defaults 1 1
none /proc proc defaults 0 0
# Entry for /dev/sda5 :
UUID=55e6f13c-d179-426b-8bb5-0805fc78c1d4 swap swap defaults  0 0
 
Old 08-30-2009, 04:47 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,110

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
If you compare your SUSE fstab before and after the modification suggested by {BBI}Nexus{BBI} with the fstab for mandriva, then I think you should be able to work out the answer all by yourself
 
Old 08-30-2009, 07:32 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Your motivation for noatime is correct, but why do you use a journalling filesystem in that case? Wouldn't it be better to use ext2?
 
Old 08-31-2009, 02:20 AM   #6
theacerguy
Member
 
Registered: Jan 2009
Location: on my pc!
Distribution: openSUSE 11.2 opensolaris 2009.06
Posts: 218

Original Poster
Blog Entries: 7

Rep: Reputation: 32
true it probably would have been better to use ext2 rather than 3 and 4 (and no swap!) i think i might reinstall
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is noatime? How can I mount a partition with noatime? abefroman Linux - Software 6 03-17-2012 03:26 PM
What's package daemon that add to /etc/fstab when you add USB sticks frenchn00b Linux - General 3 01-20-2008 08:30 PM
Can I add this line to FSTAB ? kc5hwb Ubuntu 8 04-08-2007 02:51 PM
What do I add to my fstab to get my iPod to mount??? Ausar Linux - Newbie 6 02-15-2005 02:01 PM
add smbmount drives to fstab? woja Linux - Newbie 1 11-07-2003 03:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration