On Mon, Jan 07, 2008 at 11:14:03PM +0000, Roger Leigh wrote: > Raúl Sánchez Siles <[EMAIL PROTECTED]> writes: > > > Hello: > > Hi! > > > You said that the patch is commited on svn as of 08 Jul 2007, but > > there have been 2 releases since then 1.1.5-1 and 1.1.5-1.1, and > > also checked the svn repository but the patch doesn't seem to be > > applied. > > > > I would expect it on bin/schroot/setup dir. > > The patch I applied was to enable a general mechanism for allowing > user customisation of the setup scripts. This is in the current > release. The generic bit is the "script-config" option (default in > /etc/schroot/script-defaults. This file gets sourced by the setup > scripts to modify their behaviour. You could add an FSTAB option here > for 10mount to use. > > The next step now involves using this general mechanism for allowing > custom mounts. This has not yet been added--I'm still not sure of the > best approach here, though reading a separate file with the list of > mounts in it in the format of /etc/fstab is probably the best way to > go. However, there is of course the issue of parsing the file format. > I think a C++ $libexecdir/schroot-mount wrapper calling setmntent() > and getmntent(), then calling mount(1) with the appropriate options > for each mount in turn is the most portable approach here. Otherwise, > we can't portably read things like embedded spaces and escapes without > platform-specific knowledge.
Just FYI, I added a schroot-mount tool to bin/schroot-mount. It's adapted from schroot-listmounts, and does not work yet (it's a direct copy+search&replace), but will once I've added the setmntent/getmntent bits. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
signature.asc
Description: Digital signature