From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 02:23:16 2009 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 4ACE7106566C for ; Mon, 16 Nov 2009 02:23:16 +0000 (UTC) (envelope-from the.real.david.allen@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 25ACB8FC15 for ; Mon, 16 Nov 2009 02:23:15 +0000 (UTC) Received: by pzk15 with SMTP id 15so3368449pzk.3 for ; Sun, 15 Nov 2009 18:23:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=MIyA0+ZmOn1R+Ve5gqSXMhpWfNdQ0Mhms6URkAekZRM=; b=CuFvZ1rlZNUTZksqbEQrhVyGLk5ACby5EPyQyIaTliwbyOls/PMDndfWoPMObFLV0m d29anVuvRV/A8fxh5GzMU94t8rrKfKaJip1rOvvF4Gk701hDgyt98QJmjEHHCPVs2RK0 6lQt1K48LuaFX+aVg9xAXvX/qdSfg1zyobSQ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=flEHtwy1jlJeHTpfSdMjJSFJA6V+C5CF1Hkr/oK8BZbhdwmPRXiik0BUFOZUnozzFT hQT/skO302y9jsiknyuED08ESVa3I47tJkHy7JCPVptJX4oMTmcsIl9RmNtG2fWwiwHq J/Voo5hlKUNvmCO5YYhyiHgzSXIe2cXrfpGUU= MIME-Version: 1.0 Received: by 10.142.5.29 with SMTP id 29mr761441wfe.75.1258338195684; Sun, 15 Nov 2009 18:23:15 -0800 (PST) Date: Sun, 15 Nov 2009 19:23:15 -0700 Message-ID: <2daa8b4e0911151823sd98f726ma4b8eebf05b16dd0@mail.gmail.com> From: David Allen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Partition naming, fstab, and geli 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: Mon, 16 Nov 2009 02:23:16 -0000 Say I have performed a standard installation of FreeBSD onto a single IDE drive with the following entries in /etc/fstab: /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1d /var ufs rw 2 2 /dev/ad0s1e /tmp ufs rw 2 2 /dev/ad0s1f /usr ufs rw 2 2 Then I added more drives. 1. The Handbook suggests there is a convention that when partitioning a a drive that's been added, to label the first new partition on that drive as 'e' as opposed to 'a' (which is reserved for the /root partition). Does the following satisfy that convention, or would starting with 'a' in each case make more sense? /dev/ad1e /foo1 ufs rw 2 2 /dev/ad1f /bar1 ufs rw 2 2 /dev/ad1g /baz1 ufs rw 2 2 /dev/ad2e /foo2 ufs rw 2 2 /dev/ad2f /bar2 ufs rw 2 2 /dev/ad3e /foo3 ufs rw 2 2 /dev/ad3f /bar3 ufs rw 2 2 2. My second question is in regards to using the 'xx' fstype to have the system ignore that device. Consider, for example, a geli encrypted partition. The .eli device doesn't exist at boot time. I discovered by accident that the system won't boot with an fstab entry for a device that doesn't exist. So if I was to record an entry in fstab, I couldn't use /dev/ad1e.eli /home/david/private ufs rw 0 0 Does that mean that the following is what's typically to record fstab entries for ignored devices? /dev/ad1e.eli /home/david/private xx rw 0 0 /dev/ad3e /fake xx rw 0 0 /dev/ad3f /reserved xx rw 0 0 Thanks.