1. "sync;sync" vs. "sync /important_only &"
As I understand it, under Linux, disk write requests are buffered and
are actually written to disk later. This is more familiarly known to me
as "write-behind cacheing". This is a useful and necessary feature, but
here's my caveat --
Among other tasks running (that require heavy disk writing), I'm typing
an important document, so I hit "save" frequently. Lightning knocks out
my power, and guess what? Due to the 512megs of RAM in my system, all
that I typed never even touched the disk. (I don't really have that much
ram -- but just to make the point)
Hardly a surprise; should have "sync"ed my disks more often. Before you
tell me to do that, I'd like to know if theres a way I can DISABLE the
write-behind cacheing for a PARTICULAR directory: for example, I may
want "/important_only" to never be write-buffered. So if I'm working on
my document and save to /important_only, it should save immediately to
the disk.
In this way, I'd rest assured knowing that certain things (like the
document i'm typing for a class thats due the next day) isn't wiped in a
power-outtage, while other less important things that have heavy disk
writes and thus make "sync"ing impractical (such as a cpu event logger
with "verbose" mode enabled) can be trashed in the outtage without much
concern.
It this possible? If not to a different directory on the same drive, how
about to a different drive or filesystem?
Thanks for any help on the topic. Understand that I'm accustomed to a
DOS+windows environ where write-buffers are usually written to disk
within seconds.
2. formatting Netscape print output
3. GETSERVBYNAME()????????????????????"""""""""""""
4. HELP: GUI Mail Reader and Source Code Needed
5. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""
6. Reliably querying window size?
7. Heroes 0.18 - a game similar to "Tron" or "Nibbles"
8. Compaq NetFlex-3/P (PCI network adaptor)
9. ??: "xpm: Not enough colors." In "xpat2" Card Game???
10. How does "Time Synch Protocol" relate to "Network Time Protocol"?
11. ??: "xpm: Not enough colors" In "xpat2" Card Game?
12. Type "(", ")" and "{", "}" in X...
13. "umsdos" vs "vfat" vs "looped ext2"