| Author |
Message |
Terryphi

Joined: 02 Jul 2008 Posts: 698 Location: West Wales, Britain.
|
Posted: Thu 28 Feb 2013, 05:05 Post subject:
|
|
| 01micko wrote: | | I have fixed and uploaded sfs_load for crashing the system if you are using kernels greater than 3.2. NOTE: not tested on k3.8, reports please. |
Tested on Quirky 5.4.91 (Kernel 3.8.) Eventually worked. After removing the old pet and installing the new pet reboot is required before testing or it will crash system.
_________________ Opera browser SFS package for Precise, Slacko, Racy, Wary, Lucid, Quirky, etc available here 
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2452 Location: Ontario
|
Posted: Thu 28 Feb 2013, 20:04 Post subject:
|
|
I tested on precise 5.4.90 and it worked perfectly right away.
___________________________________________
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9381 Location: SwedenEurope
|
Posted: Fri 01 Mar 2013, 00:20 Post subject:
|
|
Is this a script that one can edit so it does not ask so many questions
it wants to move files and deal with save file and so on.
I need it to load the sfs and not make me go into dialogs all the time
I don't have a save file so all these questions are only annoying Sorry
Now I am using sfs-exec in Slacko despite it does not work properly
for slacko. Would be better to be able to use the built in sfs on fly
but a version that are less nosy all the time.
_________________
I'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 4001 Location: Arizona, U.S.A.
|
Posted: Tue 12 Mar 2013, 19:09 Post subject:
|
|
nooby; Did you try sfs_load --help to get the CLI list for use without the GUI.?
shinobar; I just needed an SFS loader for the first time for AppPkg development.
It works great except for what seems to be a Puppy messup of both the dirs. /lib/i386-linux-gnu and /usr/lib/i386-linux-gnu
They are links to the parent dir. and sfs_load can`t union dirs. on them. I doubt any union can be done on this type of setup.
Is there a work around fix for what appears to be a Puppy hack.?
( I`m guessing apps. must be modified to work, meaning they`ll only work in Puppy. )
# Suggestion for sfs_load: Why limit it to SFS files,?
# Please also make it load ext2, ext3, and ext4 image files as well.!
And of course add "Load RO" and "Load RW". ( Separate buttons is good. )
Have the buttons disabled when a SFS file is selected to be loaded.
If the image file`s mounted RW and unioned RO, then the normal Save file is the union`s only RW.
Then changes to the image file can be made through it`s mount point.
This will allow new app. package development ( SFS and AppPkg ) to be done quite easily.
.
Last edited by sunburnt on Tue 12 Mar 2013, 19:35; edited 4 times in total
|
|
Back to top
|
|
 |
R-S-H
Joined: 18 Feb 2013 Posts: 257
|
Posted: Tue 12 Mar 2013, 19:26 Post subject:
|
|
Hi.
To use sfs_load from command line use option --cli. I do use this inside the RunScripts from LazY Puppy's SFS P.L.U.S. to get the SFS loaded without the GUI.
Full command I do use:
| Code: | | sfs_load --cli --skip-fixmenus --quiet "$LP2BDL/$nogo_file" |
or to unload
| Code: | | sfs_load --unload --cli --skip-fixmenus --quiet "$LP2BDL/$nogo_file" |
This works in sfs_load 1.9.0 and above!
--cli = command line interface
--skip-fixmenus = NO fixmenus is executed after loading the SFS (LazY Puppy did need this, because the menu entries are already inside the OS)
--quiet = NO Messages/Warnigs are given
RSH
_________________ Freiheit für Mollath - JETZT !!!
Free Mr. Mollath !!!
Send the People responsible to The Hague International Court for trial !!!
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9381 Location: SwedenEurope
|
Posted: Wed 13 Mar 2013, 05:16 Post subject:
|
|
Thanks for sharing that way to do sfs load.
I should test it ASAP but just now I am into other things.
I make a bookmark here so I can find it again. Thanks
_________________
I'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2671 Location: Kiel,Germany
|
Posted: Wed 17 Apr 2013, 13:29 Post subject:
|
|
Works good to load a dpup_devx_007.sfs into a ram boot of a dpup-005.sfs without annoying anything about wrong version and whatsoever . Has some much text about what and what not recommended is, but that is personal taste .
Nevertheless ( latest /root/Downloads/sfs_load-1.9.6-2.pet ) :
Dragged the _devx_ into the input box of the gui and got this later :
Seems some '\n' jumped into the $VARS and copying failed (crappy mrxvt, encoding or LANG mismatches possible ?)
| Code: | # sfs_load
sfs_load: You seem running Puppy without 'pupsave'. Recommended to click 'Cancel ' here and reboot PC after making 'pupsave'.
But you can load extra SFS files for temporary use(may disappear at the next boo t). Click 'OK' if you want to continue.
find: `/initrd/mnt/dev_ro2\n/mnt/sdb1': No such file or directory
/usr/sbin/sfs_load: line 762: 24578 Terminated $GTKDIALOG -p DIALOG -c >/dev/null
/usr/sbin/sfs_load: line 265: 26728 Terminated $GTKDIALOG -p DIALOG -c >/dev/null
cp: cannot create regular file `/initrd/mnt/dev_ro2\n/mnt/sdb1': No such file or directory
sfs_load: fatal:Failed to copy '/mnt/sda8/JUMP-8/dpup_devx_007.sfs' to '/initrd/ mnt/dev_ro2 /mnt/sdb1'.
/usr/sbin/sfs_load: line 265: 26890 Terminated $GTKDIALOG -p DIALOG -c >/dev/null
find: `/initrd/mnt/dev_ro2\n/mnt/sdb1': No such file or directory
/usr/sbin/sfs_load: line 762: 27355 Terminated $GTKDIALOG -p DIALOG -c >/dev/null
/usr/sbin/sfs_load: line 265: 27899 Terminated $GTKDIALOG -p DIALOG -c >/dev/null
gtk-update-icon-cache: Cache file created successfully.
Generating /root/.icewm/menu...
Generating /root/.jwmrc...
/usr/sbin/sfs_load: line 357: 27998 Terminated $GTKDIALOG -p DIALOG -c >/dev/null
/etc/profile.d/pkgconfig: line 1: 28141 Terminated $GTKDIALOG -p DI ALOG -c >/dev/null
sfs_load: Running script background...
/usr/sbin/sfs_load: line 1024: 29212 Terminated $GTKDIALOG -p DIALO G -c >$TMPFILE
sfs_load: --stop
find: `/initrd/mnt/dev_ro2\n/mnt/sdb1': No such file or directory
/usr/sbin/sfs_load: line 762: 29659 Terminated $GTKDIALOG -p DIALOG -c >/dev/null
sfs_load: --stop
# sfs_load --version
bash: sfs_loa--version: command not found
# sfs_load --version
sfs_load 1.9.6
#
|
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2671 Location: Kiel,Germany
|
Posted: Thu 09 May 2013, 08:52 Post subject:
|
|
Have not investigated the above further, but while running a Puppy with unionfs.ko instead of aufs.ko
I figured to mount devx with that line :
| Code: | | mount-FULL -t unionfs -o remount,add=:${MNTPNT}=rw none / |
Not sure about the =rw option for now, might be as well =ro .
Have read some pages on the net :
http://puppylinux.dreamhosters.com/unionFS/usage.txt
http://www.lug-kr.de/wiki/UnionFS
http://www.a110wiki.de/wiki/UnionFS
http://pl.digipedia.org/man/doc/view/unionfs.4/
(http://www.gsp.com/cgi-bin/man.cgi?topic=mount_unionfs)
|
|
Back to top
|
|
 |
watchdog
Joined: 28 Sep 2012 Posts: 118
|
Posted: Thu 09 May 2013, 10:12 Post subject:
sfs-load in precise 5.5 |
|
Perhaps I posted in a wrong place so I give a link here:
http://www.murga-linux.com/puppy/viewtopic.php?t=86068
I use frugal precise 5.5 with light-encrypted precisesave.
|
|
Back to top
|
|
 |
simargl

Joined: 11 Feb 2013 Posts: 362
|
Posted: Sun 12 May 2013, 04:59 Post subject:
|
|
Hi
sfs_load is great little program, very useful, opens new horizons
... but now that gtk3 is becoming new de facto standard, I'm interested
what are your plans: will it be ported to new gtkdialog versions and work with gtk3?
Cause, if yes that would be great...
Also I need to report one bug: with util-linux version 2.23 sfs unloading seems to be broken - it reports success but module is still loaded, and if I run sfs_load with -d option (debug) it shows something like "cannot disassociate /dev/loop6"
Cheers!
|
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 4001 Location: Arizona, U.S.A.
|
Posted: Mon 13 May 2013, 00:59 Post subject:
|
|
simargl; Perhaps the branch is in use so it can`t be removed.
Try unmounting it and see if you get the usual error: Device or resource busy
|
|
Back to top
|
|
 |
simargl

Joined: 11 Feb 2013 Posts: 362
|
Posted: Mon 13 May 2013, 01:40 Post subject:
|
|
I remember that manually unmounting /initrd/pup_ro6 worked, I wanted to fix sfs_load script but could not so went back to util-linux 2.22.2. I think script could not find mount point, so it tried to unmount wrong directory and that is the reason why it reports success, even though file is still loaded.
Changes in Util-linux 2.23
http://permalink.gmane.org/gmane.linux.utilities.util-linux-ng/7503
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2247 Location: Japan
|
Posted: Mon 13 May 2013, 04:26 Post subject:
losetup with Util-linux 2.23 |
|
Thanks for the information simargl.
The losetup in usual puppy is a link to the busybox. So, it depends on the busybox.
Anyway, I installed util-linux 2.23 on Presice Puppy 5.5 for testing.
# losetup --version
losetup from util-linux 2.23
Now i am testing...
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2247 Location: Japan
|
Posted: Tue 14 May 2013, 21:05 Post subject:
sfs_load-1.9.7 |
|
Download: http://shino.pos.to/linux/puppy/
Updatet: sfs_load-1.9.7.pet (2013-05-14)
#14 May 2012 v1.9.7: fix was faild more than 7 after reboot (thanks to nonki3476), fix was failed cleanwhite on flash, support util-linux-2.23 (thanks to simargl) , debugging log
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
simargl

Joined: 11 Feb 2013 Posts: 362
|
Posted: Wed 15 May 2013, 04:08 Post subject:
|
|
Thank you shinobar, I confirm that latest sfs_load 1.9.7 works great with util-linux 2.23.
|
|
Back to top
|
|
 |
|