🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #6163

Re: Directory name from DirID?

#6163
From: Gunnar Blomberg
Date: Fri, 20 Jun 1986 02:05
22 lines
1424 bytes
In article <20@harvard.UUCP> olson@endor.UUCP (Eric Olson) writes:
>In article <158@zyx.UUCP> grzm@zyx.UUCP (me) writes:
>>In article <157@zyx.UUCP> grzm@zyx.UUCP (me) writes:
>>>
>>>	Is there a way to get the directory name from the directory id,
>>>without searching through the directory tree or going to disk yourself?
>>
>>	Yes, well, I just found out how to do it (after some serious
>>macsbugging...).  It seems that if you pass -1 as the FDirIndex to [...]
>
>Unfortunately, this only works if you are referencing the directory with
>a WDRefNum (essentially, a VRefNum-like number that refers to a volume AND
>a directory).  [...]
>
>-Eric

	Well, it works for me...  Also, I have since gotten my hands onto
Tech Note 69, which explicitly says it should work.

					/Grzm
-- 
Gunnar Blomberg, ZYX, +46 8 653205, ...mcvax!enea!zyx!grzm
Technical Details
Message-ID: <163@zyx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!mcvax!enea!zyx!grzm
References: <157@zyx.UUCP> <158@zyx.UUCP> <20@harvard.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!mcvax!enea!zyx!grzm
From: grzm@zyx.UUCP (Gunnar Blomberg)
Newsgroups: net.micro.mac
Subject: Re: Directory name from DirID?
Message-ID: <163@zyx.UUCP>
Date: Thu, 19-Jun-86 22:05:53 EDT
Article-I.D.: zyx.163
Posted: Thu Jun 19 22:05:53 1986
Date-Received: Mon, 23-Jun-86 03:33:35 EDT
References: <157@zyx.UUCP> <158@zyx.UUCP> <20@harvard.UUCP>
Reply-To: grzm@zyx.UUCP (Gunnar Blomberg)
Organization: ZYX AB, Stockholm, Sweden
Lines: 22
Keywords: HFS