-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 P Kapat wrote: > Might be a little OT, but here is the question: Suppose I plugin an > USB drive (small pendrives, or may be a big backup external disk), KDE > pops up a box to choose the action to mount/cancel the new drive. What > if I don't want to mount it this way (why? i'll explain later **). I > want to go back to CLI and use > $ sudo mount /dev/sdc /media/sdc (*** Why use sudo?) > Now, I know this is going to be /dev/sdc (I already have a backup > drive connected, so sdb is used up). So what UUID do I use form a > terminal? Things get a little complicated when you add those, 10-in-1 > card readers.. They become, sdc{1-4}, or something like that. > > There should be an easy way (terminal based, easy need not always mean > GUI based) way to discover new added hardware and the user be able to > use it without resorting to graphical iterfaces. > > (** Why I prefer not using KDE's pop up to mount/umount? Ans: Since I > use Sid, things not quite perfect. Once mounted, I browse the disk > with konqueror. After this I cannot Unmount from konqueror: Device > Busy !!! I have to kill ALL the konqueror related process and only > then the device is free. Fire up konqueror again and then Unmount it. > Hence, the CLI prefereance.) > > (*** use sudo coz, if a device is not specified in fstab, user cannot > mount it!) >
I can tell you how I do it. If I don't want a USB drive mounted, then I click the do nothing button and kde just puts a device icon on my desktop so if I want to later mount it, all I have to do is just right click on that icon and say mount. When I am done, I can unmount it, and if I unplug it, the icon disappears. Quite simple. Now of course I have modified kde's settings a bit to do this, but that is simple to do through kcontrol. Desktop > Behavior > Device Icons Joe - -- Registerd Linux user #443289 at http://counter.li.org/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGMIIyiXBCVWpc5J4RAiVOAJ42RULulMGinEaiUSThVygowJmvMQCgnEPb PMMTa7EMOpDNCiEfF+WMp7E= =SbBT -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]