Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Sep 2014, 04:04
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Partview v2014
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Author Message
rcrsn51


Joined: 05 Sep 2006
Posts: 9113
Location: Stratford, Ontario

PostPosted: Sun 22 Jul 2012, 12:29    Post subject:  Partview v2014  

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.

When installed, the original /usr/sbin/partview is renamed to partview-old.

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-2014.pet
Description  Updated 2014-05-01
Fixed gettexting
pet

 Download 
Filename  partview-2014.pet 
Filesize  1.86 KB 
Downloaded  159 Time(s) 
screenie.png
 Description   
 Filesize   49.46 KB
 Viewed   392 Time(s)

screenie.png


Last edited by rcrsn51 on Fri 23 May 2014, 11:12; edited 14 times in total
Back to top
View user's profile Send private message 
Monsie


Joined: 01 Dec 2011
Posts: 633
Location: Kamloops BC Canada

PostPosted: Fri 10 Aug 2012, 14:20    Post subject: 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

_________________
My username is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9113
Location: Stratford, Ontario

PostPosted: Fri 10 Aug 2012, 15:23    Post subject:  

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.

Quote:
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".
Back to top
View user's profile Send private message 
Monsie


Joined: 01 Dec 2011
Posts: 633
Location: Kamloops BC Canada

PostPosted: Tue 14 Aug 2012, 04:08    Post subject: 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
diskfree-test.jpg
Description 
jpg

 Download 
Filename  diskfree-test.jpg 
Filesize  118.62 KB 
Downloaded  344 Time(s) 
diskfree-test2.jpg
Description 
jpg

 Download 
Filename  diskfree-test2.jpg 
Filesize  111.27 KB 
Downloaded  319 Time(s) 

_________________
My username is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9113
Location: Stratford, Ontario

PostPosted: Tue 14 Aug 2012, 16:07    Post subject: Re: Partview 2012  

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.
Back to top
View user's profile Send private message 
chrome307


Joined: 15 Jan 2009
Posts: 713

PostPosted: Sun 19 Aug 2012, 07:57    Post subject:  

Thanks for this, works great with Lucid Smile
Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 3110
Location: Mer méditerrannée (1 kms°)

PostPosted: Mon 12 Aug 2013, 15:51    Post subject: 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.
Back to top
View user's profile Send private message Yahoo Messenger 
rcrsn51


Joined: 05 Sep 2006
Posts: 9113
Location: Stratford, Ontario

PostPosted: Mon 12 Aug 2013, 16:03    Post subject:  

I have re-uploaded it.
Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 3110
Location: Mer méditerrannée (1 kms°)

PostPosted: Mon 12 Aug 2013, 16:19    Post subject: partview well downloaded now
Subject description: How fast was the answer !
 

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 ?
partview2012.png
 Description   
 Filesize   21.46 KB
 Viewed   699 Time(s)

partview2012.png

Back to top
View user's profile Send private message Yahoo Messenger 
rcrsn51


Joined: 05 Sep 2006
Posts: 9113
Location: Stratford, Ontario

PostPosted: Mon 12 Aug 2013, 16:28    Post subject:  

I don't understand what you are looking for. You can see the contents of the savefile by opening /initrd/pup_rw
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 2443
Location: France

PostPosted: Tue 13 Aug 2013, 15:33    Post subject:  

I didn't know partview-2012.pet
This is an interesting utility.
Thank you rcrsn51.

Cordialement

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 9113
Location: Stratford, Ontario

PostPosted: Tue 29 Apr 2014, 06:49    Post subject:  

Partview v2014 is posted above.
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 2443
Location: France

PostPosted: Tue 29 Apr 2014, 09:29    Post subject: Re: Partview v2014  

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,

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 9113
Location: Stratford, Ontario

PostPosted: Tue 29 Apr 2014, 10:53    Post subject: Re: Partview v2014  

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.
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 2443
Location: France

PostPosted: Tue 29 Apr 2014, 11:15    Post subject: Re: Partview v2014  

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,
partview-0.0.4_20140501.pet
Description  Updated 20140501
pet

 Download 
Filename  partview-0.0.4_20140501.pet 
Filesize  2.09 KB 
Downloaded  98 Time(s) 
partview-0.0.4_NLS_20140501.pet
Description  Updated 20140501
pet

 Download 
Filename  partview-0.0.4_NLS_20140501.pet 
Filesize  1.28 KB 
Downloaded  80 Time(s) 
partview-0.0.3_b.jpg
 Description   
 Filesize   13.48 KB
 Viewed   448 Time(s)

partview-0.0.3_b.jpg

partview-0.0.3_a.jpg
 Description   
 Filesize   22.17 KB
 Viewed   445 Time(s)

partview-0.0.3_a.jpg


_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids

Last edited by ASRI éducation on Thu 01 May 2014, 19:59; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0826s ][ Queries: 13 (0.0048s) ][ GZIP on ]