freememapplet_tray 2.3.1

I am running a full hard drive installation of wary 5.1.2, and I noticed that /root/Startup/freememapplet_tray crashes at startup. I had noticed this before, but this time decided to find out why.

01micko added code to test for PUPMODE=2 and bumped the version from 2.2.x to 2.3. However, 01micko's fix is broken.

However, it would have worked when 01micko worked on it. The problem is that Busybox 'df' and the full df return this:

# busybox df

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 10509560 2032264 7943436 20% /
shmfs 594672 0 594672 0% /dev/shm
/dev/sda10 514972152 90904020 397909028 19% /mnt/sda10
#
# df-FULL
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 10509560 2032264 7943436 21% /
/dev/root 10509560 2032264 7943436 21% /
shmfs 594672 0 594672 0% /dev/shm
/dev/sda10 514972152 90904020 397909028 19% /mnt/sda10



However, quite some time ago I created a script /bin/df, that is a wrapper around df and calls 'rdev' to substitute the actual partition name instead of /dev/root:

# df

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda9 10509560 2032264 7943436 21% /
shmfs 594672 0 594672 0% /dev/shm
/dev/sda10 514972152 90904020 397909028 19% /mnt/sda10


All Woof-built puppies have this, quite some way back, but I don't recall exactly when I introduced the script.

Anyway, I have fixed freememapplet_tray and it is now version 2.3.1 (4KB):
http://distro.ibiblio.org/quirky/pet_packages-common/freememapplet_tray-2.3.1.pet


Posted on 5 Aug 2011, 16:56


Comments:

Posted on 6 Aug 2011, 8:18 by abushcrafter
Does Not Update Bug
When one completely fills ones pupsave and then frees up same some space, freememapplet_tray does not update and so is still saying there is no space left and the system tray icon is still flashing. I have to kill it and restart it to "fix" it.


Posted on 21 Oct 2011, 19:19 by Iguleder1
Sources
Barry, can you uploaded the sources of 2.3.1? I'm writing build scripts for all the tray icons and this one is missing.

Thank you.


Posted on 22 Oct 2011, 8:16 by BarryK
re freememapplet_tray
Ok, uploading it now, plus some others in the "f" group.