mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +02:00
The -d option to umount is unnecessary in cases where the original mount was created with '-o loop' (it says so in the man page). Moreover, there's a demonstrable bug when using 'umount -d' in this case: umount complains that it's unable to delete the loop device in this case. This change silences those messages. The demonstrated bug in umount is a plausible explanation for build failures characterized by unexpected failures of 'mount -o loop'; see the BUG, below. BUG=chromium-os:24975 TEST=run the changed commands, see no loopback devices leaked Change-Id: I1df9f60b40eabd279164b79ee66994ff9f644ee9 Reviewed-on: https://gerrit.chromium.org/gerrit/15998 Tested-by: Richard Barnette <jrbarnette@chromium.org> Reviewed-by: David James <davidjames@chromium.org> Commit-Ready: Richard Barnette <jrbarnette@chromium.org>
Description
Languages
Shell
93.1%
Python
6.9%