Somewhere along the way, just hours before I reinstalled Kubuntu 10.04 (was 64 bit, decided I wanted 32 bit this time), I was using a 16 Gig Sandisk Cruzer for file backup. I issued a shutdown command while the flash was still mounted. I did this: the shutdown sound had played, then the screen flickers (KDE quitting and handing off the display?), the blue Kubuntu screen flashed for half second, then I had dark screen. I pulled the flash drive out, but the system had not completed shutting down. I saw no error messages, system turned off.
Next day, I booted the system and later I go to use the flash drive, and instead of the normal "15.9 GiB Removable Media" message in the USB system tray Device Notifier, I get "Yr`F_%0F%15Bb%0Aj".
In Dolphin, I have the bash prompt open at the bottom; when I mount that flash drive, this translates into:
As the name causes the bash prompt to respond the way it does, I'm not real happy about what harm that name could cause.
The bad name shows up on 2 systems, and is part of the device since the system had the same name after Kubuntu 10.04 reinstallation.
To try to solve the name issue, I did the following:
That tells me the Flash drive will be available at /dev/sdg after it gets dismounted by Device Notifier.
As root (yes, as root; don't ask), I'm looking for where the Flash drive gets that string:
CFDISK reports no label as well.
Then I tried this trick (after I dismounted the Flash drive):
I then pulled the Flash drive out of he USB connection on my system, I waited 10 seconds, then reinserted the Flash drive and the new name is "16 G".
Ok, that seems to solve the problem, but that isn't a real solution since there is a space in the device name. Yes, I could simply enter a single word, yes, I get that, but my point isn't shown there.
I then tried a reformat but without a name variable:
Guess which name reappeared? Yup. the same gibberish from before the reformat.
So, I have to conclude that the name presented in KDE is associated to some identifier on the Flash drive.
Where do I edit this data to remove the bad name? I searched for a couple terms that I thought might get me answers, but nothing was a match.
Next day, I booted the system and later I go to use the flash drive, and instead of the normal "15.9 GiB Removable Media" message in the USB system tray Device Notifier, I get "Yr`F_%0F%15Bb%0Aj".
In Dolphin, I have the bash prompt open at the bottom; when I mount that flash drive, this translates into:
Code:
Bb j-2' clear mmmmna@mmmmna-desktop:/media/Yr`F_Bbj-2$ Bb Bb: command not found mmmmna@mmmmna-desktop:/media/Yr`F_Bbj-2$ j-2' > clear > ^C mmmmna@mmmmna-desktop:/media/Yr`F_Bbj-2$ cd / mmmmna@mmmmna-desktop:/$ Bb
The bad name shows up on 2 systems, and is part of the device since the system had the same name after Kubuntu 10.04 reinstallation.
To try to solve the name issue, I did the following:
Code:
mmmmna@mmmmna-desktop:~$ mount /dev/sde3 on / type ext3 (rw,errors=remount-ro) ... none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) /dev/sdg on /media/Yr`F_Bb j-2 type vfat (rw,nosuid,nodev,uhelper=hal,uid=1000,utf8,shortname=mixed,flush) mmmmna@mmmmna-desktop:~$
As root (yes, as root; don't ask), I'm looking for where the Flash drive gets that string:
Code:
root@mmmmna-desktop:/home/mmmmna# fdisk /dev/sdg WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u'). Command (m for help): p Disk /dev/sdg: 16.0 GB, 16026435072 bytes 64 heads, 32 sectors/track, 15283 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System Command (m for help):
Then I tried this trick (after I dismounted the Flash drive):
Code:
root@mmmmna-desktop:/home/mmmmna# mkdosfs -I -n 16\ G /dev/sdg mkdosfs 3.0.7 (24 Dec 2009) root@mmmmna-desktop:/home/mmmmna#
Ok, that seems to solve the problem, but that isn't a real solution since there is a space in the device name. Yes, I could simply enter a single word, yes, I get that, but my point isn't shown there.
I then tried a reformat but without a name variable:
Code:
root@mmmmna-desktop:/home/mmmmna# mkdosfs -I /dev/sdg mkdosfs 3.0.7 (24 Dec 2009) root@mmmmna-desktop:/home/mmmmna#
So, I have to conclude that the name presented in KDE is associated to some identifier on the Flash drive.
Where do I edit this data to remove the bad name? I searched for a couple terms that I thought might get me answers, but nothing was a match.
Comment