summaryrefslogtreecommitdiff
path: root/schulung_tools/rootfs_basic
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2018-09-06 11:06:11 +0200
committerJohn Ogness <john.ogness@linutronix.de>2018-09-06 11:06:11 +0200
commit5949b9031c9e75bc377f3cdb04f514f29bdcf69f (patch)
tree7f274309b165338ccf0d5e0fabfe355c1b5e9cb4 /schulung_tools/rootfs_basic
parent8b3a88ab325a5b5bb04182a5711ae06059c12f3e (diff)
dd-multi: workaround mount/umount issue
It seems that calling umount directly after mount can lead to a busy error. With strace on umount the problem goes away. It must be a very small window. Someone should debug the umount syscall on this. It is reproducable with: ./dd-multi.sh lx-trainer.img /dev/sdx (i.e. regular training image and no layers) Implement a workaround for this for now. From the comments... If there were no layer files added, umount might return a busy error since we just mounted. (Possibly a kernel bug.) By accessing the filesytem before unmounting it, the mount/umount problem seems to go away. Use "ls" to access the filesystem. Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'schulung_tools/rootfs_basic')
0 files changed, 0 insertions, 0 deletions