Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion atomfs/molecule.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (m Molecule) overlayArgs(dest string) (string, error) {
// (for example, the stacker test suite), we want to be sure we don't both
// create or delete devices out from the other one when they have detected the
// device exists. so try to cooperate via this lock.
const advisoryLockPath = "/dev/shm/atomfs-lock"
var advisoryLockPath = path.Join(os.TempDir(), ".atomfs-lock")

func (m Molecule) Mount(dest string) error {
lockfile, err := os.Create(advisoryLockPath)
Expand Down