On Wed, 2 Feb 2000, Jeff Pierce wrote:

> How do you disable the disk caching feature of the Linux ext2fs file
> system?
> I asked somebody recommended chattr, but this is for a single file. I
> want it disabled completely so when a file is written and closed it is
> done IMMEDIATELY.
> 
> This, I believe is necessary in an embedded system that is started and
> shutdown via the power switch.

        You want to look at running with the disk read only, or
running from a ramdisk.

        For what you are talking about now, at sync after defaults in
fstab, ie

/dev/hda3       /       ext2    defaults,sync

This will sync mount the entire partition.


---
As folks might have suspected, not much survives except roaches, 
and they don't carry large enough packets fast enough...
        --About the Internet and nuclear war.



--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to