DOKK / manpages / debian 10 / aufs-tools / aumvdown.8.en
AUMVDOWN(8) Linux Aufs User's Manual AUMVDOWN(8)

aumvdown - moves-down a file between aufs branches

aumvdown [options] file_in_aufs ...

"aumvdown" command finds the first branch where the given file exists, copies it to the next lower writable branch, and then removes the file on the first branch.

There are several conditions to achieve the operation.

\(bu
It is obvious that when the file exists between the first and the next lower writable branches, or hidden by the whiteout or directory's opaque-ness, then the operation will fail. Because it breaks the consistency in aufs world.
\(bu
If a "opaque"-ed directory exists in the ancestors of the file and it would hide the moved-down file, then the operation will fail.

Similary if a whiteout (in effect) exists on any branch betwee source and destination branch and it would hide the moved-down file, then the operation will fail too. Note that the whiteout on "=ro" branch is not in effect, but "=ro+wh" branch.

\(bu
Files in use (both in aufs world and in branch filesystem) are not be handled.
\(bu
Hard-linked files are not be handled. For such file, remount aufs or use auplink(8) or aubrsync(8).
\(bu
Removed files are not be handled since it has no name.
\(bu
Directories are not be handled since the action doesn't behave recursively and the moving-down an empty dir has less meaning.

-B | --upper-branch-id Specify the source/target branch by its id. You can obtain the branch id via sysfs.
Prompt to the user for every given file.
Don't unlink the upper source file after copying-down.
Overwrite the lower target file if it exists.
Do the operation even if the lower branch is marked as readonly in aufs world ("=ro"). Note that the natively readonly filesystems (mounted with "-o ro") are not operatable still even if you specify this option.
Do the operation even if the upper branch is marked as readonly in aufs world ("=ro"). Note that the natively readonly filesystems (mounted with "-o ro") are not operatable still even if you specify this option.
Make it verbose particularly for the error cases.
Shows the command syntax.

aufs(5)

Copyright © 2011-2019 Junjiro R. Okajima

Junjiro R. Okajima

aufs3.9 and later Linux