* 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
* Re: umount
2002-11-08 16:50 umount Edgar Alwers
@ 2002-11-08 17:36 ` Ray Olszewski
2002-11-08 21:27 ` umount Edgar Alwers
0 siblings, 1 reply; 16+ messages in thread
From: Ray Olszewski @ 2002-11-08 17:36 UTC (permalink / raw)
To: newbies
At 05:50 PM 11/8/02 +0100, Edgar Alwers wrote:
>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 ? )
Well ... I'd guess there is a permissions difference between mount and
umount. Check both by using "ls -l /bin/mount" and "ls -l /bin/umount" and
see what the difference is. It might be simply the mode, or it might also
involve group each is "owned" by.
The other possibility if an entry in /etc/fstab that makes mounting
possible but not umounting (though I can't offhand think of a setting that
will do this).
BTW, is "klicking" some KDE idiom?
--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA ray@comarre.com
-------------------------------------------------------------------------------
-
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
* Re: umount
2002-11-08 17:36 ` umount Ray Olszewski
@ 2002-11-08 21:27 ` Edgar Alwers
2002-11-08 22:03 ` umount Steven Smith
0 siblings, 1 reply; 16+ messages in thread
From: Edgar Alwers @ 2002-11-08 21:27 UTC (permalink / raw)
To: Ray Olszewski; +Cc: newbies
On Friday 08 November 2002 18:36, Ray Olszewski wrote:
> Well ... I'd guess there is a permissions difference between mount and
> umount. Check both by using "ls -l /bin/mount" and "ls -l /bin/umount"
nope: both are -rwsr-xr-x, but both owned by root and group = root ?
> The other possibility if an entry in /etc/fstab that makes mounting
> possible but not umounting (though I can't offhand think of a setting that
> will do this).
/devf/cdrom ro,noauto,user,exec 0 0
> BTW, is "klicking" some KDE idiom?
hmm.... sorry Ray, german english for "to click" . I promise, I will try
harder ! ;-)
Regards,
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
* Re: umount
2002-11-08 21:27 ` umount Edgar Alwers
@ 2002-11-08 22:03 ` Steven Smith
2002-11-11 15:58 ` umount Edgar Alwers
0 siblings, 1 reply; 16+ messages in thread
From: Steven Smith @ 2002-11-08 22:03 UTC (permalink / raw)
To: Edgar Alwers; +Cc: Ray Olszewski, newbies
[-- Attachment #1: Type: text/plain, Size: 1194 bytes --]
> > The other possibility if an entry in /etc/fstab that makes mounting
> > possible but not umounting (though I can't offhand think of a setting that
> > will do this).
> /devf/cdrom ro,noauto,user,exec 0 0
(I assume you mean ``/dev/cdrom /media/cdrom iso9660 ro,noauto,user,exec 0 0'')
The ``user'' option is fstab indicates that any user should be able to
mount the filesystem, but that only that user should be able to unmount
it. (So if sos22 mounts it, spqr2 can't unmount it). If you want the
more obvious behaviour, use option ``users'' rather than option
``user''.
The obvious thing to check is that the mounting user is being recorded
correctly in the mtab. There should be something along the lines of
``user=sos22'' (or whatever your username is) in the /etc/mtab line
for /dev/cdrom. If not, or if it specifies a different username,
you'll be allowed to mount, but not unmount.
In particular, making /etc/mtab a symlink to /proc/mounts will break
umounts from ordinary user accounts, but appart from that won't
be terribly visible. If you have such a symlink, you should probably
``rm /etc/mtab; cp /proc/mounts /etc/mtab'' and then reboot.
Steven Smith,
sos22@cam.ac.uk.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: umount
2002-11-08 22:03 ` umount Steven Smith
@ 2002-11-11 15:58 ` Edgar Alwers
0 siblings, 0 replies; 16+ messages in thread
From: Edgar Alwers @ 2002-11-11 15:58 UTC (permalink / raw)
To: Steven Smith; +Cc: Ray Olszewski, newbies
Hallo, Ray and Steven,
thank you very much for the help. Details as follows:
On Friday 08 November 2002 23:03, Steven Smith wrote:
>
> The obvious thing to check is that the mounting user is being recorded
> correctly in the mtab. There should be something along the lines of
> ``user=sos22'' (or whatever your username is) in the /etc/mtab line
> for /dev/cdrom. If not, or if it specifies a different username,
> you'll be allowed to mount, but not unmount.
>
This was the clue. After entering a line as given in mtab, I could also umount
cdrom as user.
> If you have such a symlink, you should probably
> ``rm /etc/mtab; cp /proc/mounts /etc/mtab'' and then reboot.
I did this also. There was a symlink there, which I removed.
Thanks again
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
* 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-27 21:54 umount Andries.Brouwer
@ 2005-11-28 0:45 ` Grant Coady
2005-11-28 1:42 ` umount Mark Knecht
0 siblings, 1 reply; 16+ messages in thread
From: Grant Coady @ 2005-11-28 0:45 UTC (permalink / raw)
To: Andries.Brouwer; +Cc: linux-kernel
On Sun, 27 Nov 2005 22:54:11 +0100 (MET), <Andries.Brouwer@cwi.nl> wrote:
>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?
I wrote a bad boot disk recently, then I write; sync; cmp until
floppy image matched source, a user can do that if they care...
Related: observed that a USB CompactFlash adapter under windows,
the device light goes out when unmounted, but under linux the
light stays on after umount, this seems bad from usability perspective.
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: umount
2005-11-28 0:45 ` umount Grant Coady
@ 2005-11-28 1:42 ` Mark Knecht
2005-11-28 2:01 ` umount Patrick McFarland
0 siblings, 1 reply; 16+ messages in thread
From: Mark Knecht @ 2005-11-28 1:42 UTC (permalink / raw)
To: gcoady; +Cc: Andries.Brouwer, linux-kernel
On 11/27/05, Grant Coady <grant_lkml@dodo.com.au> 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.
- Mark
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: umount
2005-11-28 1:42 ` umount Mark Knecht
@ 2005-11-28 2:01 ` Patrick McFarland
2005-11-28 7:15 ` umount Jim Crilly
0 siblings, 1 reply; 16+ messages in thread
From: Patrick McFarland @ 2005-11-28 2:01 UTC (permalink / raw)
To: Mark Knecht; +Cc: gcoady, Andries.Brouwer, linux-kernel
On Sunday 27 November 2005 20:42, Mark Knecht wrote:
> On 11/27/05, Grant Coady <grant_lkml@dodo.com.au> 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.
--
Patrick "Diablo-D3" McFarland || diablod3@gmail.com
"Computer games don't affect kids; I mean if Pac-Man affected us as kids,
we'd all be running around in darkened rooms, munching magic pills and
listening to repetitive electronic music." -- Kristian Wilson, Nintendo,
Inc, 1989
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: umount
2005-11-28 2:01 ` umount Patrick McFarland
@ 2005-11-28 7:15 ` Jim Crilly
2005-11-28 17:20 ` umount Mark Knecht
0 siblings, 1 reply; 16+ messages in thread
From: Jim Crilly @ 2005-11-28 7:15 UTC (permalink / raw)
To: Patrick McFarland; +Cc: Mark Knecht, gcoady, Andries.Brouwer, linux-kernel
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@dodo.com.au> 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. At least in XP removable media is
mounted sync by default, you have to go into the device manager and toggle
a radio button to "optimize for performance" before it'll do async writes.
I think the setting was the opposite in Win2K but I can't say for sure.
And even with sync writes it's possible to unplug the drive before the
write completes and if the drive is powered by USB there's no way to know
just how much data made it to disk. Ideally the kernel would emit some
message so that HAL or something can catch it and popup a message or
something.
>
> --
> Patrick "Diablo-D3" McFarland || diablod3@gmail.com
> "Computer games don't affect kids; I mean if Pac-Man affected us as kids,
> we'd all be running around in darkened rooms, munching magic pills and
> listening to repetitive electronic music." -- Kristian Wilson, Nintendo,
> Inc, 1989
>
Jim.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: umount
2005-11-28 7:15 ` umount Jim Crilly
@ 2005-11-28 17:20 ` Mark Knecht
2005-11-28 17:51 ` umount linux-os (Dick Johnson)
0 siblings, 1 reply; 16+ messages in thread
From: Mark Knecht @ 2005-11-28 17:20 UTC (permalink / raw)
To: Patrick McFarland, Mark Knecht, gcoady, Andries.Brouwer,
linux-kernel
On 11/27/05, Jim Crilly <jim@why.dont.jablowme.net> 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@dodo.com.au> 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
> At least in XP removable media is
> mounted sync by default, you have to go into the device manager and toggle
> a radio button to "optimize for performance" before it'll do async writes.
> I think the setting was the opposite in Win2K but I can't say for sure.
>
> And even with sync writes it's possible to unplug the drive before the
> write completes and if the drive is powered by USB there's no way to know
> just how much data made it to disk. Ideally the kernel would emit some
> message so that HAL or something can catch it and popup a message or
> something.
>
>
> Jim.
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: umount
2005-11-28 17:20 ` umount Mark Knecht
@ 2005-11-28 17:51 ` linux-os (Dick Johnson)
2005-11-28 21:11 ` umount Bill Davidsen
2005-11-29 0:11 ` umount Mark Knecht
0 siblings, 2 replies; 16+ messages in thread
From: linux-os (Dick Johnson) @ 2005-11-28 17:51 UTC (permalink / raw)
To: Mark Knecht; +Cc: Patrick McFarland, gcoady, Andries.Brouwer, linux-kernel
On Mon, 28 Nov 2005, Mark Knecht wrote:
> On 11/27/05, Jim Crilly <jim@why.dont.jablowme.net> 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@dodo.com.au> 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.
Although the messages may 'come from' the kernel, they are not
produced by the kernel. It is not the responsibility of the kernel
to display messages. The kernel writes those messages to a virtual
file, /proc/kmsg. It is, again, user-mode code that is supposed
to put those messages someplace useful. If the user-mode code
isn't doing that, contact your vendor. On this distribution,
syslogd reads /proc/kmsg and writes formatted data to /dev/console
and to various log-files so there already is a daemon that is
supposed to handle this.
A 'console' program, trivially reads /dev/console and writes
to STDOUT_FILENO. That will get all the messages onto your GUI
screen.
>> At least in XP removable media is
>> mounted sync by default, you have to go into the device manager and toggle
>> a radio button to "optimize for performance" before it'll do async writes.
>> I think the setting was the opposite in Win2K but I can't say for sure.
>>
>> And even with sync writes it's possible to unplug the drive before the
>> write completes and if the drive is powered by USB there's no way to know
>> just how much data made it to disk. Ideally the kernel would emit some
>> message so that HAL or something can catch it and popup a message or
>> something.
>>
>>
>> Jim.
>>
> -
> 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/
>
Cheers,
Dick Johnson
Penguin : Linux version 2.6.13.4 on an i686 machine (5589.55 BogoMips).
Warning : 98.36% of all statistics are fiction.
.
****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.
Thank you.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: umount
2005-11-28 17:51 ` umount linux-os (Dick Johnson)
@ 2005-11-28 21:11 ` Bill Davidsen
2005-11-28 21:16 ` umount linux-os (Dick Johnson)
2005-11-29 0:11 ` umount Mark Knecht
1 sibling, 1 reply; 16+ messages in thread
From: Bill Davidsen @ 2005-11-28 21:11 UTC (permalink / raw)
To: linux-os (Dick Johnson)
Cc: Patrick McFarland, gcoady, Andries.Brouwer, linux-kernel
linux-os (Dick Johnson) wrote:
> On Mon, 28 Nov 2005, Mark Knecht wrote:
>
>
>>On 11/27/05, Jim Crilly <jim@why.dont.jablowme.net> 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@dodo.com.au> 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@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: umount
2005-11-28 21:11 ` umount Bill Davidsen
@ 2005-11-28 21:16 ` linux-os (Dick Johnson)
0 siblings, 0 replies; 16+ messages in thread
From: linux-os (Dick Johnson) @ 2005-11-28 21:16 UTC (permalink / raw)
To: Bill Davidsen; +Cc: Patrick McFarland, gcoady, Andries.Brouwer, linux-kernel
On Mon, 28 Nov 2005, Bill Davidsen wrote:
> linux-os (Dick Johnson) wrote:
>> On Mon, 28 Nov 2005, Mark Knecht wrote:
>>
>>
>>> On 11/27/05, Jim Crilly <jim@why.dont.jablowme.net> 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@dodo.com.au> 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
>
Right! Thanks.
>
> --
> -bill davidsen (davidsen@tmr.com)
> "The secret to procrastination is to put things off until the
> last possible moment - but no longer" -me
>
Cheers,
Dick Johnson
Penguin : Linux version 2.6.13.4 on an i686 machine (5589.55 BogoMips).
Warning : 98.36% of all statistics are fiction.
.
****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.
Thank you.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: umount
2005-11-28 17:51 ` umount linux-os (Dick Johnson)
2005-11-28 21:11 ` umount Bill Davidsen
@ 2005-11-29 0:11 ` Mark Knecht
1 sibling, 0 replies; 16+ messages in thread
From: Mark Knecht @ 2005-11-29 0:11 UTC (permalink / raw)
To: linux-os (Dick Johnson)
Cc: Patrick McFarland, gcoady, Andries.Brouwer, linux-kernel
On 11/28/05, linux-os (Dick Johnson) <linux-os@analogic.com> wrote:
>
> On Mon, 28 Nov 2005, Mark Knecht wrote:
>
> > On 11/27/05, Jim Crilly <jim@why.dont.jablowme.net> 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@dodo.com.au> 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?
No, Gnome does not, by default, show a console window. Many GUI based
users like me, coming from Windows a couple of years ago, prefer to
remain GUI based. I don't open termainals except to build kernels and
do system admin stuff. Most all of my day to day like is spent in the
GUI or in graphical applications. I move files, change permissions,
etc., in GUI apps, at least most of the time. I know that's going to
be pretty foreign to many old timers here, and that's cool, but I'm
just saying that this is the way it is for me.
Please note that I didn't say the info wasn't available. The info is
available in dmesg and I know to go look there. The point I was making
is that as a user I get no specific GUI level messages about this sort
of problem like I do in Windows and I think as more Windows folks come
to Linux there will be times they do not know what's going on.
<SNIP>
>
> Although the messages may 'come from' the kernel, they are not
> produced by the kernel. It is not the responsibility of the kernel
> to display messages.
Yes, I understand that. As I said in my first post, I think it would
be quite difficult to guarantee that every GUI environment running
under a Linux kernel handle stuff like this. I think it's enough that
the kernel makes the message available to the GUI developers. I would
hope that one day the GUI developers see the value of messages like
this from a user POV. To often the developers don't see things the way
new users see (or don't see!) things so the learning curve is pretty
steep.
Maybe one thing kernel messages could do is identify which ones really
should be driven up to the user level, if possible. I wouldn't have a
clue what to do for someone not using a GUI, but getting a dialog
based message about a system hardware problem seems pretty freindly to
a user like me.
Thanks,
Mark
^ 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
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.