Skip to content

Commit

Permalink
Mount atomfs molecule with overlay filesystem with xino=on.
Browse files Browse the repository at this point in the history
Without xino=on you can end up with duplicate inodes numbers in theo
same overlayfs  filesystem.
  • Loading branch information
smoser committed Aug 30, 2023
1 parent f6001ec commit f5d88c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/atomfs/molecule.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (m Molecule) overlayArgs(dest string) (string, error) {

// Note that in overlayfs, the first thing is the top most layer in the
// overlay.
mntOpts := "index=off,lowerdir=" + strings.Join(dirs, ":")
mntOpts := "index=off,xino=on,lowerdir=" + strings.Join(dirs, ":")
return mntOpts, nil
}

Expand Down

0 comments on commit f5d88c1

Please sign in to comment.