| Author |
Message |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: 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
| Description |
|

Download |
| Filename |
resizepfile.sh.tar.gz |
| Filesize |
2.16 KB |
| Downloaded |
509 Time(s) |
| Description |
|
| Filesize |
24.76 KB |
| Viewed |
2390 Time(s) |

|
| Description |
|
| Filesize |
10.34 KB |
| Viewed |
2388 Time(s) |

|
| Description |
|
| Filesize |
57.93 KB |
| Viewed |
2399 Time(s) |

|
| Description |
|
| Filesize |
15.9 KB |
| Viewed |
2342 Time(s) |

|
_________________ slackware 14
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sun 06 Mar 2011, 03:03 Post subject:
|
|
very nice Joe 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

|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: 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
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sun 06 Mar 2011, 05:28 Post subject:
|
|
here ya go lobster
Usually I make a 16GB pupsave, and copy it, so I can quickly start fresh for compiling
ttuuxxx
| Description |
|

Download |
| Filename |
resizepfile-0.01.pet |
| Filesize |
2.36 KB |
| Downloaded |
525 Time(s) |
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
Jasper

Joined: 25 Apr 2010 Posts: 870 Location: England
|
Posted: 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
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: 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
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

|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: 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
(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

|
|
Back to top
|
|
 |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: 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
| Description |
|

Download |
| Filename |
resizepfile-bigger.tar.gz |
| Filesize |
2.21 KB |
| Downloaded |
482 Time(s) |
| Description |
|
| Filesize |
20.16 KB |
| Viewed |
2219 Time(s) |

|
_________________ slackware 14
|
|
Back to top
|
|
 |
amigo
Joined: 02 Apr 2007 Posts: 1759
|
Posted: 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
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Mon 07 Mar 2011, 04:37 Post subject:
|
|
Thanks joe, I'll use
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
nitehawk

Joined: 13 Apr 2008 Posts: 487 Location: Florida, USA
|
Posted: Mon 07 Mar 2011, 21:26 Post subject:
|
|
...thanks! Bigger save file works great with Quirky 1.4!
|
|
Back to top
|
|
 |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: 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
_________________ slackware 14
|
|
Back to top
|
|
 |
stu90

Joined: 25 Feb 2010 Posts: 1401 Location: England. Dell Inspiron 1501. Dpup
|
Posted: 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.
| Description |
|

Download |
| Filename |
resizepfile.sh.gz |
| Filesize |
1.61 KB |
| Downloaded |
333 Time(s) |
|
|
Back to top
|
|
 |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: 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
_________________ slackware 14
|
|
Back to top
|
|
 |
ASRI éducation

Joined: 09 May 2009 Posts: 1494 Location: France
|
Posted: 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
|
|
 |
|