Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!pasteur!ucbvax!USU.BITNET!SLMYQ From: SLMYQ@USU.BITNET Newsgroups: comp.sys.amiga.tech Subject: Re: Changing Directories Message-ID: <8804230242.AA03176@jade.berkeley.edu> Date: 23 Apr 88 02:41:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 24 >>Great. So how can you tell what the system was booted off? I didn't think >>AmigaDOS would make it that easy! :) > >You shouldn't! It isn't any program's business to know what the boot >device was. If you really need to know, ask. > >All we need is more software that doesn't let the user control it's >operation. Really now. I can tell you haven't been following this discussion too closely. You're right that programs should'nt need to know what the system was booted off of - usually. The only time when you need to know is when AmigaDOS gives you one of those crazy NULL locks as a current directory. They're hard to work with, to say the least. :) They refer to the boot device, and all I want is to be able to get a *real* lock on the boot device when I find one of those NULL locks, and switch over to that. The only time this would happen is if the user booted up the system, pressed CTRL-D before anything could happen in the startup-sequence, and ran a program. That program would get a NULL lock as it's current directory. Not too handy. >Morgan Jones - Bramalea Software Inc. morgan@brambo.UUCP Bryan