From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 11:54:13 2004 Return-Path: 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 540AF16A4CE for ; Mon, 23 Feb 2004 11:54:13 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ADFE43D1F for ; Mon, 23 Feb 2004 11:54:12 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i1NJs6uV026327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Feb 2004 19:54:06 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i1NJs40v026322; Mon, 23 Feb 2004 19:54:04 GMT (envelope-from matthew) Date: Mon, 23 Feb 2004 19:54:04 +0000 From: Matthew Seaman To: Stephen Liu Message-ID: <20040223195404.GA26099@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Stephen Liu , Lowell Gilbert , freebsd-questions@freebsd.org References: <403A1311.6000703@icare.com.hk> <44smh125t3.fsf@be-well.ilk.org> <403A56BB.8080609@icare.com.hk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: <403A56BB.8080609@icare.com.hk> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: [FAQ pointer] Re: How to start single user mode or safe mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 19:54:13 -0000 --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 24, 2004 at 03:38:35AM +0800, Stephen Liu wrote: This one is fine... > # fsck /dev/ad4s1a (I suppose boot) but these two aren't: > # fsck /dev/ad4s1b (I suppose swap) > # fsck /dev/ad4s1c (I suppose /) You can only run fsck(8) on partitions containing filesystems. The 'b' partition is usually a swap area, which doesn't use any sort of filesystem at all. The 'c' partition usually maps to the whole slice -- that is, it overlaps all of the actual partitions you're using for your file systems. You very rarely need to access the 'c' partition specifically -- commands that affect the whole slice nowadays tend to take ad4s1 or the equivalent as an argument. Your /var and /usr partitions probably live on partitions 'e' and 'f' -- possibly 'g' or 'h' as well if you have any other partitions. disklabel(8) will show you what partitions have been allocated. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAOlpcdtESqEQa7a0RAuGZAKCGCT2fDh/VrAgqVLaD7O8qdEYsaACdF/B+ 8BWrTpFjfIXlMWO+dn92bL8= =JTr1 -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--