* umounts and sync
@ 2001-11-29 13:38 Samuel Maftoul
2001-11-29 13:45 ` bart
0 siblings, 1 reply; 2+ messages in thread
From: Samuel Maftoul @ 2001-11-29 13:38 UTC (permalink / raw)
To: linux-kernel
(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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: umounts and sync
2001-11-29 13:38 umounts and sync Samuel Maftoul
@ 2001-11-29 13:45 ` bart
0 siblings, 0 replies; 2+ messages in thread
From: bart @ 2001-11-29 13:45 UTC (permalink / raw)
To: maftoul; +Cc: linux-kernel
On 29 Nov, Samuel Maftoul wrote:
> (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.
[snip]
This is the same problem as with a PC floppy. Users need to know that
you need to unmount first, and then remove the disk. But maybe you can
make hotplug tell the user to put the disk back.
Bart
--
Bart Hartgers - TUE Eindhoven
Get my GPG key at http://etpmod.phys.tue.nl/bart/pubkey.gpg
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-29 13:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-29 13:38 umounts and sync Samuel Maftoul
2001-11-29 13:45 ` bart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®