how about something like

mount -o sync -t ext2 /dev/hda1 /

You can even put the sync option in the /etc/fstab file


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.
> Jeff Pierce
> [EMAIL PROTECTED]
> http://pages.preferred.com/~piercej

--
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