🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #8507

Re: Changing Directories

#8507
From: Peter da Silva
Date: Fri, 15 Apr 1988 04:40
25 lines
1581 bytes
In article ... spencer@eris (Randal m. Spencer [RmS]) writes:
> Recently on *comp.sys.amiga.tech* peter@sugar.UUCP (Peter da Silva) wrote:
> ...Actually, the zero lock assumes the boot device. Unless you never reassign
> ...sys: and never do anything with your boot disk then this is not guaranteed
> ...to be sys:.

> Are you sure, I believe that it always comes out to be DF0:.  When I boot
> from another device (can't imagine what that would be:'), and I do a CD it
> says "DF0:".  

Well, not having a self-booting device other than DF0:, I just believed the
docs that said that's what it was.

AmigaDOS technical reference manual, page whatever. Under "CurrentDir":

"A value of zero is a valid result here and indicates that the current
directory is the root of the initial startup disk."

It's a pity that the REST of the system isn't set up to reflect this and
treat 0 as df0: or a no-op. It's a bit of a shocker to guru because you've
Unlock()ed CurrentDir().
-- 
-- Peter da Silva      `-_-'      ...!hoptoad!academ!uhnix1!sugar!peter
-- "Have you hugged your U wolf today?" ...!bellcore!tness1!sugar!peter
-- Disclaimer: These aren't mere opinions, these are *values*.
Technical Details
Message-ID: <1838@sugar.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mailrus!ames!pasteur!ucbvax!ucsd!rutgers!bellcore!tness7!tness1!sugar!peter
References: <8673@agate.BERKELEY.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mailrus!ames!pasteur!ucbvax!ucsd!rutgers!bellcore!tness7!tness1!sugar!peter
From: peter@sugar.UUCP (Peter da Silva)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Changing Directories
Message-ID: <1838@sugar.UUCP>
Date: 15 Apr 88 04:40:05 GMT
References: <8673@agate.BERKELEY.EDU>
Organization: Sugar Land UNIX - Houston, TX
Lines: 25