Slacko 5.7 - March 2014
@Killapup, curious to know what the path is for you frugal files?
In the past, I have not seen issues with save-sessions being missed or disregarded on startup. in fact, what I have witnessed is that when multiple saves for a given distro is found, the system will show what it found waiting for a confirmation of which "save" to use.
And I have never witnessed the system saving to an alternate save session other than the one it originally booted from when shutting down. Thus, if it used a save-session in root at startup, it will continue to do so thru shutdown without ever changing its path.
I do not run frugal, but in my past tests, this has been my observations. If you are seeing something different from this , we need to look further to the root cause or for a change that is occurring in V5.7.
Hope this helps
In the past, I have not seen issues with save-sessions being missed or disregarded on startup. in fact, what I have witnessed is that when multiple saves for a given distro is found, the system will show what it found waiting for a confirmation of which "save" to use.
And I have never witnessed the system saving to an alternate save session other than the one it originally booted from when shutting down. Thus, if it used a save-session in root at startup, it will continue to do so thru shutdown without ever changing its path.
I do not run frugal, but in my past tests, this has been my observations. If you are seeing something different from this , we need to look further to the root cause or for a change that is occurring in V5.7.
Hope this helps
Well, I did it
I think I cheated but it worked
I deleted the savefile in 5.7 and left the partition otherwise intact, then I installed 5.6 to another partition, made all the usual changes and made the savefile for it. I then copied this savefile to the 5.7 partition and voila
Now, the only issue is the shutdown problem...
So, I've tried to copy the rc.shutdown file from the 5.6 disk but when I open the .sfs it has to be installed or is read-only. How do I get around that one?? Is there any other way to get a shutdown file, does it have to be a slacko rc file??
Thanks,
Ray
I think I cheated but it worked
I deleted the savefile in 5.7 and left the partition otherwise intact, then I installed 5.6 to another partition, made all the usual changes and made the savefile for it. I then copied this savefile to the 5.7 partition and voila
Now, the only issue is the shutdown problem...
So, I've tried to copy the rc.shutdown file from the 5.6 disk but when I open the .sfs it has to be installed or is read-only. How do I get around that one?? Is there any other way to get a shutdown file, does it have to be a slacko rc file??
Thanks,
Ray
Slacko 6.3.2 on
Asus X54C 4Gb RAM
Also VectorLinux64 plus many others :D
Asus X54C 4Gb RAM
Also VectorLinux64 plus many others :D
killapup,
Good you are making some progress, but you should not have to do this to get a working save file.
Just because some hardware can have problems with the pae version of Slacko 5.7.
(it is only needed if you have 4GB or more of ram).
Could you make sure you are using the no-pae version.
http://ftp.nluug.nl/ftp/pub/os/Linux/di ... NO-pae.iso
Good you are making some progress, but you should not have to do this to get a working save file.
Just because some hardware can have problems with the pae version of Slacko 5.7.
(it is only needed if you have 4GB or more of ram).
Could you make sure you are using the no-pae version.
http://ftp.nluug.nl/ftp/pub/os/Linux/di ... NO-pae.iso
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Thanks bigpup, no, with the no-pae version I get no wifi whatsoever and it still has the shutdown issue. I tried a second download of the no-pae version and it was exactly the same as the first one. Of course, I could have gotten 2 bad downloads, I'm pretty sure I used 2 different mirrors for both downloads. But on your suggestion, I'll download from the link provided and see how it goes.bigpup wrote: Could you make sure you are using the no-pae version.
http://ftp.nluug.nl/ftp/pub/os/Linux/di ... NO-pae.iso
Like I've said, this is completely unlike any of the Slackos I've used before and I've been using Slacko since 5.3
Thanks again, bigpup,
Ray
Slacko 6.3.2 on
Asus X54C 4Gb RAM
Also VectorLinux64 plus many others :D
Asus X54C 4Gb RAM
Also VectorLinux64 plus many others :D
Hey bigpup,
I just tried the downloaded iso from the link you gave and there's no joy there, exactly the same result as all the others.
I'll stick with the pae version for now and hopefully I can overcome the shutdown issue, anyone have any ideas??
Ray
I just tried the downloaded iso from the link you gave and there's no joy there, exactly the same result as all the others.
I'll stick with the pae version for now and hopefully I can overcome the shutdown issue, anyone have any ideas??
Ray
Slacko 6.3.2 on
Asus X54C 4Gb RAM
Also VectorLinux64 plus many others :D
Asus X54C 4Gb RAM
Also VectorLinux64 plus many others :D
G'day all,
Well, I did it again, it might be a cheat (once again) but it worked. I have been trying to find a way to put the rc.shutdown from 5.6 into 5.7 but because it is read-only when viewing the contents of the .sfs, I haven't been able to do it yet.
But, in all of that investigating, I thought, why not install the 5.6.sfs?? So I did, and, while it may not be the most elegant solution, it works as a workaround. Of course, I have 2 sets of icons in the right-hand end of the tray but at least it shuts down as it should.
I think I'll redo my signature to include Slacko again
Ray
Well, I did it again, it might be a cheat (once again) but it worked. I have been trying to find a way to put the rc.shutdown from 5.6 into 5.7 but because it is read-only when viewing the contents of the .sfs, I haven't been able to do it yet.
But, in all of that investigating, I thought, why not install the 5.6.sfs?? So I did, and, while it may not be the most elegant solution, it works as a workaround. Of course, I have 2 sets of icons in the right-hand end of the tray but at least it shuts down as it should.
I think I'll redo my signature to include Slacko again
Ray
Slacko 6.3.2 on
Asus X54C 4Gb RAM
Also VectorLinux64 plus many others :D
Asus X54C 4Gb RAM
Also VectorLinux64 plus many others :D
-
- Posts: 88
- Joined: Mon 22 May 2006, 18:43
A visual bug. On older versions Frisbee changes it's own icon to a phone when i use Pupdial. On 5.7 the net icon doesn't show any info about data used (and here mobile internet is expensive )
Fortunately, is not an issue that i will see often.
Fortunately, is not an issue that i will see often.
- Attachments
-
- pup_2014-05-31_140540.jpg
- (80.59 KiB) Downloaded 278 times
- rg66
- Posts: 1158
- Joined: Mon 23 Jul 2012, 05:53
- Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!
Thanks for Slacko-5.7, nice job.
Spent a few hours customizing 5.7-no-pae and removing built in apps, loaded the devx and all the apps reappear. The whiteout files are being deleted from /initrd/pup_rw. Didn't seem to effect any other changes. Luckily I had made savefile backups.
Edit: Loading GIMP does the same thing. Maybe it's the latest SFS-load-on-the-fly that is causing this?
Edit2: The same thing happens in X-slacko and X-precise, both were updated to the latest SFS-load. It also happens on unload. I'll post in that thread.
Spent a few hours customizing 5.7-no-pae and removing built in apps, loaded the devx and all the apps reappear. The whiteout files are being deleted from /initrd/pup_rw. Didn't seem to effect any other changes. Luckily I had made savefile backups.
Edit: Loading GIMP does the same thing. Maybe it's the latest SFS-load-on-the-fly that is causing this?
Edit2: The same thing happens in X-slacko and X-precise, both were updated to the latest SFS-load. It also happens on unload. I'll post in that thread.
X-slacko-5b1 - X-tahr-2.0 - X-precise-2.4
[url=http://smokey01.com/rg66/]X-series repo[/url]
[url=http://smokey01.com/rg66/]X-series repo[/url]
first, i have to ask: what happened to the slacko-homepage? i couldnt reach it today. fault of my provider?
edit: found the answer, thx and good luck in solving that...
second, i had a problem reaching the chrome webstore for addons, getting some demand for a browser update. i found a thread in puppylinux.info forum, where a link was posted to ubuntu forum, where i read the solution: starting chrome with the flag --enable-extensions worked, also for me.
since im starting chrome per script, easy solution, very happy Smile
i hope, its something new or even helpful, maybe.
(using slacko 5.7 with chrome 35
cheers
edit: found the answer, thx and good luck in solving that...
second, i had a problem reaching the chrome webstore for addons, getting some demand for a browser update. i found a thread in puppylinux.info forum, where a link was posted to ubuntu forum, where i read the solution: starting chrome with the flag --enable-extensions worked, also for me.
since im starting chrome per script, easy solution, very happy Smile
i hope, its something new or even helpful, maybe.
(using slacko 5.7 with chrome 35
cheers
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
I had a helluva time getting my video card (radeon 65xx series), touchpad (synaptics) and Xorg to play nicely together, The autoconfigure option kept trying to have 3 screens and use a different one on each video driver, but I didn't have any external monitor plugged in and the devices were really all the same. I finally edited my own and bypassed xwin/startx (just in case) by using:
X & sleep 2 && jwm -display :0
... Here is my xorg.conf that got me going
X & sleep 2 && jwm -display :0
... Here is my xorg.conf that got me going
Code: Select all
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Synaptics Mouse" "AlwaysCore" #serverlayoutsynaptics
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/misc/"
FontPath "/usr/share/X11/fonts/Type1/"
FontPath "/usr/share/X11/fonts/TTF/"
EndSection
Section "Module"
Load "dbe"
Load "dri"
Load "dri2"
Load "extmod"
Load "glx"
Load "record"
Load "synaptics" #loadsynaptics
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise DGA extension
EndSubSection
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102" #xkbmodel0
Option "XkbLayout" "us" #xkeymap0
#Option "XkbVariant" "" #xkbvariant0
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2" #mouse0protocol
Option "Device" "/dev/mouse"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "ZAxisMapping" "4 5" #scrollwheel
EndSection
Section "InputDevice"
Identifier "Synaptics Mouse"
Driver "synaptics"
Option "SHMConfig" "on"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "ServerFlags"
Option "RandR" "on"
Option "AutoAddDevices" "false"
Option "DontZap" "false"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 35-81
VertRefresh 59-76
#UseModes "Modes0" #monitor0usemodes
Option "PreferredMode" "1366x768" #monitor0prefmode
EndSection
Section "Modes"
Identifier "Modes0"
#modes0modeline0
EndSection
Section "Device"
Identifier "Card0"
Driver "modesetting"
BusID "PCI:0:1:0"
EndSection
Section "Device"
Identifier "Card1"
Driver "radeon"
BusID "PCI:0:1:0"
EndSection
Section "Device"
Identifier "Card2"
Driver "vesa"
BusID "PCI:0:1:0"
EndSection
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
Hey techno. Thanks for giving Slacko a spin.
Do you have any idea why it was trying to load 3 xorg drivers at once? BK's new xorgwizard no help? I think it tries to be a bit too much "one size fits all", however in saying that there it's what we have at the moment and probably won't get a lot of improvement in the next iteration.
After that though, we are thinking of using the FatDog style xinit scripts, but that might leave some older machines behind. We'll see.
--------------------------------
canin .. sorry my site was down over the weekend. It's back up now but there is still an issue with sub-domains. You can reach it at 01micko.com/slacko57
EDIT: well.. what do I know? The sub-domains are working now! (just got email from my host).
Do you have any idea why it was trying to load 3 xorg drivers at once? BK's new xorgwizard no help? I think it tries to be a bit too much "one size fits all", however in saying that there it's what we have at the moment and probably won't get a lot of improvement in the next iteration.
After that though, we are thinking of using the FatDog style xinit scripts, but that might leave some older machines behind. We'll see.
--------------------------------
canin .. sorry my site was down over the weekend. It's back up now but there is still an issue with sub-domains. You can reach it at 01micko.com/slacko57
EDIT: well.. what do I know? The sub-domains are working now! (just got email from my host).
Puppy Linux Blog - contact me for access
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
I have a laptop with radeon graphics, external monitor port and modeswitching was getting its own device and vesa was listed too. ... Audio was a pain too because my actual sound device is device 1 instead of 0. I had been using akita with no problems and miss some of scottman's tweaks and tools.
I would recommend an xvesa fallback. We are maintaining it on github as tinyxserver (only xvesa and xfbdev, though now I may dig up the Radeon one and add my device ID) goingnuts even made a multicall binary of xinit, xvesa, jwm &rxvt static built in <1mb which is nice if for instance libc or libX11 or 1 of its deps breaks... you could still get a working desktop with terminal assuming busybox is built static too.
I was hoping more people would be taking advantage of my simple icon tray by now to eliminate some of the heavy running background processes, but I guess I'll have to write a unified tray app with it, but I want it to be public domain so it may take a bit since I can't just port the existing applications (unless the devs release their code)
I've been playing with various tiny public domain decoders lately mp3, mp2 and ogg-vorbis. The players will be released to public domain soon... each <50kb static. I am hoping to get them under 32k to fit in most caches eventually.
I would recommend an xvesa fallback. We are maintaining it on github as tinyxserver (only xvesa and xfbdev, though now I may dig up the Radeon one and add my device ID) goingnuts even made a multicall binary of xinit, xvesa, jwm &rxvt static built in <1mb which is nice if for instance libc or libX11 or 1 of its deps breaks... you could still get a working desktop with terminal assuming busybox is built static too.
I was hoping more people would be taking advantage of my simple icon tray by now to eliminate some of the heavy running background processes, but I guess I'll have to write a unified tray app with it, but I want it to be public domain so it may take a bit since I can't just port the existing applications (unless the devs release their code)
I've been playing with various tiny public domain decoders lately mp3, mp2 and ogg-vorbis. The players will be released to public domain soon... each <50kb static. I am hoping to get them under 32k to fit in most caches eventually.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
Hmmm. Coming from a Biker with a GED, with a
Compaq CQ-57 running Slack0 5.7 .exe inside of Windows 7,
So if I report this wrong. Just ignore me, No biggy.
I installed moc
from PPM, updated PPM 1st. Salix repo moc verrsion.
It works. But. I start getting a freeze up of sorts. The cpu spikes in htop
to 100%. But. Only in split second pulsating intervals. I tried like hell to get
a screenshot showing the spike but missed it and then the freeze makes it hard to start all over again from scratch. I use Cntrl+Alt+Backspace
to restart JWM with xwin. mocp stays playing of course. But then I can use
Shift+q key to quit moc session in terminal.
Not sure if this is a moc inside of a Windows 7 issue. I say this because
a frugal or full Slack0 install never gave this problem. Only on the .exe
install I am running.
I'll maybe move on to using cmus instead on this unit. Just info report more than a "help me".
My screenys First one is moc not running/started yet. Second is moc running but I fail to show the cpu pulsating 100% spike in the shot (it is quick). Third is mocp running streaming radio station (which is what I usually use for lightweight streaming player)
Happy Trailz, Rok
Compaq CQ-57 running Slack0 5.7 .exe inside of Windows 7,
So if I report this wrong. Just ignore me, No biggy.
Code: Select all
# inxi -Fxz
System: Host: biker Kernel: 3.10.32 i686 (32 bit gcc: 4.7.1)
Desktop: JWM git-905
Distro: Slacko Puppy Linux Linux 3.10.32 [ arch]
Machine: System: Hewlett-Packard (portable) product: Presario CQ57 Notebook PC v: 068C110003204910000620100
Mobo: Hewlett-Packard model: 3577 v: 24.48
Bios: Hewlett-Packard v: F.42 date: 11/07/2011
CPU: Dual core AMD C-50 (-MCP-) cache: 1024 KB
flags: (lm nx pae sse sse2 sse3 sse4a ssse3 svm) bmips: 3993
Clock Speeds: 1: 1000 MHz 2: 1000 MHz
Graphics: Card: ATI Device 9804 bus-ID: 00:01.0
Display Server: X.org 1.12.4 drivers: ati,radeon (unloaded: vesa)
tty size: 80x24 Advanced Data: N/A for root
Audio: Card ATI SBx00 Azalia (Intel HDA)
driver: snd_hda_intel bus-ID: 00:14.2
Sound: Advanced Linux Sound Architecture v: k3.10.32
Network: Card-1: Ralink Device 5390
driver: rt2800pci v: 2.3.0 bus-ID: 07:00.0
IF: wlan0 state: up speed: N/A duplex: N/A mac: <filter>
Card-2: Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller
driver: r8169 v: 2.3LK-NAPI port: 2000 bus-ID: 06:00.0
IF: eth0 state: down mac: <filter>
Drives: HDD Total Size: 250.1GB (23.8% used)
ID-1: /dev/sda model: WDC_WD2500BEVT size: 250.1GB
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 61.4C mobo: N/A gpu: 62.0
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 98 Uptime: 2:37 Memory: 285.4/1623.5MB
Init: SysVinit runlevel: 5 Gcc sys: 4.7.1
Client: Shell (bash 4.1.01) inxi: 2.1.28
from PPM, updated PPM 1st. Salix repo moc verrsion.
It works. But. I start getting a freeze up of sorts. The cpu spikes in htop
to 100%. But. Only in split second pulsating intervals. I tried like hell to get
a screenshot showing the spike but missed it and then the freeze makes it hard to start all over again from scratch. I use Cntrl+Alt+Backspace
to restart JWM with xwin. mocp stays playing of course. But then I can use
Shift+q key to quit moc session in terminal.
Not sure if this is a moc inside of a Windows 7 issue. I say this because
a frugal or full Slack0 install never gave this problem. Only on the .exe
install I am running.
I'll maybe move on to using cmus instead on this unit. Just info report more than a "help me".
My screenys First one is moc not running/started yet. Second is moc running but I fail to show the cpu pulsating 100% spike in the shot (it is quick). Third is mocp running streaming radio station (which is what I usually use for lightweight streaming player)
Happy Trailz, Rok
Interesting... when having a play with Slacko 5.7 a few weeks ago (one danged sweet Pup!), one thing I did notice was a slightly higher idling CPU use compared to some other Pups & distros - maybe ~5-7%, IIRC. In further playing, I installed LxPanel from the PPM, and noticed the icon tray (Freemapplet - Retrovol??) had not loaded to the new LxPanel... and CPU use @ idle had dropped to basically nil... 0-1%. Seems there indeed may be some room for improvement in regards to the tray's resource usage.technosaurus wrote: I was hoping more people would be taking advantage of my simple icon tray by now to eliminate some of the heavy running background processes...
Bob
Iso-booting remastered with TedDog's ram2sfs. Just perfect for me No More popup windows asking for save the file at shutdown.
A little guide to Personalise Banksypup: https://www.youtube.com/watch?v=4mecZm9BrL00
A little guide to Personalise Banksypup: https://www.youtube.com/watch?v=4mecZm9BrL00
- Attachments
-
- slacko5.7.jpg
- (116.27 KiB) Downloaded 1505 times
- rg66
- Posts: 1158
- Joined: Mon 23 Jul 2012, 05:53
- Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!
Not sure if this has been posted before, too many pages to go through. The resize personal storage script is showing save file size as much smaller than it really is, smaller than free space even. Screen shot is for a 512mb save file.
Edit: This seems to work
Edit2: If du fails and it uses pupsave.conf then it also fails after a resize as this doesn't get updated
Edit3: This updates pupsave.conf after a resize which should be updated regardless.
Edit: This seems to work
Code: Select all
ACTUALSIZK=`du -b $HOMELOCATION | awk '{print $1}'` #total size of ${DISTRO_FILE_PREFIX}save.3fs
if [ ! $ACTUALSIZK ];then
ACTUALSIZK=`cat /etc/rc.d/pupsave.conf | grep SIZEPFILE | awk -F'=' '{print $2}' `
ACTUALSIZK=`expr $ACTUALSIZK \* 1024`
fi
ACTUALSIZE=`expr $ACTUALSIZK \/ 1024 \/ 1024`
Edit3: This updates pupsave.conf after a resize which should be updated regardless.
Code: Select all
case ${EXIT} in
save)KILOBIG=$(($KILOBIG * 1024))
echo "KILOBIG=$KILOBIG" > /initrd${PUP_HOME}/pupsaveresizenew.txt
echo "PUPSAVEFILEX=$SAVEFILE" >> /initrd${PUP_HOME}/pupsaveresizenew.txt #131231
OLDSAVE=`cat /etc/rc.d/pupsave.conf | grep SIZEPFILE | awk -F'=' '{print $2}' `
NEWSAVE=$(( $KILOBIG + $OLDSAVE ))
sed -i s'/SIZEPFILE='$OLDSAVE'/SIZEPFILE='$NEWSAVE'/' /etc/rc.d/pupsave.conf
;;
*)
exit
;;
esac
- Attachments
-
- resize_script.png
- (60.2 KiB) Downloaded 1315 times
X-slacko-5b1 - X-tahr-2.0 - X-precise-2.4
[url=http://smokey01.com/rg66/]X-series repo[/url]
[url=http://smokey01.com/rg66/]X-series repo[/url]
Hey Rg66
Confirmed. I think it has something to do with sparse files.
I see you've already found a solution, but might want to test also this one:
Greetings!
Confirmed. I think it has something to do with sparse files.
I see you've already found a solution, but might want to test also this one:
Code: Select all
--- /initrd/pup_ro2/usr/sbin/resizepfile.sh 2014-01-06 21:02:31.000000000 +0100
+++ /usr/sbin/resizepfile.sh 2014-07-17 13:50:25.156486816 +0200
@@ -49,11 +49,8 @@
HOMELOCATION="/initrd${PUP_HOME}${SAVEFILE}"
SIZEFREE=`df -m | grep "$PERSISTMNTPT" | tr -s " " | cut -f 4 -d " "` #free space in ${DISTRO_FILE_PREFIX}save.3fs
-ACTUALSIZK=`ls -sk $HOMELOCATION | tr -s " " | cut -f 1 -d " "` #total size of ${DISTRO_FILE_PREFIX}save.3fs
-if [ ! $ACTUALSIZK ];then
- ACTUALSIZK=`ls -sk $HOMELOCATION | tr -s " " | cut -f 2 -d " "`
-fi
-ACTUALSIZE=`expr $ACTUALSIZK \/ 1024`
+ACTUALSIZK=`stat -c %s $HOMELOCATION` #total size of ${DISTRO_FILE_PREFIX}save.3fs
+ACTUALSIZE=`expr $ACTUALSIZK \/ 1024 \/ 1024`
APATTERN="/dev/${SAVEPART} "
PARTSIZE=`df -m | grep "$APATTERN" | tr -s " " | cut -f 2 -d " "`
PARTFREE=`df -m | grep "$APATTERN" | tr -s " " | cut -f 4 -d " "`
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]
[b][color=green]Omnia mea mecum porto.[/color][/b]
- rg66
- Posts: 1158
- Joined: Mon 23 Jul 2012, 05:53
- Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!
@SFR
That works, thanks. Stat -c and du -b give the same results so if there needs to be a fallback as the original had, I guess those two would do the job especially since ACTUALSIZE division is the same for both. Pupsave.conf is unreliable as pupsaveconfig sometimes overwrites the savesize info. I still think pupsave.conf should be updated after a resize though.
That works, thanks. Stat -c and du -b give the same results so if there needs to be a fallback as the original had, I guess those two would do the job especially since ACTUALSIZE division is the same for both. Pupsave.conf is unreliable as pupsaveconfig sometimes overwrites the savesize info. I still think pupsave.conf should be updated after a resize though.
X-slacko-5b1 - X-tahr-2.0 - X-precise-2.4
[url=http://smokey01.com/rg66/]X-series repo[/url]
[url=http://smokey01.com/rg66/]X-series repo[/url]