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 Fri 19 Sep 2014, 15:59
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
A SAVE-session to directory option added for PUPs [CLOSED]
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 23 of 24 [348 Posts]   Goto page: Previous 1, 2, 3, ..., 21, 22, 23, 24 Next
Author Message
peebee


Joined: 21 Sep 2008
Posts: 1419
Location: Malvern, Worcs, UK

PostPosted: Sat 07 Jun 2014, 01:57    Post subject: Re: updated version of ydrv_slacko_5.7.sfs  

gyro wrote:
Creating deltas is a technology I'm not familiar with. Hence the new ydrv.


Hi gyro

FYI....

Menu - Utility - Xdelta file difference manager

Cheers
peebee

_________________
LxPup-14.03 = Puppy + LXDE
Back to top
View user's profile Send private message 
gyro

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

PostPosted: Sat 07 Jun 2014, 01:58    Post subject:  

mavrothal wrote:
So please use this new puppy for further savefolder development. Will help developing this new puppy and make my life easier.
Please note that the "sfs_load" in Tahr Puppy 5.8.0.8 is not patched, and will not find any sfs files in the frugal install directory, if a save directory is used.

gyro
Back to top
View user's profile Send private message 
gyro

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

PostPosted: Sat 07 Jun 2014, 02:04    Post subject:  

@peebee
I should have added;
It's also something that's not on my bucket list.
gyro
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 1618

PostPosted: Sat 07 Jun 2014, 03:17    Post subject:  

gyro wrote:
Please note that the "sfs_load" in Tahr Puppy 5.8.0.8 is not patched, and will not find any sfs files in the frugal install directory, if a save directory is used.

Correct.
SFS_load not in woof but I'm sure shinobar will fix that in his next version (I think there is also another fix by 01Micko, about the new woof icon set, that is pending)

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7802
Location: qld

PostPosted: Sat 07 Jun 2014, 03:27    Post subject:  

mavrothal wrote:
(I think there is also another fix by 01Micko, about the new woof icon set, that is pending)


No, that was grub4dos-config, but similar does apply.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2630
Location: Japan

PostPosted: Sat 07 Jun 2014, 08:04    Post subject: My status  

Thanks to all.
I am slow but following you.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
gyro

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

PostPosted: Sun 08 Jun 2014, 03:24    Post subject: Utility to convert a save file to a save directroy  

I have attached a script called "savefile2dir". It converts a save file to a save directory.
It needs to be run in another puppy or after a "pfix=ram" boot.
It attempts to be safe and detect if the save file is mounted, or stored on an unsupported partition.

The script is a severely hacked "filemnt".

The file has a fake ".gz" extension. Store it somewhere in /mnt/home and rename it to remove the ".gz".

gyro
savefile2dir.gz
Description  It's a script, remove the fake ".gz" extension.
gz

 Download 
Filename  savefile2dir.gz 
Filesize  3.93 KB 
Downloaded  40 Time(s) 
Back to top
View user's profile Send private message 
gyro

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

PostPosted: Sun 08 Jun 2014, 09:02    Post subject: encrypted save directory  

Earlier in the thread, shinobar commented that an encrypted save directory should be possible using something like "cryptofs" or "ecryptfs".
I've done a little investigation, and played with a similar product called "encfs", in a running system. I chose "encfs" because it's totally in user space, and I could download it from the Wheezy repo.
It all looks rather promising because they "mount" an encrypted directory on to an unencrypted directory.
So, in the "init" script using "ecryptfs",
Code:
mount -o bind /mnt/dev_save${PUPSAVEFILE} $CREATEPUPSAVE2FS
becomes
Code:
mount -t ecryptfs /mnt/dev_save${PUPSAVEFILE} $CREATEPUPSAVE2FS
for an encrypted save directory.
Of course it will be a bit more complicated than just that.
The downside is that "ecryptfs" is a kernel module which is not enabled in puppy kernels. So it's going to be difficult to test "ecryptfs" until someone compiles a puppy kernel with
Code:
CONFIG_ECRYPT_FS=m

gyro
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4276
Location: Earth

PostPosted: Sun 08 Jun 2014, 18:17    Post subject:  

This kernel change would be needed in both 32 & 64 bit future PUPs. And kernel developers would need to know as well. Which for "DUMBIES" like me, I ask:
  • Is there a "PUP Standard Kernel parameters" offering which maps to the kernel which fell into the "Official" PUPs of the past?
  • AND, Is there one that is setup for the WOOF-CE developers, today?
  • Is there value for distro developers to have such?
If one does not already exist, seemingly a discussion area to continue to tweak an agreed kernel parameter set would be useful as time and Linux advances.

The PCs that are in this community do NOT match anything we were seeing, generally, 5 years ago. And, with Microsoft's newest releases in hardware and Apple's upcoming releases, our community will undergo the effects of these new devices; just as ARM devices have affected us. Thus the kernel parameter consistency across PUPs will be generally very important in user reporting and use.

Here to help

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 1618

PostPosted: Mon 09 Jun 2014, 03:41    Post subject:  

@shinobar
Noticed that your shutdownconfig has "fido" inactivated. However I could not see any problem when reinstated. Is it because is not present in pupsaveconfig or somehow is incompatible with svefolder? (how?)

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2630
Location: Japan

PostPosted: Mon 09 Jun 2014, 06:15    Post subject: fido  

mavrothal wrote:
@shinobar
Noticed that your shutdownconfig has "fido" inactivated. However I could not see any problem when reinstated. Is it because is not present in pupsaveconfig or somehow is incompatible with svefolder? (how?)

The current shutdownconfig in the woof offers 'fido', but says
'fido CURRENTLY EXPERIMENTAL STATUS, PLEASE CHOOSE Administrator'.
If you want to try 'fido', you can do it after, using the loginmanager.

In my opinion, the current 'fido' implementation has a problem in the fundamental design. 'fido' shold have /home/fido for its home.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2630
Location: Japan

PostPosted: Tue 10 Jun 2014, 08:30    Post subject: save_to_directory PET  

mavrothal wrote:
So if a pet is provided will be much easier to test and much closer to woof (so hopefully next Tahr puppy will include it Wink ).

I have converted gyro's most recent ydrv_slacko_5.7.sfs,
http://www.murga-linux.com/puppy/viewtopic.php?p=781663#781663
into a PET, save_to_directory-20140606.pet
http://shino.pos.to/party/bridge.cgi?puppy/test/pupsave_dir/
It's comfortable with the Tahr Puppy 5.8.0.8.

USAGE:
1. Boot the Tahr Puppy 5.8.0.8 with RAM mode.
2. Install the save_to_directory-20140606.pet.
3. Shutdown/rebot and choose the pupsave options.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 1618

PostPosted: Wed 11 Jun 2014, 01:37    Post subject:  

Tried to add savefolder support in woof-CE but somehow it breaks gtk and all icons are gone form the desktop (no . gtk-update-icon-cache will not fix this).
Anyone has any idea why Confused
(Attached the broken shutdowncofig for your convenience)
shutdownconfig.gz
Description  Broken shutdownconfig
gz

 Download 
Filename  shutdownconfig.gz 
Filesize  13.18 KB 
Downloaded  23 Time(s) 

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2630
Location: Japan

PostPosted: Wed 11 Jun 2014, 04:40    Post subject: shutdowncofig  

mavrothal wrote:
Tried to add savefolder support in woof-CE but somehow it breaks gtk and all icons are gone form the desktop (no . gtk-update-icon-cache will not fix this).
Anyone has any idea why Confused
(Attached the broken shutdowncofig for your convenience)

i have something want to say, but the shutdowncofig mavrothal showed fundamentally worked on the Tahr Puppy. I replaced /etc/rc.d/rc.shutdown with the one form gyro's 2014-06-06 ydrv, /usr/sbin/shutdownconfig with the one mavrothal showed(needed executable flag).

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 1618

PostPosted: Wed 11 Jun 2014, 06:45    Post subject: Re: shutdowncofig  

shinobar wrote:
I replaced /etc/rc.d/rc.shutdown with the one form gyro's 2014-06-06 ydrv,

That's what was missing Embarassed
Thanks
Latter: Fixed! So next puppy build from woof-CE testing will have savetofolder support

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 23 of 24 [348 Posts]   Goto page: Previous 1, 2, 3, ..., 21, 22, 23, 24 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1048s ][ Queries: 13 (0.0196s) ][ GZIP on ]