Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2004 19:54:04 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Stephen Liu <satimis@icare.com.hk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: [FAQ pointer] Re: How to start single user mode or safe mode
Message-ID:  <20040223195404.GA26099@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <403A56BB.8080609@icare.com.hk>
References:  <403A1311.6000703@icare.com.hk> <44smh125t3.fsf@be-well.ilk.org> <403A56BB.8080609@icare.com.hk>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040223195404.GA26099>