Desktop icons mounted-status bug
January 04, 2012 —
BarryK
Karl Godt reported about this problem. It can occur when there are more than 9 partitions in a drive. Karl was getting the 'sda1' icon showing as mounted when in fact it wasn't. I also have had this happen to me a couple of times over the past year, infrequent enough so as to be puzzled but not do anything about it.
Karl's comment that it has to be a problem in the /bin/umount script prompted me to try and find out what the problem is. Yes, the bug is in that script, now fixed.
Note, this is an ancient bug, going right back to Puppy 4.x, whenever I first introduced the desktop drive icons into Puppy Unleashed.
Hmmm, I see that /bin/umount is still using 'fusermount' to unmount an ntfs partition. This is also ancient history, I think that ntfs-3g recommends not to use that anymore. Well, I will leave that one for another day, as I don't think anyone is reporting difficulty with unmounting ntfs partitions.
Woof commit:
http://bkhome.org/fossil/woof2.cgi/info/df52b04e76
Tags: woof