linux&win share partition, disable write-cache?

Tony Prawiro tonyprawiro at gmail.com
Wed May 11 06:32:52 UTC 2005


dear linuxers,

i have winxp home and core three installed on my laptop as dual boot;
and i frequently switch from one into another and vice versa using
hibernate.

so i frequently hibernate my windows, then boot into linux, and then
hibernate linux, and then resume into windows, and so on that the
cycle repeated several times a day until i rebooted them...

my problem is, i want both operating systems to access (read/write)
the same partition (let's call it D: or /dev/hda9, the point is they
are the same). but as i have experienced, this will corrupt my data at
the partition when i switched operating system.

to make things more clearly, the case is, i'm using thunderbird e-mail
client both at windows and linux. i stored windows thunderbird mail
folder to D:\mails and i stored linux thunderbird mail folder to
/dev/hda9/mails. when i receive new mails from linux thunderbird, all
seems okay. but when i hibernate my linux and switched into windows,
thunderbird windows complains there is a file corrupt and suggests me
to run chkdsk utility. and you can guess, chkdsk truncated my inbox
and my mails are gone.

i realized that sharing a partition for 2 OS is a bad practice. but is
there really no solution? how about disabling write-cache on both OS?
is it possible to "disable write-cache just for selected partition" ?
how to do that in fedora?

thank you for any solution, opinion, or idea.

-- 
Tony Prawiro, S.Kom




More information about the fedora-list mailing list