From owner-freebsd-questions@FreeBSD.ORG Thu Sep 20 06:36:28 2012 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 671FF1065670 for ; Thu, 20 Sep 2012 06:36:28 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id D545E8FC08 for ; Thu, 20 Sep 2012 06:36:27 +0000 (UTC) Received: from seedling.local (host86-129-247-64.range86-129.btcentralplus.com [86.129.247.64]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q8K6aHxW039137 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 20 Sep 2012 07:36:18 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q8K6aHxW039137 Authentication-Results: smtp.infracaninophile.co.uk/q8K6aHxW039137; dkim=none (no signature); dkim-adsp=none X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host host86-129-247-64.range86-129.btcentralplus.com [86.129.247.64] claimed to be seedling.local Message-ID: <505AB958.4060008@FreeBSD.org> Date: Thu, 20 Sep 2012 07:36:08 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Polytropon References: <20120919233709.f5b56213.freebsd@edvax.de> <20120920005903.5ef60f5a.freebsd@edvax.de> In-Reply-To: <20120920005903.5ef60f5a.freebsd@edvax.de> X-Enigmail-Version: 1.4.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig713A87EA11FF884274F2BDD5" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=4.4 required=5.0 tests=BAYES_00,RCVD_IN_PBL, RCVD_IN_RP_RNBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC, SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Level: **** X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: Fritiof Hedman , freebsd-questions@FreeBSD.org Subject: Re: Can't find kernel, finds slices but no files on them 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: Thu, 20 Sep 2012 06:36:28 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig713A87EA11FF884274F2BDD5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 19/09/2012 23:59, Polytropon wrote: > The terminology is simple and as follows: >=20 > A disk is a disk, e. g. /dev/ad0. >=20 > A slice is a "DOS primary partition" on the disk, e. g. /dev/ad0s1. >=20 > A partition is a subdivision of a slice, e. g. /dev/ad0s1a. >=20 > Partitions can be used without a slice that encloses them, > e. g. /dev/ad0a; this is called "dedicated mode" (because > some obscure operating systems may have problems accessing > something they cannot even understand). >=20 > Tools like dump and restore operate on partitions. >=20 > Tools like dd operate on everything. What Polytropon says is perfectly correct, and accurate for setups using MBR, fdisk(8) and bsdlabel(8). However nowadays, the move is towards using gpart(8) and the terminology is different there. It looks like thi= s: % gpart show -p da0 =3D> 34 134217661 da0 GPT (64G) 34 128 da0p1 freebsd-boot (64k) 162 4194304 da0p2 freebsd-swap (2.0G) 4194466 130023229 da0p3 freebsd-zfs (62G) 'da0' is the disk -- this is from a VM emulating a SAS controller, hence 'da' as the disk device. That's not gpart specific, and you'll also commonly see 'ad' or 'ada' for disk devices, plus some others specific to certain hardware RAID controllers. The disk has three partitions: da0p1, p2 and p3 of the indicated types. There's also a freebsd-ufs type for those that don't want ZFS. That's really all there is to it for all practical purposes. There's no need for 'partitions inside slices' or 'logical partitions' or any of that malarkey. I believe you could create partitions inside partitions recursively to your heart's content but never cared enough to try that out -- I think the device names would come out like 'da0p3p1' but I could be wrong. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig713A87EA11FF884274F2BDD5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBauWEACgkQ8Mjk52CukIwE1gCeK7FVANDx5nlby/7LIosAd3JO cQkAoI2CY6GaefG9q3cZQ+OX9nDeD36r =i2Mb -----END PGP SIGNATURE----- --------------enig713A87EA11FF884274F2BDD5--