[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nodes have authors
From: |
Marcus Brinkmann |
Subject: |
Re: nodes have authors |
Date: |
Tue, 12 Feb 2002 20:07:15 +0100 |
User-agent: |
Mutt/1.3.27i |
On Tue, Feb 12, 2002 at 07:37:26PM +0100, Alfred M. Szmidt wrote:
> Yes, Marco Gerards suggested that we could print the PID of the active
> translator. But I still have my doubts about this. But yeah, active
> translators should be handled in a similar way I think.
You can do what fsysopts for active translators (it looks like the output of
showtrans).
The process id is usually available in the f_fsid field of the statvfs
structure (the Hurd has fsid in stat, too, I think). There is no guarantee
that it is a PID (the requirement is that it is a system-wide unique
identifier for the filesystem, so that fsid+inode is a system-wide unique
identifier for a file), but in the Hurd the convention is to use the PID
of the active translator (which is unique, and not reused soon, so it is a
nice fit for this purpose).
So if you want to do something like that, show the f_fsid, not the pid. That
is a POSIX thing.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de
- Re: nodes have authors, (continued)
- Re: nodes have authors, Marcus Brinkmann, 2002/02/12
- Re: nodes have authors, Thomas Bushnell, BSG, 2002/02/13
- Re: nodes have authors, Niels Möller, 2002/02/13
- Re: nodes have authors, Ognyan Kulev, 2002/02/13
- Re: nodes have authors, Niels Möller, 2002/02/13
- Re: nodes have authors, Thomas Bushnell, BSG, 2002/02/13
- Re: nodes have authors, Jamie Gennis, 2002/02/17
- Re: nodes have authors, Thomas Bushnell, BSG, 2002/02/17
- Re: nodes have authors, Marcus Brinkmann, 2002/02/12
- Re: nodes have authors, Alfred M. Szmidt, 2002/02/12
- Re: nodes have authors,
Marcus Brinkmann <=
- Re: nodes have authors, Thomas Bushnell, BSG, 2002/02/13