Page 1 of 2

Partview v2016

Posted: Sun 22 Jul 2012, 16:29
by rcrsn51
Partview is the applet that runs when you click the free-space icon in the tray. Partview v2012 shows a bit more information about your partitions and its bar graphs are easier to interpret.

Update: Partview v2016 can correctly display drives with 10+ partitions.

Update: Partview v2015 has an option to run GdMap on your save file/folder.

Update: Partview v2014 has two new features.

1. It displays the status of the /tmp folder. This can be useful if you are running an app that generates a lot of temporary data. This feature is designed for PUPMODE=12 frugal installs.

2. It has a Details tool that analyses the disk usage of a selected folder or mount point. It shows the sizes of all files and top-level directories in the target. This feature only works in recent Puppies. See the discussion here.

--------------------------

Partview v2012

Posted: Fri 10 Aug 2012, 18:20
by Monsie
Hi rcrsn51,

I've been looking at Barry's version of partview, trying some changes so it will give an accurate reading after probepart detects an optical drive...

That said, I've since tried your version, and I note some interesting differences, mainly that you have included a reading for one's savefile (when applicable) and have chosen not to include info regarding the optical drive.

I really like the inclusion of the savefile info; I think this is useful. However, I am wondering if a user is using a multisession DVD hence saving info to the disc, would it not be useful to include this information so that one has an idea of how much room is left on the DVD?

Lastly, I noticed that your version of partview gives a reading for the size of the drive and not necessarily the partition. For instance, it shows the size of my hard drive as being 19 gb which is correct, but it has actually been partitioned to include a swapfile so its usable size is about 18.6 gb.
The question I have then is: Should partview provide a reading for the size of the drive or the size of the partition... or maybe both? I have been mulling this over while looking at Barry's version of partview also.

Monsie

Posted: Fri 10 Aug 2012, 19:23
by rcrsn51
Thank you for testing this.

Partview 2102 gets its information from the "df -h" command. I looked at including optical drives, but the information didn't strike me as being useful. The disc was always listed as being 100% full.

However, I didn't test this with a multisession DVD. If someone can confirm that the df command does show the correct information for these discs, I can include them.
Lastly, I noticed that your version of partview gives a reading for the size of the drive and not necessarily the partition. For instance, it shows the size of my hard drive as being 19 gb which is correct, but it has actually been partitioned to include a swapfile so its usable size is about 18.6 gb.
I don't understand this. You should see an entry for sda1, NOT sda. The difference between 19 and 18.6 is probably round-off error. Check the values in "df -h".

Partview 2012

Posted: Tue 14 Aug 2012, 08:08
by Monsie
rcrsn51,

I did some more testing using the df (diskfree) command. I confirmed the reported size of my hard drive as indicated in my first post. Then, I used Gparted in Puppy and shrank the partition by three gigs. I ran df again, and found that the reported size of my hard drive was indeed three gigs smaller. So this answered my question that indeed partview is measuring the partition size and not disk drive capacity. It was just a co-incidence that partview reported my hard drive partition as being the same as its capacity... and this appeared to be due to a rounding error as you suggested.

That said, the accuracy of diskfree would seem to be +/- 500 mb which doesn't seem to be very accurate. Another thing that I notice is that the information it reports does not quite fit.... i.e. available space + used space (does not) = partition size... even when rounding errors are taken into account, so I don't quite know what to make of it here except to say that the algorithm that diskfree uses must be somewhat inaccurate. Notably, however, the reported used space is the same as that reported by partview in Wary Puppy.

Lastly, when I tried df -a command on my debian desktop, I was not able to get a reading for my DVD drive despite having a mounted disk, so maybe my suggestion about including multi-session disks is not workable...

I am including screenshots of my tests using diskfree before and after resizing my hard drive partition for reference.

Monsie

Re: Partview 2012

Posted: Tue 14 Aug 2012, 20:07
by rcrsn51
Monsie wrote:That said, the accuracy of diskfree would seem to be +/- 500 mb which doesn't seem to be very accurate.
I have seen the same thing with df. The %Used number is sometimes significantly different than calculating Used/Size.

Posted: Sun 19 Aug 2012, 11:57
by chrome307
Thanks for this, works great with Lucid :)

pet partview 2012 does not download

Posted: Mon 12 Aug 2013, 19:51
by Pelo
pet partview 2012 does not download. Where can i find it ?
Extra question :
Do you know if the items saved in savefile can be listed , that would be of great interest
Thks in advance.

Posted: Mon 12 Aug 2013, 20:03
by rcrsn51
I have re-uploaded it.

partview well downloaded now

Posted: Mon 12 Aug 2013, 20:19
by Pelo
How fast was the answer ! Merci !
Not so happy : the size is thee usb stick one, not the save file (248M free 134M).

and..... Can we list the contents of the save file ? have you an idea about that ?

Posted: Mon 12 Aug 2013, 20:28
by rcrsn51
I don't understand what you are looking for. You can see the contents of the savefile by opening /initrd/pup_rw

Posted: Tue 13 Aug 2013, 19:33
by ASRI éducation
I didn't know partview-2012.pet
This is an interesting utility.
Thank you rcrsn51.

Cordialement

Posted: Tue 29 Apr 2014, 10:49
by rcrsn51
Partview v2014 is posted above.

Re: Partview v2014

Posted: Tue 29 Apr 2014, 13:29
by ASRI éducation
rcrsn51 wrote:1. It displays the status of the /tmp folder. This can be useful if you are running an app that generates a lot of temporary data. This feature does not work in some PUPMODES.
Hello rcrsn51,
What are the functional pupmodes?
Cordialement,

Re: Partview v2014

Posted: Tue 29 Apr 2014, 14:53
by rcrsn51
ASRI éducation wrote:What are the functional pupmodes?
In my tests, it works with a regular frugal install (PUPMODE 12) because /tmp is seen as a mount point.

It does NOT work on a flash drive (PUPMODE 13) because that special layered filesystem has /tmp as a regular folder.

I don't have a full install (PUPMODE 2?) to test.

Re: Partview v2014

Posted: Tue 29 Apr 2014, 15:15
by ASRI éducation
rcrsn51 wrote:I don't have a full install (PUPMODE 2?) to test.
I should be able to test soon.

In the meantime, I suggest a few modifications.

Cordialement,

Posted: Tue 29 Apr 2014, 15:32
by rcrsn51

Code: Select all

export TEXTDOMAIN=partview
export OUTPUT_CHARSET=UTF-8
Thank you. I forgot those lines.

There are two schools of thought about GUI design. Some people like icons on their buttons with a mouseover to describe the function. I prefer an actual word so there is no confusion about what the icon means.

I will give your version some thought.

Bill

Locales en Español

Posted: Wed 30 Apr 2014, 01:14
by nilsonmorales
Gooood
my friend what about line 107

Code: Select all

  [ "$PART" = "loop1" ] && PART="$(gettext 'savefile')"
anyway i add gettext to the line and translate

Re: Locales en Español

Posted: Wed 30 Apr 2014, 01:29
by rcrsn51
nilsonmorales wrote:

Code: Select all

  [ "$PART" = "loop1" ] && PART="$(gettext 'savefile')"
Done and uploaded!

Thanks.

Re: Locales en Español

Posted: Thu 01 May 2014, 09:23
by ASRI éducation
rcrsn51 wrote:
nilsonmorales wrote:

Code: Select all

  [ "$PART" = "loop1" ] && PART="$(gettext 'savefile')"
Done and uploaded!
If you do that, button "Calculate percentage used" will not work (for save file).
Need to improve the script to can translate <frame $PART ($FS)>

Posted: Thu 01 May 2014, 11:10
by rcrsn51
Is this because "savefile" has been translated into a phrase with more than one word?