SSD tuned...

Other talk about Salix
Post Reply
User avatar
jpg153
Donor
Posts: 417
Joined: 23. Oct 2009, 15:43
Location: Marl/NRW/BRD/EU

SSD tuned...

Post by jpg153 » 22. Aug 2013, 16:57

Hi,

I have "tuned" my SSD as suggested in the wiki document http://docs.salixos.org/wiki/How_to_Tune_an_SSD and specifically
I added to my fstab:

Code: Select all

tmpfs	/tmp  	tmpfs 	defaults,noatime,mode=1777	0 0
tmpfs	/var/tmp	tmpfs	defaults,noatime,mode=1777	0 0
tmpfs	/var/log	tmpfs	defaults,noatime,mode=1777	0 0
Now, when I want to check a log file, which is now redirected to be hold in RAM, how can I get access to it or in other words, how do I find these file(s)?

Thanks in advance.
Regards Gruß
jpg

User avatar
gapan
Salix Wizard
Posts: 5548
Joined: 6. Jun 2009, 17:40

Re: SSD tuned...

Post by gapan » 22. Aug 2013, 18:32

Code: Select all

tmpfs	/var/log	tmpfs	defaults,noatime,mode=1777	0 0
This part is definitely a bad idea. If it's in the wiki, it should probably be removed. /var/log in slackware doesn't only hold temporary log files as in other distributions. It's also the place where the package database is stored. You don't want to wipe that on every reboot.
Image
Image

User avatar
jpg153
Donor
Posts: 417
Joined: 23. Oct 2009, 15:43
Location: Marl/NRW/BRD/EU

Re: SSD tuned...

Post by jpg153 » 22. Aug 2013, 20:09

Gapan,

well noted and already modified my fstab.
Although I dont restart my machine that often - usually less than once a month - but something like that was stated in the wiki as well.
Maybe I was a bit too fast.

Thanks.
Regards Gruß
jpg

Post Reply