Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!topaz!ll-xn!nike!ucbcad!ucbvax!decvax!decwrl!sun!calma!sivax!phil From: phil@sivax.UUCP Newsgroups: net.micro.mac Subject: Re: Mac HFS & MFS directories Message-ID: <273@sivax.UUCP> Date: Wed, 25-Jun-86 14:01:10 EDT Article-I.D.: sivax.273 Posted: Wed Jun 25 14:01:10 1986 Date-Received: Sat, 28-Jun-86 01:35:47 EDT References: <12109@amdcad.UUCP> Organization: System Industries, Milpitas, Ca Lines: 18 > > I am in need for assistance to do the following 1) Determine whether > the file system being used is MFS or HFS, then 2) depending on the file > system type, listing the files on the disk (MFS) or in a folder (HFS). Also, > is there a way to keep track of the home directory (the directory that the > application started from), so that it is not lost when the users selects a > file from SFPutFile or SFGetFile, which changes the default directory. > Any help would be appreciated. > > Thomas Carstensen - Advanvced Micro Devices I am not sure about HFS/MFS stuff, I think there is a low core location for that, but...to remember the home directpry, you just do a PBGETVOL before the get/put file calls, then do a PBSETVOL to put back to the home. Phil Hunt ucbvax!calma!sivax!phil