From owner-freebsd-stable@FreeBSD.ORG Sun Jan 15 13:14:07 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DE4316A41F for ; Sun, 15 Jan 2006 13:14:07 +0000 (GMT) (envelope-from andrea@acampi.hq.inet.it) Received: from acampi.hq.inet.it (out-11.hq.inet.it [194.185.62.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2226F43D45 for ; Sun, 15 Jan 2006 13:14:06 +0000 (GMT) (envelope-from andrea@acampi.hq.inet.it) Received: by acampi.hq.inet.it (Postfix, from userid 1000) id C099A82; Sun, 15 Jan 2006 14:14:05 +0100 (CET) Date: Sun, 15 Jan 2006 14:14:05 +0100 From: Andrea Campi To: Brian Candler Message-ID: <20060115131405.GC1181@webcom.it> References: <20060115123445.GA14271@uk.tiscali.com> <20060115124950.GA23753@uk.tiscali.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060115124950.GA23753@uk.tiscali.com> User-Agent: Mutt/1.5.11 Cc: freebsd-stable@freebsd.org Subject: Re: newfs_msdos onto an image file X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2006 13:14:07 -0000 On Sun, Jan 15, 2006 at 12:49:51PM +0000, Brian Candler wrote: > Furthermore, why do I still have to pretend that the device is a 1440K > floppy disk? If I remove -f 1440 I get: > > # newfs_msdos -h 64 -u 32 -s 256000 -a 125 -F 16 -b 4096 -c 8 /dev/md0 > newfs_msdos: Cannot get number of sectors, Operation not supported Just a wild guess: have you tried using fdisk? Pretending it is a floppy is probably working because real floppies don't have a partition table, whereas all kind of HDs in the DOS world have them. Try creating just a single slice to cover all disk, and you should be ready to newfs it. Bye, Andrea -- Press every key to continue.