[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: translated nodes name



On Wed, Feb 20, 2002 at 07:28:34AM -0800, arun v wrote:
> 
> Can I get the translated nodes file name in the 
> translator program.

No.  The file name is in general not available, also because in many cases
there isn't a useful filename, and the other reason is that this filename
might become invalid any time (unlink).

It's basically the same as with file descriptors, you can't get the filename
for one of those either (for the same reason, by the way).

But! you can get a _port_ to the underlying node, and that is much better. 
So you can manipulate and query the underlying node.  (grep for 'underlying'
in the Hurd sources how to do that).

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



Reply to: