(re-)hello everyone,
I'm currently writing a script for hotplug ieee1394 hard drives.
I'm encountering troubles with something:
my hotplug agent launch a script when you unplug the disk.
This script calls umount.
Am I going to loose datas (as the umount and stuff which are written on
the HD by umount won't be written because the disk isn't here anymore)?
Do you have a solution to avoid this ?
mounting with sync option slows the disk.
I can also do a script: if no activity during 5 sec on the disk, do
sync. (Is it the "sync" command I need to do this ?)
As usually: Thanks for any help.
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:34 EST