From owner-freebsd-questions@FreeBSD.ORG Fri Jun 27 13:54:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BA451065681 for ; Fri, 27 Jun 2008 13:54:48 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from lmailproxy01.edpnet.net (lmailproxy01.edpnet.net [212.71.1.194]) by mx1.freebsd.org (Postfix) with ESMTP id B2FED8FC1D for ; Fri, 27 Jun 2008 13:54:47 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from [192.168.0.10] ([77.109.104.14]) by lmailproxy01.edpnet.net (8.13.1/8.13.1) with ESMTP id m5RDsjiu009321 for ; Fri, 27 Jun 2008 15:54:45 +0200 From: Julien Cigar To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Fri, 27 Jun 2008 15:54:40 +0200 Message-Id: <1214574880.963.12.camel@rivendell.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.93/7040/Tue May 6 03:52:15 2008 on lmailproxy01.edpnet.net X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_50 autolearn=disabled version=3.1.9 X-Spam-Checker-Version: SpamAssassin 3.1.9 (2007-02-13) on lmailproxy01.edpnet.net Subject: small question about GEOM and dedicated disk 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: Fri, 27 Jun 2008 13:54:48 -0000 Hello list, I just bought a new disk to make my backups (with Bacula). As this disk will be used by FreeBSD only I'd like to use the "dedicated mode" (no bootable). So far I used to do something like: #> dd if=/dev/zero of=/dev/ad1 bs=1k count=1 #> newfs -L foo -U /dev/ad1 #> mount /dev/ufs/foo /foo It seems to work like a charm. However, in the handbook (section 18.3.2.2) the procedure is a bit longer : #> dd if=/dev/zero of=/dev/da1 bs=1k count=1 #> bsdlabel -Bw da1 auto #> bsdlabel -e da1 #> newfs /dev/da1e #> mkdir -p /1 #> vi /etc/fstab #> mount /1 Some questions: - - Is it mandatory to create at least one partition (e in this case) ? - Is it normal that there are no slices in this example ? Is it common to create a partition without any slice in the dedicated mode ? - What are the differences between "my" method and the one in the handbook ? in advance thanks, Julien