From owner-freebsd-questions@FreeBSD.ORG Sun Jul 3 17:50:27 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A76B16A41C for ; Sun, 3 Jul 2005 17:50:27 +0000 (GMT) (envelope-from alexandre.delay@free.fr) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26F6A43D46 for ; Sun, 3 Jul 2005 17:50:26 +0000 (GMT) (envelope-from alexandre.delay@free.fr) Received: from serveur.thrruss.org (unknown [81.56.231.36]) by postfix4-1.free.fr (Postfix) with ESMTP id D69F2317F62 for ; Sun, 3 Jul 2005 19:50:25 +0200 (CEST) Received: from artemis (artemis [192.168.2.2]) by serveur.thrruss.org (8.13.0/8.13.0) with SMTP id j63HocX8030116 for ; Sun, 3 Jul 2005 19:50:38 +0200 From: "Alexandre D." To: Date: Sun, 3 Jul 2005 19:50:37 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 Subject: disk tuning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2005 17:50:27 -0000 Hi guys, I'm trying to determine the good commands to initialise a disk. I would like to get the same result than with the sysinstall fdisk. But If I use the handbook's command: # dd if=/dev/zero of=/dev/ad2 bs=1k count=1 # fdisk -BI ad2 # disklabel -B -w -r ${disk}s1 auto I do not get the same result. The slice is not defined exactly the same and the geometry is also not the same. How can I get exactly the same result with a command line thant with the sysinstall's fdisk (A = Use Entire)? Thanks cheers Alex