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 Sun 29 May 2016, 19:27
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
An updated "partview" that shows the actual "free" space.
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
gyro

Joined: 28 Oct 2008
Posts: 1060
Location: Brisbane, Australia

PostPosted: Wed 23 Sep 2015, 00:25    Post subject:  An updated "partview" that shows the actual "free" space.
Subject description: Now with "avail" one as well - patched Tahrpup64 version.
 

I have attached an updated "partview" script that calculates it's free value differently.
"free" is still calculated as "size" - "used", but it uses the size value from the output of "df" instead of the size value from "probepart".
Why? Please see the discussion of sizes etc in this post http://www.murga-linux.com/puppy/viewtopic.php?t=97351&start=62.

I'm suggesting that both "partview" and "freememapplet_tray" show the actual "free" number.

Edit 19 Oct 2015:
The "partview" version here is consistent with "freemamapplet-2.8.6f". To provide consistency I've now added a "partview_avail.gz" to match "freememapplet-2.8.6".
To obtain the new script, unzip "partview_avail.gz" and then rename it to "partview".
(Sorry, I've been meaning to do this for a while.)

So please use this "partview.gz" and "freememapplet-2.8.6f",
or "partview_avail.gz" and "freememapplet-2.8.6".

Edit2:
Updated "partview_avail.gz" to be based on Tahrpup64 "partview".

gyro
partview_avail.gz
Description  gunzip to produce the script "partview_avail" and then rename.
gz

 Download 
Filename  partview_avail.gz 
Filesize  1.68 KB 
Downloaded  85 Time(s) 
partview.gz
Description  gunzip to produce the script "partview"
gz

 Download 
Filename  partview.gz 
Filesize  1.58 KB 
Downloaded  90 Time(s) 

Last edited by gyro on Sun 18 Oct 2015, 17:30; edited 3 times in total
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1060
Location: Brisbane, Australia

PostPosted: Wed 23 Sep 2015, 03:11    Post subject:  

Sorry, I meant to put this in "Cutting edge"
gyro
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11917
Location: Arizona USA

PostPosted: Wed 23 Sep 2015, 08:51    Post subject:  

You did but I moved it here. I'll put it back if you want, but isn't this the place for it?
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1060
Location: Brisbane, Australia

PostPosted: Wed 23 Sep 2015, 11:34    Post subject:  

Flash wrote:
You did but I moved it here. I'll put it back if you want, but isn't this the place for it?
Whew, I thought I was losing it.

I put it there because the idea is still experimental, and I tend to think of this area as being more for tried and true.
But by that logic I probably should have put the new freememapplet_tray stuff in "Cutting edge".

I'm happy to leave it here.

gyro
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11917
Location: Arizona USA

PostPosted: Wed 23 Sep 2015, 12:57    Post subject:  

How would I use this script if I wanted to try it out (in Slacko)?
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1060
Location: Brisbane, Australia

PostPosted: Wed 23 Sep 2015, 13:20    Post subject:  

Flash wrote:
How would I use this script if I wanted to try it out (in Slacko)?
Just execute it.
It shows a screen containing a list of partitions with their size and free space.

gyro
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11917
Location: Arizona USA

PostPosted: Wed 23 Sep 2015, 14:13    Post subject:  

Thanks. Smile
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1060
Location: Brisbane, Australia

PostPosted: Sun 18 Oct 2015, 13:26    Post subject: update  

The current "partview.gz" is consistent with "freemamapplet-2.8.6f".
I've added a "partview_avail.gz" to be consistent with "freememapplet-2.8.6".

See first post for download.

gyro
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1060
Location: Brisbane, Australia

PostPosted: Sun 18 Oct 2015, 17:29    Post subject: updated again  

Updated "partview_avail.gz" to being based on the "partview" from Tahrpup64.
gyro
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
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.0458s ][ Queries: 12 (0.0089s) ][ GZIP on ]