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 Sun 19 Aug 2018, 01:27
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
UnionFS w/ AUFS --- Lines Lines 994 to 997 of /initrd/init
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
s243a

Joined: 02 Sep 2014
Posts: 1107

PostPosted: Wed 27 Dec 2017, 04:03    Post subject:  UnionFS w/ AUFS --- Lines Lines 994 to 997 of /initrd/init  

What does it mean that puppy supports both UnionFS and AUFS.

At least it did in 2007

Quote:


chooselocale fixed, snapmergepuppy updated
Saturday, May 12, 2007, 09:37 PM
The /usr/sbin/chooselocale script, invoked from the "Desktop -> Chooselocale country localisation" menu, had a couple of bugs, now fixed. Thanks to forum-member 'gray' for reporting this -- a couple of other people also reported problems with this script earlier.

Forum member andrei has examined my 'snapmergepuppy' script for handling flushing of RAM to the pup_save file, and made some improvements. This is for aufs. andrei has a very sharp mind to figure out the fine details of these tricky whiteout files! I've updated to andrei's new snapmergepuppy, actually the file is now 'snapmergepuppy-aufs', as Puppy is supporting both aufs and unionfs. There is also 'snapmergepuppy-unionfs', and 'snapmergepuppy' is a symlink created at bootup that points to the correct script.
Mark South
Wednesday, May 16, 2007, 05:19 PM
Barry, in addition to the new choose-locale process, have you added any new locales to the old set?

Cheers,
Mark

http://bkhome.org/archive/blog1/news215ce-216.htm

Although later issues to snapmerge were being fixed as late as 2014
http://woof-ce.26403.n7.nabble.com/Fixing-snapmerge-td240.html

since I do not know what was meant by "both were supported" I certainly can't say if both are still supported. I did notice though when looking through the source code though; statements which seem to reference both

Line
Code:

mount -t tmpfs tmpfs /mnt/tmpfs
[ -d "/mnt/tmpfs/pup_rw" ] || mkdir /mnt/tmpfs/pup_rw
mount -t aufs -o udba=reval,diropq=w,br=/mnt/tmpfs/pup_rw=rw,xino=/mnt/tmpfs/.aufs.xino unionfs /pup_new
[ $? -eq 0 ] || fatal_error "${L_ERROR_FAILED_AUFS_STACK}"

https://github.com/puppylinux-woof-CE/initrd_progs/blob/master/0initrd/init

I would like to better understand this little bit of code so that I can better understand how puppy's layered file system works.

Edit: This link seems relevent to part of the above:
http://aufs.sourceforge.net/aufs2/man.html#User%27s%20Direct%20Branch%20Access%20%28UDBA%29

But does not address the unionfs parts.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0379s ][ Queries: 14 (0.0116s) ][ GZIP on ]