commit | cbb44f0935974bba997f8db0458fac5739ae0009 | [log] [tgz] |
---|---|---|
author | Amir Goldstein <amir73il@gmail.com> | Fri Jul 07 11:26:29 2023 +0300 |
committer | Amir Goldstein <amir73il@gmail.com> | Sat Aug 12 19:02:50 2023 +0300 |
tree | c32f08f3a699457bbcf17a0e6b6e180d50732233 | |
parent | d9544c1b0d9e14a66936814dcc8a85861ea1b99f [diff] |
ovl: auto generate uuid for new overlay filesystems Add a new mount option uuid=auto, which is the default. If a persistent UUID xattr is found it is used. Otherwise, an existing ovelrayfs with copied up subdirs in upper dir that was never mounted with uuid=on retains the null UUID. A new overlayfs with no copied up subdirs, generates the persistent UUID on first mount. Signed-off-by: Amir Goldstein <amir73il@gmail.com>