debian/0000755000000000000000000000000012246447313007174 5ustar debian/control0000644000000000000000000000121412246360076010575 0ustar Source: 9mount Section: admin Priority: optional Maintainer: Andrew Shadura Build-Depends: debhelper (>= 9) Standards-Version: 3.9.4 Homepage: http://sqweek.net/code/9mount/ Package: 9mount Architecture: linux-any Depends: ${misc:Depends}, ${shlibs:Depends} Description: plan9 filesystem (v9fs) user mount utilities 9mount is a set of SUID mounting tools for use with v9fs to help cope with linux's poor mount support. . The tools offer a level of security - 9mount will only let you mount over non-sticky directories you have write access to, and 9umount will only let you unmount 9p partitions that you mounted yourself. debian/9mount.lintian-overrides0000644000000000000000000000023412240125244013774 0ustar 9mount: setuid-binary usr/bin/9bind 4755 root/root 9mount: setuid-binary usr/bin/9mount 4755 root/root 9mount: setuid-binary usr/bin/9umount 4755 root/root debian/changelog0000644000000000000000000000366712246446477011074 0ustar 9mount (1.3-10) unstable; urgency=low * Update the homepage (Closes: #730858). * Fix manpages. * Build on Linux only. -- Andrew Shadura Sat, 30 Nov 2013 21:33:35 +0100 9mount (1.3-9) unstable; urgency=low * Drop nearly useless debug package. -- Andrew Shadura Tue, 12 Nov 2013 12:30:04 +0100 9mount (1.3-8) unstable; urgency=low * Reintroduce the package with a new maintainer. * Update to Debhelper 9. * Use 3.0 (quilt) format. -- Andrew Shadura Mon, 11 Nov 2013 11:21:57 +0100 9mount (1.3-7) unstable; urgency=low * Removing vcs fields. * Orphaning package. -- Daniel Baumann Thu, 27 Aug 2009 10:25:46 +0200 9mount (1.3-6) unstable; urgency=low * Updating maintainer field. * Updating vcs fields. * Updating package to standards version 3.8.3. -- Daniel Baumann Thu, 20 Aug 2009 17:38:01 +0200 9mount (1.3-5) unstable; urgency=low * Minimalizing rules file. * Sorting depends. * Adding misc depends. -- Daniel Baumann Wed, 05 Aug 2009 10:26:02 +0200 9mount (1.3-4) unstable; urgency=low * Updating section of the debug package. * Tidy rules file. * Updating package to standards version 3.8.2. * Updating year in copyright file. * Using correct rfc-2822 date formats in changelog. -- Daniel Baumann Thu, 16 Jul 2009 23:34:26 +0200 9mount (1.3-3) unstable; urgency=low * Replacing obsolete dh_clean -k with dh_prep. * Prefixing debhelper files with package name. -- Daniel Baumann Wed, 17 Dec 2008 21:01:00 +0100 9mount (1.3-2) unstable; urgency=low * Updating vcs fields in control file. * Adding debug package. -- Daniel Baumann Sat, 20 Sep 2008 22:25:00 +0200 9mount (1.3-1) unstable; urgency=low * Initial release. -- Daniel Baumann Sun, 03 Aug 2008 16:10:00 +0200 debian/source/0000755000000000000000000000000012240130747010466 5ustar debian/source/format0000644000000000000000000000001412240130747011674 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000317412240125244011122 0ustar Author: sqweek Download: http://sqweek.dnsdojo.org/code/9mount/ Files: * Copyright: (C) 2008 sqweek License: ISC Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: debian/* Copyright: (C) 2008-2009 Daniel Baumann License: ISC Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. debian/patches/0000755000000000000000000000000012246447122010621 5ustar debian/patches/manpages.patch0000644000000000000000000000510412246447122013435 0ustar --- a/9mount.1 +++ b/9mount.1 @@ -3,7 +3,7 @@ 9mount, 9bind, 9umount \- mount/unmount 9p filesystems .SH SYNOPSIS .B 9mount -[ insuvx ] [ -a SPEC ] [ -c CACHE ] [ -d DEBUG ] [ -m MSIZE ] DIAL MOUNTPT +[ insuvx ] [ \-a SPEC ] [ \-c CACHE ] [ \-d DEBUG ] [ \-m MSIZE ] DIAL MOUNTPT .PP .B 9bind OLD NEW @@ -22,48 +22,48 @@ .br virtio!CHANNEL .br -- +\- .PP where SOCKET is the name of a file representing a socket, HOST is a hostname, PORT is a port number or service name, and CHANNEL is a -virtio channel name (currently ignored). - indicates that 9p messages +virtio channel name (currently ignored). \- indicates that 9p messages should be read/written on stdin/stdout. .B 9mount has several options: .TP --i +\-i mount the file system with your uid/gid .TP --n +\-n dry-run, print mount command to stderr but don't actually mount anything .TP --s -single attach mode - all users accessing the mount point see the same +\-s +single attach mode \- all users accessing the mount point see the same filesystem (by default they'll each see a unique attach) .TP --u +\-u use the 9P2000.u extensions .TP --v +\-v use device mapping .TP --x +\-x exclusive access - other users cannot access the mount point .TP --a SPEC +\-a SPEC SPEC determines which file tree to mount when attaching to file servers that export multiple trees .TP --c CACHE +\-c CACHE turns on caching using CACHE mode. Currently only .I loose cache mode is available, which is suitable for exclusive read-only mounts. .TP --d DEBUG -comma seperated list of channels for which to enable debug output. Possible +\-d DEBUG +comma separated list of channels for which to enable debug output. Possible channels include: err, devel, 9p, vfs, conv, mux, trans, alloc, fcall. .TP --m MSIZE +\-m MSIZE specifies the maximum length of a single 9p message in bytes. .PP .B 9bind @@ -78,16 +78,16 @@ the uname to provide to the server. .SH EXAMPLES .TP -9mount -i 'unix!/tmp/ns.'$USER'.:0/factotum' $HOME/n/factotum +9mount \-i 'unix!/tmp/ns.'$USER'.:0/factotum' $HOME/n/factotum mount p9p's factotum interface .TP 9mount 'tcp!sources.cs.bell-labs.com' $HOME/n/sources import plan 9's "sources" .TP -9mount -u -a/home/sqweek/mail 'tcp!wren!5640' $HOME/mail +9mount \-u \-a/home/sqweek/mail 'tcp!wren!5640' $HOME/mail import my maildir from my server(wren), being served by ufs .TP -9mount -i 'tcp!wren' $HOME/n/wren; 9bind $HOME/n/wren/home/sqweek/mail $HOME/mail +9mount \-i 'tcp!wren' $HOME/n/wren; 9bind $HOME/n/wren/home/sqweek/mail $HOME/mail again importing my maildir, this time serving via u9fs .SH BUGS .B 9mount debian/patches/series0000644000000000000000000000001712246445717012044 0ustar manpages.patch debian/rules0000755000000000000000000000061012246447264010256 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_build: $(MAKE) CFLAGS="$(CFLAGS)" override_dh_auto_test: override_dh_auto_install: $(MAKE) prefix=$(CURDIR)/debian/9mount/usr install chown root:root debian/9mount/usr/bin/* override_dh_fixperms: dh_fixperms -Xusr/bin/9bind -Xusr/bin/9mount -Xusr/bin/9umount .PHONY: override_dh_auto_test override_dh_auto_install override_dh_fixperms debian/compat0000644000000000000000000000000212240130257010360 0ustar 9 debian/9mount.links0000644000000000000000000000020012240125244011447 0ustar /usr/share/man/man1/9mount.1.gz /usr/share/man/man1/9bind.1.gz /usr/share/man/man1/9mount.1.gz /usr/share/man/man1/9umount.1.gz