UnionFS w/ AUFS --- Lines Lines 994 to 997 of /initrd/init

Using applications, configuring, problems
Post Reply
Message
Author
s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

UnionFS w/ AUFS --- Lines Lines 994 to 997 of /initrd/init

#1 Post by s243a »

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

At least it did in 2007

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/Fixi ... 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: Select all

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/i ... nitrd/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.h ... %28UDBA%29

But does not address the unionfs parts.

Post Reply