From f250b6d8626c9d3ecf0d356dfd786a23ebbf6ca1 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Tue, 26 Apr 2016 15:43:26 +0200 Subject: Unify and document the way fsids are handled in trivfs translators * doc/hurd.texi: Clarify what happens if 'trivfs_fsid' is zero. * login/utmp.c: Leave 'trivfs_fsid' at zero. * pfinet/main.c: Likewise. * trans/ifsock.c: Likewise. * trans/proxy-defpager.c: Likewise. --- doc/hurd.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/hurd.texi b/doc/hurd.texi index 525bfa78..2bcf561b 100644 --- a/doc/hurd.texi +++ b/doc/hurd.texi @@ -2284,7 +2284,9 @@ and functions: @deftypevarx {extern int} trivfs_fsid 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{}. +from the @code{FSTYPE_*} constants found in +@code{}. If @code{trivfs_fsid} is zero, trivfs +will use the pid of the translator instead. @end deftypevar @deftypevar {extern int} trivfs_allow_open -- cgit v1.2.3