fredx181 wrote: Mon Mar 10, 2025 4:35 pm
miltonx wrote: Fri Mar 07, 2025 7:39 am
Is there any command to check which folders have been added as AUFS branches? I checked aufs man page but there does not seem to be any such info.
I tried a dirty workaround by re-adding a specific folder to check if it has already been added with this command, but unfortunately this command can be executed multiple times without popping any error (although actually it was only added ONCE, on the first run).
...
If your question is about specifically a 'dog' system using aufs (latest are using overlayfs, btw) , I noticed "root@live" at your later post, so I think so (but you didn't indicate, so just guessing).
Simply ls /mnt/live/memory/images
will give the folders from the layered filesystem, or for a graphical view go there with the file manager.
edit: curious, what is your reason for wanting to know ? Note that for Puppy it's all different.
Yes it's a dog/puppy like system, but I only took puppy linux's kernel, while the system is debootstrap made into a minimal debian, borrowing part of your make script. Therefore it's different from a dog/puppy, and there is no /mnt/live/memory/images.
The reason I need to check branches is that my sfs-load and sfs-unload scripts are kind of different, and sometimes my sfs-unload fails, so I need to check the branches to see if I need to unload it again.