Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cuae2!ltuxa!cuuxb!mwm From: mwm@cuuxb.UUCP (Marc W. Mengel) Newsgroups: net.micro.att Subject: Re: Actual disk space on 7300 Message-ID: <871@cuuxb.UUCP> Date: Mon, 20-Oct-86 13:24:26 EDT Article-I.D.: cuuxb.871 Posted: Mon Oct 20 13:24:26 1986 Date-Received: Tue, 21-Oct-86 23:56:21 EDT References: <343@spp5.UUCP> Reply-To: mwm@cuuxb.UUCP (Marc W. Mengel) Distribution: net Organization: AT&T-IS, Software Support, Lisle IL Lines: 38 [-] In article <343@spp5.UUCP> brahms@spp5.UUCP (Bradley S. Brahms) writes: >I'm currently using a 7300 with a 20MB hard disk. I just did a df -t to >see what the total disk space was available. I will need a larger/faster >hard disk before I turn the system over to the users. a df -t reported >that there was a total of 14.21MBs (<3MB left free). With overhead and >such, that seems reasonable. Couple of questions: > > 1) Does this include swap space? No. Swap space has its own partition. Swap map allocation and file systems probably wouldn't co-exist very well, this is true on all the unix systems I've seen. > > 2) I'm need to be able to calculate how much a 40 or a 60MB drive > would give me (in user space). Whats an easy way to get a good > estimate? Would an xMB drive give me proportionately the same > amount of usable space? If so, then I could expect only 28.42MB > and 42.63MB from a 40 and 60MB drive respectively. my 67 meg drive gives me a df -t of 120944 blocks, or 59 meg, for /dev/fp002. The mix on the 40 meg drive is probably somewhere in the middle. > > 3) Using du -s / and df, I caculated 13.67MB. What happen to the > 0.54MB? see the BUGS section under du in the manual; although du usually gives you more than what is there. If you have any files with "holes" in them (i.e. lseek out to 1 meg and write 1 byte, close it) du will count it as 1 meg, rather than 1 block.) that would do it. -- Marc Mengel ...!ihnp4!cuuxb!mwm