![]() | |||||||||||||
Messages in this thread |
(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/
| ||||||||||||
| Last update: 2005-03-22 13:13 [W:0.346 / U:0.120 seconds] ©2003-2008 Jasper Spaans | |||||||||||||