All of lore.kernel.org
 help / color / mirror / Atom feed
* umount
@ 2005-11-27 21:54 Andries.Brouwer
  2005-11-28  0:45 ` umount Grant Coady
  0 siblings, 1 reply; 16+ messages in thread
From: Andries.Brouwer @ 2005-11-27 21:54 UTC (permalink / raw)
  To: linux-kernel

Recently I have seen cases where I/O to a device with bad media
was never noticed (except in the syslog). I think that is bad.
The application writes, but the stuff written lives in buffers.
The close() still does not force file I/O.
But the umount() causes the I/O to happen. Writes fail and the
syslog is full of messages. But the user does not see any messages,
the umount returns without error, and there is no reason to suspect
that anything is wrong.

I am not sure about the correct solution.
Perhaps umount should return -EIO if it did the umount but
I/O errors happened?

Andries


^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: umount
@ 2005-11-29  2:13 Steve French
  0 siblings, 0 replies; 16+ messages in thread
From: Steve French @ 2005-11-29  2:13 UTC (permalink / raw)
  To: linux-kernel

> >>>> 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 get somewhat similar feedback from users who would like to see more informative 
user notification when other types of "removeable media" e.g a network mount
are temporarily or permanently unavailable.   An interesting example which can be
quite damaging is the case of password expiration when a user is mounted from
two systems ... if the session to the server ever drops from the other machine the reconnection
retries on machine one (with the bad password) silently cause the account to be locked on the server
if the user changed his password from the second machine.   There is no particularly good way to
tell the user "your password is expired or changed and I can't reconnect you to the server to 
write out this file until you tell me what the right password is" without some integration 
with the desktop.

Obviously MacOS, OS/2, Windows etc. had a head start on this kind of usability, but it would
be nice to talk with the KDE or Gnome people about what their needs are in this area - 
another example which comes up from time to time is that KDE and Gnome have no way on Linux
to detect or represent an "offline" file (ie a file which is on some HSM, such as a slow tape) 
that looks different from other files when browsing around in the standard file managers 
(this would be easy enough to do by query xattrs as XFS and JFS apparently stored information along
these lines in xattrs at one point).  These kinds of files show up with a different icon in 
other desktops and it is important for some types of users to be able to tell which files or directories
are "slow" to retrieve (offline).


^ permalink raw reply	[flat|nested] 16+ messages in thread
* umount
@ 2002-11-08 16:50 Edgar Alwers
  2002-11-08 17:36 ` umount Ray Olszewski
  0 siblings, 1 reply; 16+ messages in thread
From: Edgar Alwers @ 2002-11-08 16:50 UTC (permalink / raw)
  To: newbies

Hallo,
in my KDE 3.0.3 (linux from the scratch ) I installed an CD-ROM Icon on the 
desk, which mounts /dev/cdrom on the mount point /media/cdrom.
Klicking on the Icon ( as user ) mounts the CD-ROM perfectly. But if I then 
try to umount the device klicking with the right mouse on the icon and 
selecting "umount",  I get an error message: only root can umount /dev/cdrom 
from /media/cdrom.
What should I do to enable the "umount" ? ( why is by the way "mount" 
functioning ? )
Thanks
Edgar

-- 
--------------------------------
Dr.-Ing. Edgar Alwers
Mailto: edgaralwers@gmx.de
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2005-11-29  1:16 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-27 21:54 umount Andries.Brouwer
2005-11-28  0:45 ` umount Grant Coady
2005-11-28  1:42   ` umount Mark Knecht
2005-11-28  2:01     ` umount Patrick McFarland
2005-11-28  7:15       ` umount Jim Crilly
2005-11-28 17:20         ` umount Mark Knecht
2005-11-28 17:51           ` umount linux-os (Dick Johnson)
2005-11-28 21:11             ` umount Bill Davidsen
2005-11-28 21:16               ` umount linux-os (Dick Johnson)
2005-11-29  0:11             ` umount Mark Knecht
  -- strict thread matches above, loose matches on Subject: below --
2005-11-29  2:13 umount Steve French
2002-11-08 16:50 umount Edgar Alwers
2002-11-08 17:36 ` umount Ray Olszewski
2002-11-08 21:27   ` umount Edgar Alwers
2002-11-08 22:03     ` umount Steven Smith
2002-11-11 15:58       ` umount Edgar Alwers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.