Why Do Save Folders Have Two SubFolders? (when OverlayFS is used)

Moderator: Forum moderators

Post Reply
JusGellin
Posts: 754
Joined: Fri Jan 19, 2024 11:12 pm
Has thanked: 90 times
Been thanked: 92 times

Why Do Save Folders Have Two SubFolders? (when OverlayFS is used)

Post by JusGellin »

Why does the puppy save file have two folders:
One called upper which has a lot in it.
One called work which doesn't have anything in it.

Thanks

Last edited by bigpup on Tue Jul 30, 2024 1:47 pm, edited 1 time in total.
Reason: added info to subject to be more specific
User avatar
rockedge
Site Admin
Posts: 6817
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2968 times
Been thanked: 2791 times
Contact:

Re: Why Do Save Folders Have Two SubFolders?

Post by rockedge »

This is how the OverlayFS works. Other Puppy Linux's use AUFS to create the file system stack and do not use this scheme

You will notice that FirstRib and Kennel Linux also use overlayfs for the file system stack creation and have similar directories. All of the session changes are stored in upper

geo_c
Posts: 2943
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2271 times
Been thanked: 911 times

Re: Why Do Save Folders Have Two SubFolders?

Post by geo_c »

rockedge wrote: Tue Jul 30, 2024 2:38 am

This is how the OverlayFS works. Other Puppy Linux's use AUFS to create the file system stack and do not use this scheme

You will notice that FirstRib and Kennel Linux also use overlayfs for the file system stack creation and have similar directories. All of the session changes are stored in upper

Reminds me of a question always in the back of my mind.

When I copy my upper_changes from one install to another, I ususally don't include the work folder, because it seems if my memory is clear, that sometimes including the work folder from one drive to another causes an Xfce policy kit notification (not necessarily an error) when booting on the copied install. So I normally don't copy the work folder and delete the one in the target install before booting, if it's already there.

Is this a correct understanding of mine? What is the recommended approach for migrating upper_changes in regards to the work folder?

geo_c
Old School Hipster, and Such

User avatar
rockedge
Site Admin
Posts: 6817
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2968 times
Been thanked: 2791 times
Contact:

Re: Why Do Save Folders Have Two SubFolders? (when OverlayFS is used)

Post by rockedge »

@geo_c You can discard the /work directory when moving, saving, renaming an /upper_changes. It is only being used as a temporary cache during system runtime. It is created automatically on system start if not present during the file system stack creation during the boot stages.

Post Reply

Return to “BookwormPup”