[opensuse-factory] usb oddities

before filling a bug report, I ask to see if this is normal behavior. it's related to usb mass storage. I have the same thing with one usb key and one usb hard drive, so this may be general. say we start with no usb folder in /media. 10.1 stock (AFAIR) * you connect an usb mass storage, for example an usb key. _named_ mass storage (dunno if it's the same if not named), for example an usb key that got name from XP (vfat). *Kde give an advertisement window, I key "annuler" (cancel?). * The name is used by Hal to create a mount point. * Hal copy there a null size file named ".created-by-hal". * Hal mount the key there. the copied file don't show (it's on the host file system, not on the key). * you unplug the key. * the created directory keep resting there with a file in it. * if you plug again the key, it's mounted on the very same directory. Thats nice. But... it's not so smart :-) if, by old habbit you create the given directory before hand, or inadvertently delete the ".created-by-hal" file: _the main problem_ * next time you plug in the key, hal _don't use this directory_ (probably thinking it has an other goal) and create a new "name-1" directory. So far, so good... but the "service" in Konqueror don't know of this unusual naming. There you access still the key by "name" (not "name-1"), but read-only - I had a hard time understanding why I couldn't write there :-). The /media/name-1 directory works as expected (rw); But you have -a /media/name directory empty (nothing mounted on it) -a Konqueror service/name keeping saying the key is there, read only -a /media/name-1 directory with the actual key data _minor problem_ * suppose all goes well, you never create any usb directory yourself nor delete any file, you have several usb directories in /media, waiting for a key to be plugged. * you plug a key.. all is well. * you copy important data to this key and want to ensure the data is there before unplugging. So you go to Konqueror, services, key name, right clic and "enlever en toute sécurité" (remove securely?). the light of the key stops blinking, the key is unmounted... and _all_ the Hal directories desapear from /media... this is not really a problem, though, they will be recreated next time. jdd -- http://www.dodin.net http://dodin.org/galerie_photo_web/expo/index.html http://lucien.dodin.net http://fr.susewiki.org/index.php?title=Gérer_ses_photos --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 jdd escribió:
before filling a bug report, I ask to see if this is normal behavior.
it's related to usb mass storage. I have the same thing with one usb key and one usb hard drive, so this may be general.
say we start with no usb folder in /media. 10.1 stock (AFAIR)
* you connect an usb mass storage, for example an usb key. _named_ mass storage (dunno if it's the same if not named), for example an usb key that got name from XP (vfat).
*Kde give an advertisement window, I key "annuler" (cancel?).
* The name is used by Hal to create a mount point.
* Hal copy there a null size file named ".created-by-hal".
* Hal mount the key there. the copied file don't show (it's on the host file system, not on the key).
* you unplug the key.
* the created directory keep resting there with a file in it.
* if you plug again the key, it's mounted on the very same directory. Thats nice.
But... it's not so smart :-)
if, by old habbit you create the given directory before hand, or inadvertently delete the ".created-by-hal" file:
_the main problem_ * next time you plug in the key, hal _don't use this directory_ (probably thinking it has an other goal) and create a new "name-1" directory. So far, so good... but the "service" in Konqueror don't know of this unusual naming. There you access still the key by "name" (not "name-1"), but read-only - I had a hard time understanding why I couldn't write there :-). The /media/name-1 directory works as expected (rw); But you have
-a /media/name directory empty (nothing mounted on it) -a Konqueror service/name keeping saying the key is there, read only -a /media/name-1 directory with the actual key data
_minor problem_ * suppose all goes well, you never create any usb directory yourself nor delete any file, you have several usb directories in /media, waiting for a key to be plugged.
* you plug a key.. all is well. * you copy important data to this key and want to ensure the data is there before unplugging. So you go to Konqueror, services, key name, right clic and "enlever en toute sécurité" (remove securely?). the light of the key stops blinking, the key is unmounted... and _all_ the Hal directories desapear from /media...
this is not really a problem, though, they will be recreated next time.
jdd Hi jdd, For this reasons and others I use ivman... ;-) regards
Chema Ollés Usuario Linux: #198057 Linux 2.6.16.18-3-smp #1 SMP Wed May 31 06:52:41 UTC 2006 i686 i386 GNU/Linux -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFEhzOC65SpD7GhbzoRAkYyAJsGsNAflOKk+DZ793SqBc1p9CU8CQCfTYjU 45L2ZJe2/uGhfDBC5Ohmgx8= =/xoM -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org
participants (2)
-
Chema Ollés
-
jdd