Re: writeback on /tmp and laptop?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 11, 2003 at 02:27:16PM +0100, Cecchi, Gianluca wrote:
> 
> I read some threads (some of them not very recent, and perhaps not up to date) and I have not found a clear answer to these:
> 
> Is it advisable to have /tmp set up with data=writeback option in
> general?  Is it again true if we are considering a laptop?  Do I
> have also to consider writecache of disks in this case or are they
> totally non related?  How to check/set the state of writecache for
> disks in general and in particular for laptops and what is the
> better configuration when we plan to use ext3 as the filesystem?

Why bother?  Generally /tmp is erased on a reboot, so there's no point
using a journal for it at all.  In fact, I normally mount /tmp using
tmpfs, so that /tmp is stored in memory and automatically disappears
when I reboot my laptop.....  (This is especially true if you're using
a distro which wipes /tmp on reboot by default, but even if you don't,
in my experience if you assume that nothing in /tmp gets preserved
across a reboot, it's much easier to keep /tmp clean.)

						- Ted



_______________________________________________

Ext3-users@redhat.com
https://listman.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux