- 278. By Scott Moser on 2015-11-04
callback: use qemu-nbd --read-only for safer read only
use qemu-nbd --read-only when using qemu and mounting read-only.
The value in this is that the block device appears read-only in this
- 277. By Scott Moser on 2015-11-04
callback: add '--overlay' to use overlayfs mounts
--overlay means you can easily leave changed files around.
$ sudo rm -Rf mp; sudo mkdir mp;
$ sudo ./mount-
image-callback d.img \
--overlay --mountpoint=mp --system-resolvconf \
chroot mp -- apt-get update -q
$ find mp -type f
lib/apt/ periodic/ update- success- stamp
also useful to perform operations on a read-only fileystem
or one that doesnt have enough space in it without resizing.
- 276. By Scott Moser on 2015-11-04
callback: add '--mountpoint' flag to mount to an existing dir
instead of always getting a temporary directory, support the user
specifying the mountpoint.
image-callback --mountpoint=mp -- tar -C mp -cf - .
- 274. By Scott Moser on 2015-09-17
callback: fix regression in attempt to give better error
previous commit tried to give a better error message by ensuring
that the target image was a file, but did so before the 'img' variable
Simple fix is to move the check till after the variable is set.
- 273. By Scott Moser on 2015-09-04
callback: pass --format when invoking qemu-nbd
qemu-nbd now kind of needs the --format flag for sanity.
Additionally, in some cases (such as not specifying --format)
qemu-nbd would leave the device connected, but exit non-zero.
- 270. By Scott Moser on 2015-07-15
growpart: silence error output of older growpart when determining type
older growpart will write warnings like:
WARNING: GPT (GUID Partition Table) detected ...
meaning if you ran current growpart with older sfdisk, you'd see confusing
- 269. By Scott Moser on 2015-05-15
growpart: when growing dont grow past the secondary gpt table
this will allow disks in mbr format that are grown with growpart
to subsequently be converted to gpt.
other things have to be done right in order for that to be
useful, but it wastes such a small amount, allow for it.
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)