[Buildd-tools-devel] Bug#475515: schroot: Patch to allow loop mounts
Ionut Ciocirlan
ionut.ciocirlan at gmail.com
Mon Jun 30 02:53:20 UTC 2008
Followup-For: Bug #475515
Package: schroot
Version: 1.2.0-1
*** Please type your report below this line ***
I really wanted to use a loop mount without doing losetup before, so
this simple patch does it.
The downside is it doesn't lock the device, but then again you can loop
mount the same file multiple times anyway, so it's rather irrelevant.
A potential improvement could be grep-ing for something like -o\s.*\bloop\b
in $CHROOT_MOUNT_OPTIONS under 00check if the "device" is a file, but
that's not really necessary either since mount will fail and error nicely
with "not a block device (maybe try `-o loop'?)".
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (599, 'testing'), (598, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.25 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages schroot depends on:
ii libboost-filesystem1.34.1 1.34.1-11 filesystem operations (portable pa
ii libboost-program-options1.3 1.34.1-11 program options library for C++
ii libboost-regex1.34.1 1.34.1-11 regular expression library for C++
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libgcc1 1:4.3.1-2 GCC support library
ii liblockdev1 1.0.3-1.2+b1 Run-time shared library for lockin
ii libpam0g 0.99.7.1-6 Pluggable Authentication Modules l
ii libstdc++6 4.3.1-2 The GNU Standard C++ Library v3
ii libuuid1 1.40.8-2 universally unique id library
ii schroot-common 1.2.0-1 common files for schroot
schroot recommends no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: schroot.block.mounts.diff
Type: text/x-diff
Size: 1302 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080630/f6b1907a/attachment.diff
More information about the Buildd-tools-devel
mailing list