diff options
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/libstore.mdwn | 58 | ||||
-rw-r--r-- | hurd/translator/storeio.mdwn | 17 |
2 files changed, 36 insertions, 39 deletions
diff --git a/hurd/libstore.mdwn b/hurd/libstore.mdwn index 9499caf9..87c6842e 100644 --- a/hurd/libstore.mdwn +++ b/hurd/libstore.mdwn @@ -10,42 +10,22 @@ is included in the section entitled [[GNU_Mach|microkernel/mach/gnumach]] devices (`hd0` for example) and the device node below `/dev`... -=== want to see some examples? - -* you can make a file's content available as some block device (where ''foo'' - is the name of the file to map): -{{{ - settrans -ca node /hurd/storeio -T file foo -}}} - -* you can even ungzip files on the fly (bunzip2 is available as well): -{{{ - settrans -ca node /hurd/storeio -T gunzip foo.gz -}}} - -* you can use the ''typed'' store, to create filter chains (of course this - example is kinda useless since you could use the ''gunzip'' store directly): -{{{ - settrans -ca node /hurd/storeio -T type gunzip:file:foo.gz -}}} - -=== available stores -|| device || raw device access (used for access to hd0, etc.) || -|| file || use a common file as some kind of block device || -|| zero || kinda empty block device || -|| task || mach task store backend (TODO: what's this) || -|| ileave || interleave store (striping) || -|| concat || concatenate stuff || -|| remap || remap stuff || -|| query || TODO: what's this || -|| copy || TODO: what's this good for || -|| gunzip || gunzip data on the fly || -|| bunzip2 || bunzip2 data on the fly || -|| nbd || network block device (linux compatible) || -|| url || typed store with url syntax || -|| typed || typed store (chainable stores thingy) || - - -=== even weirder stuff ... -at http://www.kataplop.net/pub/info/projets you can find some effort to make -some crypto store, I will try to make that running within shortly ... +# Available Stores + +* `device`: raw device access, used for access to `hd0`, etc. +* `file`: use a common file as some kind of block device. +* `zero`: kind of an empty block device. +* `task`: mach task store backend. TODO: what's this? +* `ileave`: interleave store (striping). +* `concat`: concatenate stuff. +* `remap`: remap stuff. +* `query`: TODO: what's this? +* `copy`: TODO: what's this good for? +* `gunzip`: `gunzip` data on the fly. +* `bunzip2`: `bunzip2` data on the fly. +* `nbd`: network block device (Linux-compatible). +* `url`: typed store with URL syntax. +* `typed`: typed store (chainable stores thingy). + +At <http://www.kataplop.net/pub/info/projets> you can find some effort to make +some crypto store. diff --git a/hurd/translator/storeio.mdwn b/hurd/translator/storeio.mdwn index d8c6db6c..4493fad1 100644 --- a/hurd/translator/storeio.mdwn +++ b/hurd/translator/storeio.mdwn @@ -9,3 +9,20 @@ is included in the section entitled `storeio` is a *translator for devices and other stores*. It relies heavily on [[libstore]]. + + +# Examples + +You can make a file's content available as some block device (where `foo` is +the name of the file to map): + + settrans -ca node /hurd/storeio -T file foo + +You can even `ungzip` files on the fly (`bunzip2` is available as well): + + settrans -ca node /hurd/storeio -T gunzip foo.gz + +You can use the *typed store*, to create filter chains (of course this example +is kind of useless since you could use the `gunzip` store directly): + + settrans -ca node /hurd/storeio -T type gunzip:file:foo.gz |