sfs_load-2.4 on-the-fly
whiteout file problem
@shinobar,
Just in case it gets missed in all the chatter in the slacko6 discussion, I hope this comment helps. http://murga-linux.com/puppy/viewtopic. ... &start=371
gyro[/code]
Just in case it gets missed in all the chatter in the slacko6 discussion, I hope this comment helps. http://murga-linux.com/puppy/viewtopic. ... &start=371
gyro[/code]
sfs_load-2.0.12
Download: http://shino.pos.to/linux/puppy/
Testing: sfs_load-2.0.12.pet
#8 Jul 2014 v2.0.12: no extra sfs but layers can be changed, rewrite cleanwhite, WIPEWHITEONINIT, PUPMODE7SUPPORT
FIX by SFR: http://www.murga-linux.com/puppy/viewto ... &start=419
/usr/sbin/sfs_load line 1195:
is to be
Made for Slacko 6.0 beta(Slacko-5.9.3.6), but may work with any puppy.
NOTE on whiteout:
The whiteout need different treatment depends on the PUPMODE, typically next 3:
1) PUPMODE=5 or PUPMODE=12
2) PUPMODE=13 and RAMSAVEINTERVAL>0
3) PUPMODE=13 and RAMSAVEINTERVAL=0
Report with what PUPMODE you have tested.
As for the RAMSAVEINTERVAL=0 is a special case. We may have to clarify its specification...
Testing: sfs_load-2.0.12.pet
#8 Jul 2014 v2.0.12: no extra sfs but layers can be changed, rewrite cleanwhite, WIPEWHITEONINIT, PUPMODE7SUPPORT
FIX by SFR: http://www.murga-linux.com/puppy/viewto ... &start=419
/usr/sbin/sfs_load line 1195:
Code: Select all
$MYTMPDIR/cleanup /initrd/$SLAYER $PARAM
Code: Select all
$MYTMPDIR/cleanup /initrd$SLAYER $PARAM
NOTE on whiteout:
The whiteout need different treatment depends on the PUPMODE, typically next 3:
1) PUPMODE=5 or PUPMODE=12
2) PUPMODE=13 and RAMSAVEINTERVAL>0
3) PUPMODE=13 and RAMSAVEINTERVAL=0
Report with what PUPMODE you have tested.
As for the RAMSAVEINTERVAL=0 is a special case. We may have to clarify its specification...
Last edited by shinobar on Tue 08 Jul 2014, 23:49, edited 1 time in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
PUPMODE=6 and 7
PUPMODE=6 is supported with this sfs_load, almost same as PUPMODE=12.shinobar wrote:cleanwhite, WIPEWHITEONINIT, PUPMODE7SUPPORT
PUPMODE=7 is not supported as the defaulet. The default action for PUPMODE=7 is install like a pet, same as PUPMODE=2.
Set the PUPMODE7SUPPORT 'true', editing /usr/sbin/sfs_load, if you want to test PUPMODE=7 support same as PUPMODE=13.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
sfs_load-2.0.13
http://shino.pos.to/linux/puppy/
Testing: sfs_load-2.0.13.pet
#12 Jul 2014 v2.0.13: cleanwhite fix(SFR)
Testing: sfs_load-2.0.13.pet
#12 Jul 2014 v2.0.13: cleanwhite fix(SFR)
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
sfs_load-2.1
Download: http://shino.pos.to/linux/puppy/
Stable: sfs_load-2.1.pet (2014-07-16)
Stable: sfs_load-2.1.pet (2014-07-16)
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
sfs_load-2.1.8
Download: http://shino.pos.to/linux/puppy/
Testing: sfs_load-2.1.8.pet (2014-07-27)
#v2.1.8: all extra sfs by sfs_load not by initramfs
I also suggest to update pman to make fixmenu fast:
pman-2.3.pet from the same place.
sfs_load-2.1.8 modifies /etc/rc.d/rc.sysinit by the pinstall.sh.
Testing: sfs_load-2.1.8.pet (2014-07-27)
#v2.1.8: all extra sfs by sfs_load not by initramfs
I also suggest to update pman to make fixmenu fast:
pman-2.3.pet from the same place.
sfs_load-2.1.8 modifies /etc/rc.d/rc.sysinit by the pinstall.sh.
Code: Select all
--- rc.sysinit.org 2014-07-09 06:41:42.000000000 +0900
+++ rc.sysinit 2014-07-26 17:51:18.266657221 +0900
@@ -583,6 +583,8 @@
status_func 0
+[ -d /initrd ] && [ -x /etc/init.d/sfs_load ] && /etc/init.d/sfs_load start
+
##############USER SELECTED MODULES##################
echo "USER SELECTED MODULES"
#the user can select extra modules to load in the BootManager..
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
sfs_load-2.1.9
Download: http://shino.pos.to/linux/puppy/
Testing: sfs_load-2.1.9.pet (2014-08-03)
#v2.1.9: fix loop device conflict with irregular initramfs
Testing: sfs_load-2.1.9.pet (2014-08-03)
#v2.1.9: fix loop device conflict with irregular initramfs
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
sfs_load-2.2 released
UPDATE:
Download: http://shino.pos.to/linux/puppy/
Most recebt: sfs_load-2.2.pet (2014-08-10)
#v2.1.8: all extra sfs by sfs_load not by initramfs
#v2.1.9: fix loop device conflict with irregular initramfs
#2014-08-10 v2.2: fix was removed all sfs after abnormal shutdown
Download: http://shino.pos.to/linux/puppy/
Most recebt: sfs_load-2.2.pet (2014-08-10)
#v2.1.8: all extra sfs by sfs_load not by initramfs
#v2.1.9: fix loop device conflict with irregular initramfs
#2014-08-10 v2.2: fix was removed all sfs after abnormal shutdown
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
sfs_load-2.3
Download: http://shino.pos.to/linux/puppy/
Most recent: sfs_load-2.3.pet (2014-09-06)
#2014-09-06 v2.3: fix again save-to-directry, avoid always mounted puppy sfs partition under PUPMODE=5
Most recent: sfs_load-2.3.pet (2014-09-06)
#2014-09-06 v2.3: fix again save-to-directry, avoid always mounted puppy sfs partition under PUPMODE=5
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Re: sfs_load-2.3
Thank you shinobar !shinobar wrote:sfs_load-2.3.pet (2014-09-06)
#2014-09-06 v2.3: fix again save-to-directry, avoid always mounted puppy sfs partition under PUPMODE=5
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
hi shinobar,
tahrpup 6.0.1 ext4 partition
when trying to grab an url with sfs_load i'm getting this 'not enough space error'
tahrpup 6.0.1 ext4 partition
when trying to grab an url with sfs_load i'm getting this 'not enough space error'
- Attachments
-
- sfs_load.png
- (83.17 KiB) Downloaded 355 times
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
The problem is there are two instances of "Length:"666philb wrote:hi shinobar,
tahrpup 6.0.1 ext4 partition
when trying to grab an url with sfs_load i'm getting this 'not enough space error'
Code: Select all
Content-Length: 9678848 Length: 9678848 (9.2M) [application/vnd.spotfire.sfs]
Edit line 988 in sfs_load and add -m 1 so only the first instance is read.
Code: Select all
SIZEB_ONLINE=$(grep -m 1 'Length: ' "$myLOG"| cut -d':' -f2| tr -dc '0-9')
Code: Select all
SIZEB_ONLINE=$(grep 'Content-Length: ' "$myLOG"| cut -d':' -f2| tr -dc '0-9')
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
only just noticed this
thanks Geoffrey!
thanks Geoffrey!
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
OT - understanding how sfs load works
My apologies that this is a bit off-topic, but thought this was the best thread to ask this question.....
Just trying to understand how sfs load behaves when the sfs contains an executable that already exists on the system.
Attached is a test sfs (with false .gz) that contains a single file - /usr/sbin/partview
The sfs loads without problem and afterwards there are 2 instances of partview - the original in /initrd/pup_ro2 and the one from the sfs in /initrd/pup_ro4
However, the one that is executed remains the original one in pup_ro2 whereas in my naive understanding I would expect the new version from the sfs to be seen/replace the original and be executed.
Is there a description of sfs loading anywhere that I can read so that I can understand what is going on better?
Thanks for any assistance.
Cheers
peebee
p.s. test environment is a pristine, manual, frugal install of Slacko5.7 with no savefile
p.p.s if more appropriate please send me a pm rather than hijack any further this thread.....
Just trying to understand how sfs load behaves when the sfs contains an executable that already exists on the system.
Attached is a test sfs (with false .gz) that contains a single file - /usr/sbin/partview
The sfs loads without problem and afterwards there are 2 instances of partview - the original in /initrd/pup_ro2 and the one from the sfs in /initrd/pup_ro4
However, the one that is executed remains the original one in pup_ro2 whereas in my naive understanding I would expect the new version from the sfs to be seen/replace the original and be executed.
Is there a description of sfs loading anywhere that I can read so that I can understand what is going on better?
Thanks for any assistance.
Cheers
peebee
p.s. test environment is a pristine, manual, frugal install of Slacko5.7 with no savefile
p.p.s if more appropriate please send me a pm rather than hijack any further this thread.....
- Attachments
-
- testsfs.sfs.gz
- (4 KiB) Downloaded 280 times
-
- Screenshot_2015-01-14_193018.png
- (113.47 KiB) Downloaded 205 times
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
SFS Modules loaded with shinobar's sfs_load are loaded into a lower layer, so the main SFS stays on top of all SFS Modules. To have contents of a loaded SFS Modules on top of the main SFS, there is a Script by mikeb in the second Post of this topic to load SFS Modules to a top layer.
RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
Sfs_load completely fails to load SFSs in pupmode 6.
Given that it now handles all the extra sfs in place of the boot manager it means that there is no way to load any extra SFSs in pupmode 6.
With the availability of savefolder, pupmode6 may not be so useful, however is still a puppy mode...
So would be nice if it is fixed or atleast stop handling SFSs in pupmode 6 and allow the job to be done by the bootmanager with something like this
(actually it works fine to load SFSs with the bootmanager at startup)
Given that it now handles all the extra sfs in place of the boot manager it means that there is no way to load any extra SFSs in pupmode 6.
With the availability of savefolder, pupmode6 may not be so useful, however is still a puppy mode...
So would be nice if it is fixed or atleast stop handling SFSs in pupmode 6 and allow the job to be done by the bootmanager with something like this
Code: Select all
--- a/etc/init.d/sfs_load 2014-07-22 11:11:10.000000000 +0300
+++ b/etc/init.d/sfs_load 2015-01-28 11:23:11.000000000 +0200
@@ -1,5 +1,7 @@
#!/bin/sh
which sfs_load &>/dev/null || exit 0
+. /etc/rc.d/PUPSTATE
+[ "$PUPMODE" = "6" ] && exit 0
if [ "$1" = "stop" ] ; then
exec sfs_load --cli stop
fi
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
To facilitate the participation of French-speaking users, I created a thread sfs_load on-the-fly : contributions et améliorations
Regards,
Regards,
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
I use a lot of sfs files.
This prompts me to propose some changes to the main interface of sfs_load.
- Increasing the size of the interface.
- Added information "number of sfs mounted".
- For the list of mounted sfs, use of a "table" (instead of "list") to sort the list alphabetically.
If you want to test ...
Regards
This prompts me to propose some changes to the main interface of sfs_load.
- Increasing the size of the interface.
- Added information "number of sfs mounted".
- For the list of mounted sfs, use of a "table" (instead of "list") to sort the list alphabetically.
If you want to test ...
Regards
- Attachments
-
- sfs_load_84_mounted.png
- (75.74 KiB) Downloaded 959 times
-
- sfs_load_20150215.tar.gz
- /usr/sbin/sfs_load (version 20150215)
- (28.89 KiB) Downloaded 367 times
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
The limit of Puppy mount points (pup_ro *) seems to be 125. This is obviously more than we need.
More information on the French forum http://www.murga-linux.com/puppy/viewto ... 648#828648
Regards,
More information on the French forum http://www.murga-linux.com/puppy/viewto ... 648#828648
Regards,
- Attachments
-
- sfs_load_122_mounted.png
- (132.63 KiB) Downloaded 891 times
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]