Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!ctrsol!uakari.primate.wisc.edu!xanth!mcnc!rti!xyzzy!wave4!guestx From: guestx@wave4.webo.dg.com (Guest login for misc) Newsgroups: comp.os.aos Subject: Re: How to find *real* file sizes in AOS/VS...? Keywords: AOS/VS II Message-ID: <75@wave4.webo.dg.com> Date: 18 Oct 89 13:57:59 GMT References: <741@megatek.UUCP> Reply-To: don@tzone.ceo.dg.com (Don Lehman) Organization: Data General Corporation, Westborough, MA Lines: 19 In article <741@megatek.UUCP> rgs@igw.megatek.uucp (Rusty Sanders) writes: > After trying to understand the AOS/VS filesystem, I have become > more confused than ever. What I have tried to do, is to show how much _real_ > disk space is used by a file or group of files. > > [...] > > So if there are any Data General employees or hackers out there, maybe you > could enlighten me? A little known feature of AOS/VS II is that this information is available through the ?FSTAT system call. If you have a AOS/VS II system, issue a FILESTATUS/PACKET CLI command and check out locations 25 and 26, this will give you the actual number of blocks taken up by the file (in octal). This used to only work with CPDs and LDUs, but we made it work with all files. Standard Disclaimers Apply Don Lehman AOS/VS II Development. Internet: don@tzone.ceo.dg.com