Re: Supermount

From: zhilla
Date: Sun Jul 24 2005 - 15:06:50 EST


well, for a bit of OT discussion sake, here's how it imho SHOULD work, from user (noobs and non guru) desktop point of view:
cd/dvds: mounted automatically on insert / first access. if a program is running from it (or a file is open from it), and user tries to eject it using button, or any eject-like software, kernel sends a signal to a central place. which is, for example, picked up from a window manager, or even X itself. which, in a friendly and non intrusive way, displays something like this: "drive hdc busy, please close the following processes first: 1. mplayer 2. blabla".
also, if a blank media is detected on access, it should not be mounted.
usb drives: similar. if user plugs it out without unmounting, its unmounted, and processes using files on it gracefully killed, or somehow "warned". how to "warn" them? ill let someonbe smarter think of the way :) and about ripping it out without closing, wm/anything should yell "bad user!! you should ALWAYS unmount first!"
floppys: i suggest leaving things 100% same. btw. i saw some distros having problem with accessing ie /mnt/floppy when there is no floppy present. bash goes wild with autocompletion. programs pause for a looong time. this could be a kernel bug.
other stuff: dont want to sound like troll, but i guess 98% of people dont use anything else.
system partitions: make a clear cut between folders which should be seen at all by anyone but root, kernel, special software. in other words: reduce clutter in / by hiding almost anything! and partition specific mount option such as
"userinvisiblefolder=/dev;/sys;/lib;/proc;/sys;/var"
should also be possible. face it, for regular user in varoius distros, / is to crowded.
i'm not saying this is all 100% correct or possible. couse this is, imho, greatest ugliness, user friendlyness and productivity reducer in linux. m$ has it a bit better in some ways, but crappier in other. any of these could be a killer feature for 2.8 kernel series. or 2.6.2x :)
i would like people to discuss this. be polite please :)
-
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/