/bindings
/history
-/1000-loopback-mounting.d/fedora-29.img
+/1000-loop-mounting.d/fedora-29.img
/2000-xz-compressed.d/Fedora-Cloud-Base-29-1.2.x86_64.raw.xz
/2200-partitioning.d/boot.img
/2200-partitioning.d/.root.img
<div id="titlepage">
<p class="title">
- Better loopback mounts with NBD — <br/>
- <small>Take your loopback mounts to the next level with nbdkit</small>
+ Better loop mounts with NBD — <br/>
+ <small>Take your loop mounts to the next level with nbdkit</small>
</p>
<p><author>
Richard W.M. Jones <br/>
<small>rjones @ redhat.com</small>
</author></p>
<p style="width: 75%; margin: auto; text-align: left;">
- <b>Loopback devices</b> let you turn a raw file into a device.
- <b>Loopback mounts</b> let you mount filesystems from a raw file.
+ <b>Loop devices</b> let you turn a raw file into a device.
+ <b>Loop mounts</b> let you mount filesystems from a raw file.
<b>Network Block Device</b> with the <b>nbdkit</b> server takes
this concept to the next level, elegantly solving simple problems
like how to mount filesystems from a compressed file, but as we
source functions
# Title.
-export title="Loopback mounting"
+export title="Regular loop mounting"
# History.
remember 'ls -lh'
remember 'ls -l /tmp/mnt'
./restore
-pushd 1000-loopback-mounting.d >/dev/null
+pushd 1000-loop-mounting.d >/dev/null
terminal
popd >/dev/null
<h1>In summary</h1>
<ul>
-<li> Loopback mounts — don't do much.
-<li> Loopback mounts with NBD and nbdkit — infinitely flexible.
+<li> Loop mounts — don't do much.
+<li> Loop mounts with NBD and nbdkit — infinitely flexible.
<li> Lots of plugins, or write your own.
<li> Software development and testing.
<li> nbdkit 1.8 now available in all major Linux distros.
#unset ftp_proxy
# Check the files are precreated.
-if [ ! -f 1000-loopback-mounting.d/fedora-29.img ]; then
- pushd 1000-loopback-mounting.d
+if [ ! -f 1000-loop-mounting.d/fedora-29.img ]; then
+ pushd 1000-loop-mounting.d
virt-builder fedora-29
popd
fi
fi
if [ ! -f 2200-partitioning.d/boot.img ]; then
- guestfish --ro -a 1000-loopback-mounting.d/fedora-29.img -i <<EOF
+ guestfish --ro -a 1000-loop-mounting.d/fedora-29.img -i <<EOF
download /dev/sda2 2200-partitioning.d/boot.img
download /dev/sda3 2200-partitioning.d/swap.img
# Save to hidden file.