From owner-freebsd-current Tue Oct 16 5:47:57 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 4941937B40F; Tue, 16 Oct 2001 05:47:53 -0700 (PDT) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.8.8/8.8.8) with ESMTP id OAA17581; Tue, 16 Oct 2001 14:47:51 +0200 (MET DST) Date: Tue, 16 Oct 2001 14:47:50 +0200 (CEST) From: Harti Brandt To: roberto@freebsd.org Cc: bde@freebsd.org, Subject: newfs fails to build small file systems. Message-ID: <20011016144007.L1072-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, since version 1.41 of newfs.c newfs fails to build 2MByte md-based file systems. We use these file systems in our diskless pc's. Unfortunately the code in newfs.c and mkfs.c is too wired for me to understand, but as a couple of printf's show, the code computes the number of cylinders based on default values for the number of tracks (1) and the number of sectors per track (4096). This gives a value of one cylinder and mkfs later on complains about needing at least 2 cylinders per cylinder group. Strange enough newfs still handles 1.44MByte floppies. Somewhat puzzled, harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message