Re: umount

From: Bill Davidsen
Date: Mon Nov 28 2005 - 16:08:23 EST


linux-os (Dick Johnson) wrote:
On Mon, 28 Nov 2005, Mark Knecht wrote:


On 11/27/05, Jim Crilly <jim@xxxxxxxxxxxxxxxxxxxxx> wrote:

On 11/27/05 09:01:07PM -0500, Patrick McFarland wrote:

On Sunday 27 November 2005 20:42, Mark Knecht wrote:

On 11/27/05, Grant Coady <grant_lkml@xxxxxxxxxxx> wrote:

It leaves me with a little distrust of linux' handling of non-locked
removable media (as opposed to lockable media like a zipdisk or cdrom).

Grant.

Under Windows, if a 1394 drive is unplugged without unmounting, it you
get a pop up dialog on screen telling you that data may be lost, etc.
while under any of the main environments I've tried under Linux
(Gnome, KDE, fluxbox) there are no such messages to the user. I have
not investigated log files very deeply, other than to say that dmesg
will show the drive going away but doesn't say it was a problem.

I realize it's probably 100x more difficult to do this under Linux, at
least at the gui level, but I agree with your main point that my trust
factor is just a bit lower here.

No, WIndows says that because it is unable to mount a partition as sync,
unlike Linux. Linux Desktop Environments simply don't tell the user because
no data is lost if they unplug the media.

Both of those statements are not true.

Jim,
I'm not clear if 'both statements' included any of mine or not? :-)

You discussed the event I was thinking of. I am writing to a 1394
drive, bus powered or not, and while the write is occuring I unplug
the cable. Clearly the data being written is not going to finish, and
that's expected, but the 'reduced confidence' issue is that I'm not
told directly of the event. Granted I'll eventually discover it in
some indrect manner, like a GUI action failing or something timing
out. However in Windows I do appreciate the clear message that this
has happened.

Thanks,
Mark



Doesn't your GUI show a 'console' window? I don't use the GUI,
but the last time I checked, there was a 'console' window that
showed the error messages. This was standard with Sun.

If you can find the 'console' window in your distribution, activate
it. If it doesn't have one, contact your vendor or make one. There
needs to be some visible evidence that something is going wrong.

xterm -C


--
-bill davidsen (davidsen@xxxxxxx)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/