On Mar 21, 2010, at 1:20 AM, Olivier Tharan wrote:

> On Sat, Mar 20, 2010 at 6:37 PM, Dan Parsons <[email protected]> wrote:
>> One thing that immediately comes to mind is it will be fsck'd every
>> time it's not unmounted cleanly (as opposed to just having its journal
>> replayed for ext3).
> 
> It's just a single-char change in /etc/fstab to disable fsck.

I've not really found any huge performance hit for running ext3 instead of 
ext2, so I just leave /tmp as ext3, and then make sure I do a:

tune2fs -c 0 -i 0 /dev/<tmpdev>

Then it's really just trusting the journal to do the right thing if it's 
unmounted dirty, and if it's bad enough to force an fsck, it's bad enough to 
mkfs /tmp again.

I've toyed with the idea of modifying the init scripts to simply force a mkfs 
for /tmp at boot, but haven't been bothered enough to go through with it yet.

Gregory

-- 
Gregory K. Ruiz-Ade <[email protected]>
OpenPGP Key ID: EAF4844B  keyserver: pgpkeys.mit.edu




_______________________________________________
Tech mailing list
[email protected]
http://lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to