From owner-freebsd-questions Wed Aug 28 14:31:40 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA29795 for questions-outgoing; Wed, 28 Aug 1996 14:31:40 -0700 (PDT) Received: from cyclone.degnet.baynet.de (root@cyclone.degnet.baynet.de [194.95.214.129]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA29766; Wed, 28 Aug 1996 14:31:19 -0700 (PDT) Received: from neuron.bsd.uni-passau.de (ppp7 [194.95.214.137]) by cyclone.degnet.baynet.de (8.6.12/8.6.9) with SMTP id XAA28060; Wed, 28 Aug 1996 23:42:24 +0200 Message-ID: <3224D59B.74DF@degnet.baynet.de> Date: Wed, 28 Aug 1996 23:26:19 +0000 From: Darius Moos Reply-To: moos@degnet.baynet.de X-Mailer: Mozilla 3.0b6Gold (Win95; I) MIME-Version: 1.0 To: FreeBSD-questions CC: freebsd-hackers Subject: [Q]: formula for calculating BPI needed Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, My first basic question is, how one would calculate the BPI for a given DAT-tape-length and capacity. My problem is: - let a DAT-tape be 295 feet long <=> lf = 295 => length of this DAT-tape is li = lf * 12 = 3540 inches - let the capacity of this tape be 2 GB => BPI = 2 GB / li = 2 GB / 3540 inches = 606633.8 BPI The maual i've read says the BPI is 61000 for such a tape. So what am i doing wrong ? i was trying to dump filesystems to a SONY-SDT-7000 with dump. My problem is, that dumps estimated tapes for the dump are wrong; for example dumping /dev/sd0a (about 50 MB) to a 295 feet long DAT-tape makes dump to estimate 0.4 tapes (i set the commandlineoptions to "0ufds /dev/sd0a 61000 295"). This can not be correct, since the capacity of a 295 feet-DAT-tape is about 2 GB. After scanning the sources of dump for the estmated-tapes-formula, i found some strange constants being used there that i do not understand and that are not documented nor explained anywhere. I want to rewrite the formula for this calculation in the dump-sources but i need some informations on this topic. Maybe there is someone out there willing to give me some assistence in understand what is going on in the dump-formula. Many thanks in advance for all your help. Bye, Darius. email: moos@degnet.baynet.de