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 Sat 20 Sep 2014, 08:15
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
updated "resize pupsave" in Xdialog
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [39 Posts]   Goto page: 1, 2, 3 Next
Author Message
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Sun 06 Mar 2011, 00:13    Post subject:  updated "resize pupsave" in Xdialog  

I updated the retro look of the resizing of pupsave

*I placed this in programming to have an example using Xdialog

resizepfile.sh in /usr/sbin

it was originally written in xmessage
I updated it to Xdialog

I kept it about 98% the same in the menu messages to keep things familiar
the coding with Xdialog is very different though
I didnt go crazy with a total re write just an update


I added 1GB and a 2 GB options and removed the very small 16M and 32MB ones

testers and feed back /hacking welcomed
Joe
resizepfile.sh.tar.gz
Description 
gz

 Download 
Filename  resizepfile.sh.tar.gz 
Filesize  2.16 KB 
Downloaded  781 Time(s) 
new error message.png
 Description   
 Filesize   24.76 KB
 Viewed   2971 Time(s)

new error message.png

old error message.png
 Description   
 Filesize   10.34 KB
 Viewed   2951 Time(s)

old error message.png

new.png
 Description   
 Filesize   57.93 KB
 Viewed   2949 Time(s)

new.png

old.png
 Description   
 Filesize   15.9 KB
 Viewed   2946 Time(s)

old.png


_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10753
Location: Ontario Canada,Sydney Australia

PostPosted: Sun 06 Mar 2011, 03:03    Post subject:  

very nice Joe Smile excellent job
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sun 06 Mar 2011, 04:47    Post subject:  

Hope ttuuxxx is preparing a pet for us quiche eaters . . .
I hope the feature freeze in Lucid 5.2.2 can be de-iced . . .

I regularly go for the max 1 gig and will be glad to go up to 2 Gig as standard.
Thanks Joe look forward to using this . . .

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10753
Location: Ontario Canada,Sydney Australia

PostPosted: Sun 06 Mar 2011, 05:28    Post subject:  

here ya go lobster Smile
Usually I make a 16GB pupsave, and copy it, so I can quickly start fresh for compiling Smile
ttuuxxx
resizepfile-0.01.pet
Description 
pet

 Download 
Filename  resizepfile-0.01.pet 
Filesize  2.36 KB 
Downloaded  798 Time(s) 

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
Jasper


Joined: 25 Apr 2010
Posts: 1123
Location: England

PostPosted: Sun 06 Mar 2011, 07:19    Post subject:  

Hi,

This is interesting in that it seems that the reported possible 1.8 GB size limit for a save file must be obsolete, but:

(a) is there a new upper limit?
(b) can the pet be be used in any Puppy?
(c) if an existing save file of say, size 1 GB with 512 MB (50%) used is increased to 2 GB (with still only 512 MB used) - how (if at all) is that likely to affect boot time?

My regards
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10753
Location: Ontario Canada,Sydney Australia

PostPosted: Sun 06 Mar 2011, 07:28    Post subject:  

Jasper wrote:
Hi,

This is interesting in that it seems that the reported possible 1.8 GB size limit for a save file must be obsolete, but:

(a) is there a new upper limit?
(b) can the pet be be used in any Puppy?
(c) if an existing save file of say, size 1 GB with 512 MB (50%) used is increased to 2 GB (with still only 512 MB used) - how (if at all) is that likely to affect boot time?

My regards

I've been doing it for years, actually I did make larger selection using the older xmessage in early 4 series, but some people acted like it was a bad thing, I never had an issue, The largest pupsave I've made was 35GB. Some people had said make sure your only doing this to ext3 & ext4. I only have made them in ext3. Its worked from 2 series and up. Never tried it on 1 series Smile
I guess way back when, one person made a negative report on it and it spread like wildfire. I would say before 2006, and the idea was dropped, around 2008 I was bored and went nuts of the pupsave size. Never looked back and never had an issue with it.
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10753
Location: Ontario Canada,Sydney Australia

PostPosted: Sun 06 Mar 2011, 07:33    Post subject:  

Jasper wrote:
Hi,

This is interesting in that it seems that the reported possible 1.8 GB size limit for a save file must be obsolete, but:

(a) is there a new upper limit? I usually just set an aditional 512mb then go to the directory and you'll see a pupsave document with size in it, I usually add a 10 infront of the number so on next reboot I get a 10.5GB pupsave Smile
(b) can the pet be be used in any Puppy? I would say Yes
(c) if an existing save file of say, size 1 GB with 512 MB (50%) used is increased to 2 GB (with still only 512 MB used) - how (if at all) is that likely to affect boot time? the larger the pupsave the slower the boot, but from 512mb to 2 gb, is just a few seconds extra.

My regards

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Sun 06 Mar 2011, 18:50    Post subject:  

Hey Jeff this one is made just for you



ttuuxxx
Quote:

The largest pupsave I've made was 35GB


I do believe thats a worlds record that will last a long time



Joe
resizepfile-bigger.tar.gz
Description 
gz

 Download 
Filename  resizepfile-bigger.tar.gz 
Filesize  2.21 KB 
Downloaded  745 Time(s) 
bigger.png
 Description   
 Filesize   20.16 KB
 Viewed   2834 Time(s)

bigger.png


_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2247

PostPosted: Mon 07 Mar 2011, 03:58    Post subject:  

Why not have a selection: 'Input custom size', which would open an inputbox to let the user input any size?
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10753
Location: Ontario Canada,Sydney Australia

PostPosted: Mon 07 Mar 2011, 04:37    Post subject:  

Thanks joe, I'll use Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
nitehawk


Joined: 13 Apr 2008
Posts: 538
Location: West Central Florida

PostPosted: Mon 07 Mar 2011, 21:26    Post subject:  

...thanks! Bigger save file works great with Quirky 1.4!
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Fri 11 Mar 2011, 12:54    Post subject:  

if you want a packaged version with a new menu icon 8GB version
http://www.puppy2.org/slaxer/resizepfile-1-4_SLXR.tgz

_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though
Back to top
View user's profile Send private message 
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: Mon 04 Jul 2011, 10:06    Post subject:  

Hello,
Here is a Yad version of rezisepfile.sh - i rearranged the main GUI a little bit and bumped max save file size to 3GB.



thanks.
resizepfile.sh.gz
Description 
gz

 Download 
Filename  resizepfile.sh.gz 
Filesize  1.61 KB 
Downloaded  589 Time(s) 
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Sun 10 Jul 2011, 12:57    Post subject:  

stu90
thanks for the yad example
I didnt comment earlier because
I had a gtk2 problem compiling yad to test this

thanks for another code example using yad
Joe

_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 2444
Location: France

PostPosted: Sat 23 Jul 2011, 06:27    Post subject:  

big_bass wrote:
Hey Jeff this one is made just for you

I think Jeff will not alone to use your script.
Thanks Joe.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 3 [39 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.0963s ][ Queries: 13 (0.0129s) ][ GZIP on ]