Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!usc!apple!stevec From: stevec@Apple.COM (Steve Christensen) Newsgroups: comp.sys.mac.programmer Subject: Re: How to tell if a volume is a floppy drive? Message-ID: <9874@goofy.Apple.COM> Date: 21 Aug 90 23:52:08 GMT References: <1517@ntmtv.UUCP> <9794@goofy.Apple.COM> <7796@gollum.twg.com> Organization: Apple Computer Inc., Cupertino, CA Lines: 29 In article <7796@gollum.twg.com> lefty@twg.com (David N. Schlesinger) writes: >In article <9794@goofy.Apple.COM> Steve Christensen writes: >> Check the ioVFSID field after doing the PBHGetVInfo() call. HFS (Mac) disks >> have an ID of zero. Others are non-zero, but I can't remember what ID >> AppleShare volumes use. > >This is not a reliable test. _Any_ external file system volume (CD-ROMs, >NFS "volumes", etc.) will have a non-zero FSID. Additionally, I don't >believe that AppleShare can use a fixed non-zero FSID for its own volumes; >it has to derive a value for the FSID based on any other non-zero FSIDs in >use the first time an AppleShare volume is mounted. Well I didn't mean to simply test if it's non-zero and assume it's an AppleShare volume. I simply pointed out that its file system ID was non-zero and that hopefully someone else would know what to do at that point... steve -- ____________________________________________________________________ Steve Christensen Internet: stevec@goofy.apple.com Apple Computer, Inc. AppleLink: STEVEC 20525 Mariani Ave, MS 81-CS CompuServe: 76174,1712 Cupertino, CA 95014 "You just contradicted me." "No I didn't." ____________________________________________________________________