~raharper/curtin/trunk.vmtest_add_huge_disk_tests

Viewing all changes in revision 486.

  • Committer: Scott Moser
  • Date: 2017-04-12 01:38:04 UTC
  • mfrom: (483.2.1 trunk.umount_r)
  • Revision ID: smoser@ubuntu.com-20170412013804-5oarnqx8wnu1qq49
add recursive flag to do_umount, add --umount to block-meta

This adds a 'recursive' argument to util.do_umount, and utilizes
it from install.py. The basic idea of do_umount with recursive
is to walk through /proc/mounts in reverse and unmount anything
mounted under the provided mountpoint (or the mountpoint itself).

Also added here is use of that function from block-meta command.
We add a flag --umount to unmount filesystems at its end.


expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: