This bug is rather bad for Swiss people using Ubuntu and having a bank
account at the «Migrosbank». About a year ago they have released  a kind
of high security USB stick to access the personal bank account over the
internet. This stick has worked quite well - the only thing needed was
manualy set access to the usb subsystem in /lib/udev/rules.d/50-udev-
default.rules to 666.

After a fresh installation of Ubuntu Karmic Koala the usb stick has
stopped working. I am not quite sure if this has something to do with an
earlier update of the software on the stick or with the here mentioned
blkid of the packet util-linux. The only thing that is quite sure is the
fact, that Ubuntu 9.10 mounts the usb stick under /media/M-Identity -
followed by six (sic!) whitespaces.

A closer look on the usb stick reveals that there are two device entries
on the stick itself: ID_FS_LABEL (M-IDentity) and ID_FS_LABEL_ENC (also
M-Identity, but with the additional six whitespaces). Therefore, it
seems that Ubuntu 9.10 is not mounting the first correct entry, but the
second wrong one.

The best workaround for the moment seems to be a small script, that
unmounts the usb stick, kills the six whitespaces with «sed», and
remounts it. Anyway, it would be nice if either the people at Kobil
(developpers of the M-Identiy usb stick) or at Ubuntu could take again a
closer look at their software to remove that bug ...

Keep up the good work!


------------ M-identity-Script ------------------


#!/bin/sh
MOUNTPOINT=/media/M-IDentity
DEVHANDLE=$(mount | grep "/media/M-IDentity" | awk -v FS=" " '{print $1}')
OPTIONS=$(mount | grep /media/M-IDentity | awk -v FS="(" '{print $2}' | sed 
"s/)//")
umount $MOUNTPOINT*
mkdir /media/M-IDentity
mount -t iso9660 $DEVHANDLE $MOUNTPOINT -o $OPTIONS

-- 
labels are 'padded' with spaces
https://bugs.launchpad.net/bugs/432215
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to