~smoser/cloud-utils/trunk.lp1630274

  • Committer: Scott Moser
  • Date: 2016-10-04 15:11:26 UTC
  • Revision ID: smoser@ubuntu.com-20161004151126-zydhk74jv7me9ym6
mount-image-callback: try mounting overlay rather than checking first

The logic to determine if mount would work was flawed in it assumed
that both or neither of the following would succeed:
  modprobe --quiet --use-blacklist fstype
  mount -t fstype would succeed

That logic failed when modprobe could not load the module due to
being in a chroot or some other reason.  The change here is to just
do try the mount.  In order to avoid confusing output about trying
to mount overlayfs we first try mounting overlay.  If that fails
and 'overlay' seems present in /proc/filesystems, then do not bother
trying to mount overlayfs.
Filename Latest Rev Last Changed Committer Comment Size
..
source 278.1.1 8 years ago Scott Moser copy wily (same as xenial) packaging for consisten Diff
tests 302 7 years ago Scott Moser debian: add auto package test. Diff
changelog 303 7 years ago Scott Moser mount-image-callback: support 'overlay' filesystem 5.2 KB Diff Download File
cloud-guest-utils.install 278.1.1 8 years ago Scott Moser copy wily (same as xenial) packaging for consisten 79 bytes Diff Download File
cloud-image-utils.install 278.1.2 8 years ago Scott Moser split out euca2ools dependency into cloud-utils-eu 211 bytes Diff Download File
cloud-utils-euca.install 278.1.2 8 years ago Scott Moser split out euca2ools dependency into cloud-utils-eu 188 bytes Diff Download File
compat 1 14 years ago Bazaar Package Importer Initial release. 2 bytes Diff Download File
control 302 7 years ago Scott Moser debian: add auto package test. 2.1 KB Diff Download File
copyright 245 10 years ago Scott Moser debian/copyright: fix warnings 975 bytes Diff Download File
README.source 279 8 years ago Scott Moser sync packaging with what is in xenial and split eu 389 bytes Diff Download File
File rules 262.1.2 9 years ago Scott Moser update trunk packaging 45 bytes Diff Download File
File update-sync-to-main 278.1.1 8 years ago Scott Moser copy wily (same as xenial) packaging for consisten 1.7 KB Diff Download File
watch 278.1.1 8 years ago Scott Moser copy wily (same as xenial) packaging for consisten 123 bytes Diff Download File