Newsgroups: news.software.b Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: C news vs B news speed Message-ID: <1989Jul14.163917.3489@utzoo.uucp> Organization: U of Toronto Zoology References: <1989Jul9.223927.29156@elroy.jpl.nasa.gov> <1989Jul12.210254.8631@utzoo.uucp> <781@ctisbv.UUCP> Date: Fri, 14 Jul 89 16:39:17 GMT In article <781@ctisbv.UUCP> pim@ctisbv.UUCP (Pim Zandbergen) writes: >>... it will probably popen("df") to do the actual space >>finding -- that job is just too system-dependent. > >The following works for me on >AT&T System V/386 r 3.2, >System V r 3.1.1 on the AT&T 3B2, >SCO Xenix, >Microport System V/AT, >AIX for the IBM PC RT. All of them more or less System V based. That's not all there is to the Unix world, I'm afraid. Of particular note are the systems that are old enough that they have *no* system call to ask about free space (df paws through the raw filesystems). -- $10 million equals 18 PM | Henry Spencer at U of Toronto Zoology (Pentagon-Minutes). -Tom Neff | uunet!attcan!utzoo!henry henry@zoo.toronto.edu