summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGNU Hurd wiki engine <web-hurd@gnu.org>2007-11-13 09:40:04 +0000
committerGNU Hurd wiki engine <web-hurd@gnu.org>2007-11-13 09:40:04 +0000
commitbb48d10d6dfaa25db22c76614a58af2c19d32d56 (patch)
tree3dd36f62e9789ec8e0d0105be46d2586737c0948
parent081ebcf4edda78a8a11ea07f8650d99ce80ad230 (diff)
web commit by vincentvikram
-rw-r--r--settransexamples.mdwn49
1 files changed, 30 insertions, 19 deletions
diff --git a/settransexamples.mdwn b/settransexamples.mdwn
index 619fd494..20133924 100644
--- a/settransexamples.mdwn
+++ b/settransexamples.mdwn
@@ -9,16 +9,20 @@ is included in the section entitled
## Setting up translators - HowTo
Translators can be got from hurd-extras <http://www.nongnu.org/hurdextras/>
-<pre>cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/hurdextras co <modulename> </pre>
+<pre>
+cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/hurdextras co <modulename>
+</pre>
- * httpfs translator <pre>
+* httpfs translator
+<pre>
$ settrans -a tmp/ /hurd/httpfs www.hurd-project.com/ (or)
$ settrans -a tmp/ /hurd/httpfs www.hurd-project.com/ --proxy=<proxy> --port=<port>
$ cd tmp/
$ ls -l
- </pre>
+</pre>
- * ftpfs translator<pre>
+* ftpfs translator
+<pre>
$ settrans -cgap ftp /hurd/hostmux /hurd/ftpfs /
$ cd ftp
ftp$ ls
@@ -26,7 +30,8 @@ Translators can be got from hurd-extras <http://www.nongnu.org/hurdextras/>
ftp/ftp.fr.debian.org $ ls
</pre>
- * tarfs translator <pre>
+* tarfs translator
+<pre>
You can use tarfs to mount (almost) any tar file:
$ settrans -ca a /hurd/tarfs -z myfile.tar.gz
$ settrans -ca b /hurd/tarfs -y myfile.tar.bz2
@@ -36,36 +41,42 @@ Translators can be got from hurd-extras <http://www.nongnu.org/hurdextras/>
$ cp -r all my files new/
$ syncfs new
This is not as fast as "tar czvf newfile.tar.gz all my files" but at least, it's more original. ;)
- </pre>
+</pre>
- * cvsfs translator <pre>
+* cvsfs translator
+<pre>
$ settrans -ac cvsfs_testing /hurd/cvsfs cvs.savannah.nongnu.org /sources/hurdextras
$ cd cvsfs_testing
- </pre>
+</pre>
- * pfinet translator -- configuring your network interface <pre>
+* pfinet translator -- configuring your network interface
+<pre>
$ settrans -fgca /servers/socket/2 /hurd/pfinet -i <interface> -a <ip address> -m <subnet mask> -g <gateway ip>
- </pre>
+</pre>
- * Console translator -- setting up virtual consoles <pre>
+* Console translator -- setting up virtual consoles
+<pre>
$ console -d vga -d pc_mouse -d pc_kbd -d generic_speaker /dev/vcs
- </pre>
+</pre>
- * iso9660fs translator -- 'mounting' your cdrom <pre>
+* iso9660fs translator -- 'mounting' your cdrom
+<pre>
$ settrans -ac /cdrom /hurd/iso9660fs /dev/<cdrom device file>
- </pre>
+</pre>
- * ext2fs translator -- 'mounting' an ext2fs partition <pre>
+* ext2fs translator -- 'mounting' an ext2fs partition
+<pre>
$ settrans -ac /linux /hurd/ext2fs /dev/<partition device file>
- </pre>
+</pre>
- * unionfs translator <pre>
+* unionfs translator
+<pre>
To join "foo/" "bar/" and "baz/" in the directory "quux/", just do:
$ settrans -capfg quux/ /hurd/unionfs foo/ bar/ baz/
If you want to join even quux/ contents in the union itself, add -u as a translator argument.
You can add filesystems at run-time with the fsysopts command.
- </pre>
+</pre>
--- Main.IsaacPraveen - 14 May 2006 \ No newline at end of file
+--IsaacPraveen - 14 May 2006 \ No newline at end of file