Skip to content
Commit cbb44f09 authored by Amir Goldstein's avatar Amir Goldstein
Browse files

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: default avatarAmir Goldstein <amir73il@gmail.com>
parent d9544c1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment