diff options
author | jbranso@dismail.de <jbranso@dismail.de> | 2023-09-21 12:48:21 -0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-01-23 00:32:38 +0100 |
commit | 5e4559ea2faebb482de51382ae5590a57083eda9 (patch) | |
tree | 7d23528eeabfd4d3bf2822ac7c6835665cd28aad /doc | |
parent | 2ada30dbcdea73e50c58477f382164180e92ee37 (diff) | |
download | hurd-5e4559ea2faebb482de51382ae5590a57083eda9.tar.gz hurd-5e4559ea2faebb482de51382ae5590a57083eda9.tar.bz2 hurd-5e4559ea2faebb482de51382ae5590a57083eda9.zip |
trivial hurd manual changes.
* doc/hurd.texi (Special Files): added a reference to the zero store.
* doc/hurd.texi (Translators): added a sentence about /dev/random.
* doc/hurd.texi (Invoking 'mount'): added a short explanation.
* doc/hurd.texi (Trivfs Callbacks): added @code{FSTYPE_MISC}.
Message-ID: <20230921164822.9227-5-jbranso@dismail.de>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/hurd.texi | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/doc/hurd.texi b/doc/hurd.texi index 5f8a1150..f4113da4 100644 --- a/doc/hurd.texi +++ b/doc/hurd.texi @@ -1943,8 +1943,8 @@ Network filesystems, such as @code{nfs} and @code{ftpfs} (@pxref{Distributed Filesystems}). @item -Single files with dynamic content, such as FIXME: we need a good -example. +Single files with dynamic content, such as the @code{random} +translator. @item @c FIXME: reword @@ -2110,6 +2110,15 @@ Only display files that have translators. @node Invoking mount @subsection Invoking @code{mount} +One does not mount filesystem partitions on the Hurd. Instead one +sets a translator, which translates the device into a filesystem. + +# @kbd{settrans /mnt /hurd/ext2fs /dev/hd0s8} + +You can still unmount a filesystem partition, via the @kbd{umount} +command. + +# @kbd{umount /dev/hd0s8} @node Invoking fsysopts @subsection Invoking @code{fsysopts} @@ -2307,7 +2316,8 @@ These variables are returned in the @var{st_fstype} and @var{st_fsid} fields of @code{struct stat}. @var{trivfs_fstype} should be chosen from the @code{FSTYPE_*} constants found in @code{<hurd/hurd_types.h>}. If @code{trivfs_fsid} is zero, trivfs -will use the pid of the translator instead. +will use the pid of the translator instead. Most trivial translators +will want to use @code{FSTYPE_MISC}. @end deftypevar @deftypevar {extern int} trivfs_allow_open @@ -2952,7 +2962,7 @@ with Unix. This chapter does not discuss @file{/dev/zero} or any of the microkernel-based devices, since these are translated by the generalized -storeio server (FIXME xref). +storeio server's zero store. @xref{the zero store}. FIXME: finish @@ -3351,6 +3361,7 @@ consuming the @var{task} send right. @end deftypevar @subsubsection @code{zero} store +@anchor{the zero store} @cindex @code{zero} store @deftypevar {extern const struct store_class} store_zero_class |