(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 04 Dec 2020, 00:26
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
SfsBuild v22 - sfs file builder
Moderators: Flash, Ian, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
gyro

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

PostPosted: Sat 06 Jun 2020, 03:27    Post subject:  SfsBuild v22 - sfs file builder
Subject description: from a list of other sfs files and/or directories
 

What is it?

SfsBuild uses a list of sfs files and/or directories, and merges these to build a new sfs file.
It provides a facility to define an ordered list of the elements that become part of the sfs file.
Each element in the list can be an sfs file or a directory.
And, of course, a facility to generate an sfs file from the list.

The default output filename is <sfs definition>.sfs in the current working directory,
but if it is recognised as a system sfs, e.g. 'adrv', 'ydrv', then the output filename will be the standard system sfs filename, in the Puppy install directory.
These defaults can be overidden by the 'Filename' facility, which allows the specifiation of the 'Filename' and the 'Folder'.
The specified filename can include "%D" which will be replaced by a date string when writing the output file;
if the filename includes "%T", it will be replaced by a time string when writing the output file.

So it could be used to maintain an "adrv...sfs", combining many sfs files.
Or it could be used to maintain the sfs file for a project that consists of many elements, each in their own directory.

It is an example of how to use a stack to merge multiple directories, (both aufs and overlayfs).


Try it?

I have attached 'sfsbuild_22.sfs':
This sfs is meant to be added as an Extra sfs.
If you are using "mio" or "StackExtra", it can be added to either the 'BELOW' list or the 'ABOVE' list.
This should add 'SfsBuild - sfs file builder' to the 'Setup' menu.


Why?

Like "StackExtra", this is partly in response to messages on the forum about adding bdrv, cdrv etc, that suggest that having only the adrv and the ydrv as sfs's loaded above the puppy...sfs, is too restrictive.
But, instead of providing for more sfs's above 'puppy...sfs', it can merge all the sfs's that might be wanted above 'puppy...sfs', into a single sfs, e.g. as 'adrv...sfs'.
Simply create an sfs definition called 'adrv', add your sfs files to this definition, and produce the output 'adrv...sfs'.
If the 'adrv...sfs' file on disk is busy, i.e. you are running with 'pfix=nocopy', the output file will be 'adrv...-NEW.sfs'.

gyro
sfsbuild_22.sfs.gz
Description  gunzip to produce sfs file
gz

 Download 
Filename  sfsbuild_22.sfs.gz 
Filesize  11.88 KB 
Downloaded  158 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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: 2.5424s ][ Queries: 12 (2.2699s) ][ GZIP on ]