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 -- 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
pgp00000.pgp
Description: PGP signature