Re: Linux 2.3.99pre9-2 JOB list

From: Jim Treadway (jim@stardot-tech.com)
Date: Thu May 18 2000 - 01:13:40 EST


On Wed, 17 May 2000, Blu3 wrote:

> It's a matter of surprise. I can easily imagine the point and click user
> tapping their icon to mount numerous times expecting to see the cdrom or
> floppy spin and see nothing all the while not realizing they are compounding
> the mounts. Be it their cdrom, it won't eject until they have unmounted the
> right mount with a cwd set. I vaguely recall several gui mount utils that
> store the mounted/not mounted status within themselves and likely break.
>
> This leaves a frustrated (gui) user most likely rebooting and swearing at
> Linux because he can't get his cdrom out.
>
> Why the change in expected behavior, why allow the same mount to happen
> numerous times?

A utility that doesn't check /proc/mounts (or /etc/mtab) sounds broken,
but perhaps the mount program now needs an option to only mount if not
mounted at the requested location?

> BTW, the FS busy is broken. If I mount the floppy on /floppy and /mnt, edit
> /floppy/file in one term, /mnt/file2 in another term, I can change to
> a third term and unmount both /mnt and /floppy even with the files still in
> use.
>
> It is only flagged in use if I have a shell cwd in them. If I cd into /mnt
> I can't unmount it naturally. Editing /mnt/file however..

This is normal, I believe -- presumably your editor is opening, reading,
then closing the file, so the file is not actually "in use" from the
filesystem's point of view.

Jim

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:14 EST