Partview v2016
Partview v2016
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.
--------------------------
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.
--------------------------
- Attachments
-
- partview-2016.pet
- Updated 2016-06-07
- (2 KiB) Downloaded 487 times
-
- partview-2015.pet
- Updated 2015-09-17
- (1.96 KiB) Downloaded 461 times
-
- screenie.png
- (49.46 KiB) Downloaded 1181 times
Last edited by rcrsn51 on Tue 07 Jun 2016, 11:28, edited 20 times in total.
Partview v2012
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
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
My [u]username[/u] is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.
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.
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.
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".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.
Partview 2012
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
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
- Attachments
-
- diskfree-test.jpg
- (118.62 KiB) Downloaded 1066 times
-
- diskfree-test2.jpg
- (111.27 KiB) Downloaded 1044 times
My [u]username[/u] is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.
Re: Partview 2012
I have seen the same thing with df. The %Used number is sometimes significantly different than calculating Used/Size.Monsie wrote:That said, the accuracy of diskfree would seem to be +/- 500 mb which doesn't seem to be very accurate.
pet partview 2012 does not download
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.
Extra question :
Do you know if the items saved in savefile can be listed , that would be of great interest
Thks in advance.
partview well downloaded now
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 ?
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 ?
Last edited by Pelo on Tue 01 Mar 2016, 07:53, edited 1 time in total.
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
I didn't know partview-2012.pet
This is an interesting utility.
Thank you rcrsn51.
Cordialement
This is an interesting utility.
Thank you rcrsn51.
Cordialement
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Re: Partview v2014
Hello rcrsn51,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.
What are the functional pupmodes?
Cordialement,
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
Re: Partview v2014
In my tests, it works with a regular frugal install (PUPMODE 12) because /tmp is seen as a mount point.ASRI éducation wrote:What are the functional pupmodes?
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.
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Re: Partview v2014
I should be able to test soon.rcrsn51 wrote:I don't have a full install (PUPMODE 2?) to test.
In the meantime, I suggest a few modifications.
Cordialement,
- Attachments
-
- partview-0.0.4_20140501.pet
- Updated 20140501
- (2.09 KiB) Downloaded 633 times
-
- partview-0.0.4_NLS_20140501.pet
- Updated 20140501
- (1.28 KiB) Downloaded 588 times
-
- partview-0.0.3_b.jpg
- (13.48 KiB) Downloaded 1457 times
-
- partview-0.0.3_a.jpg
- (22.17 KiB) Downloaded 1390 times
Last edited by ASRI éducation on Thu 01 May 2014, 23:59, edited 2 times in total.
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
Code: Select all
export TEXTDOMAIN=partview
export OUTPUT_CHARSET=UTF-8
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
- nilsonmorales
- Posts: 972
- Joined: Fri 15 Apr 2011, 14:39
- Location: El Salvador
Locales en Español
Gooood
my friend what about line 107
anyway i add gettext to the line and translate
my friend what about line 107
Code: Select all
[ "$PART" = "loop1" ] && PART="$(gettext 'savefile')"
- Attachments
-
- partview-2014_NLS-ES.pet
- Spanish locales
- (1.05 KiB) Downloaded 314 times
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]
Re: Locales en Español
Done and uploaded!nilsonmorales wrote:Code: Select all
[ "$PART" = "loop1" ] && PART="$(gettext 'savefile')"
Thanks.
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Re: Locales en Español
If you do that, button "Calculate percentage used" will not work (for save file).rcrsn51 wrote:Done and uploaded!nilsonmorales wrote:Code: Select all
[ "$PART" = "loop1" ] && PART="$(gettext 'savefile')"
Need to improve the script to can translate <frame $PART ($FS)>
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]