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 Mon 25 May 2015, 05:52
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
sfs_load-2.3 on-the-fly
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 20 of 22 Posts_count   Goto page: Previous 1, 2, 3, ..., 18, 19, 20, 21, 22 Next
Author Message
gyro

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

PostPosted: Sat 05 Jul 2014, 10:38    Post_subject: 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.php?t=94328&start=371
gyro[/code]
Back to top
View user's profile Send_private_message 
shinobar


Joined: 28 May 2009
Posts: 2632
Location: Japan

PostPosted: Tue 08 Jul 2014, 07:39    Post_subject: 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/viewtopic.php?t=94328&start=419
/usr/sbin/sfs_load line 1195:
Code:
$MYTMPDIR/cleanup /initrd/$SLAYER $PARAM   

is to be
Code:
$MYTMPDIR/cleanup /initrd$SLAYER $PARAM

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... Confused

_________________
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2632
Location: Japan

PostPosted: Tue 08 Jul 2014, 09:30    Post_subject: PUPMODE=6 and 7  

shinobar wrote:
cleanwhite, WIPEWHITEONINIT, PUPMODE7SUPPORT

PUPMODE=6 is supported with this sfs_load, almost same as PUPMODE=12.
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 http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2632
Location: Japan

PostPosted: Sat 12 Jul 2014, 09:03    Post_subject: 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)

_________________
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2632
Location: Japan

PostPosted: Wed 16 Jul 2014, 00:31    Post_subject: sfs_load-2.1  

Download: http://shino.pos.to/linux/puppy/
Stable: sfs_load-2.1.pet (2014-07-16)

_________________
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2632
Location: Japan

PostPosted: Sat 26 Jul 2014, 23:11    Post_subject: 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.
Code:
--- 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 http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2632
Location: Japan

PostPosted: Sat 02 Aug 2014, 22:02    Post_subject: 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

_________________
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2632
Location: Japan

PostPosted: Sun 10 Aug 2014, 02:43    Post_subject: 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

_________________
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2632
Location: Japan

PostPosted: Sat 06 Sep 2014, 11:51    Post_subject: 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

_________________
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
ASRI éducation


Joined: 09 May 2009
Posts: 3019
Location: France

PostPosted: Sun 07 Sep 2014, 07:54    Post_subject: Re: sfs_load-2.3  

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

Thank you shinobar !

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send_private_message Visit_website 
666philb


Joined: 07 Feb 2010
Posts: 2434
Location: wales

PostPosted: Sun 21 Dec 2014, 11:23    Post_subject:  

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'
sfs_load.png
Description 
png

 Download 
Filename  sfs_load.png 
Filesize  83.17 KB 
Downloaded  98 Time(s) 

_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send_private_message 
Geoffrey


Joined: 30 May 2010
Posts: 1743
Location: Queensland

PostPosted: Sun 21 Dec 2014, 17:23    Post_subject:  

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'


The problem is there are two instances of "Length:"

Code:
Content-Length: 9678848 Length: 9678848 (9.2M) [application/vnd.spotfire.sfs]


Both are combined 9678848967884892

Edit line 988 in sfs_load and add -m 1 so only the first instance is read.

Code:
 SIZEB_ONLINE=$(grep -m 1 'Length: ' "$myLOG"| cut -d':' -f2| tr -dc '0-9')


Better still maybe just read the "Content-Length:"

Code:
 SIZEB_ONLINE=$(grep 'Content-Length: ' "$myLOG"| cut -d':' -f2| tr -dc '0-9')
Smile
_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
Back to top
View user's profile Send_private_message 
666philb


Joined: 07 Feb 2010
Posts: 2434
Location: wales

PostPosted: Mon 12 Jan 2015, 12:22    Post_subject:  

only just noticed this

thanks Geoffrey!

_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send_private_message 
peebee


Joined: 21 Sep 2008
Posts: 1821
Location: Worcestershire, UK

PostPosted: Wed 14 Jan 2015, 15:59    Post_subject: 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.....
testsfs.sfs.gz
Description 
gz

 Download 
Filename  testsfs.sfs.gz 
Filesize  4 KB 
Downloaded  66 Time(s) 
Screenshot_2015-01-14_193018.png
 Description   
 Filesize   113.47 KB
 Viewed   82 Time(s)

Screenshot_2015-01-14_193018.png


_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send_private_message Visit_website 
mikeb


Joined: 23 Nov 2006
Posts: 10540

PostPosted: Wed 14 Jan 2015, 16:19    Post_subject:  

peebee...the puppy way is to add sfs under the main sfs ... and thats the result.

Mike
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 20 of 22 Posts_count   Goto page: Previous 1, 2, 3, ..., 18, 19, 20, 21, 22 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0925s ][ Queries: 12 (0.0124s) ][ GZIP on ]