Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2001 10:32:17 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Giorgos Keramidas <charon@labs.gr>
Cc:        FreeBSD Questions <questions@FreeBSD.org>
Subject:   Re: compatibility mode question (was: Re: I am desperate please help my hdd)
Message-ID:  <20011016103217.A48937@wantadilla.lemis.com>
In-Reply-To: <20011015060604.A78867@hades.hell.gr>; from charon@labs.gr on Mon, Oct 15, 2001 at 06:06:05AM %2B0300
References:  <20011015060604.A78867@hades.hell.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 15 October 2001 at  6:06:05 +0300, Giorgos Keramidas wrote:
> Greg Lehey <grog@FreeBSD.ORG> wrote:
>>
>> On Monday, 15 October 2001 at  2:08:31 +0300, Giorgos Keramidas wrote:
>>> Rob <rob@thechain.com> wrote:
>>>> fsck /dev/ad1a which said this:
>>>
>>> You are probably looking in the wrong place for a partition table.
>>> Try this:
>>>
>>> 	# fdisk /dev/ad1
>>
>> That is incorrect.  That would look on a slice.  We put file systems
>> in partitions, such as /dev/ad1a.
>
> Are you sure?  What have I gotten wrong in my setup?
>
>> df -k
>     Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
>     /dev/ad0s1a    194548    64553   114432    36%    /
>     /dev/ad0s3e    496111    55636   400787    12%    /var
>     /dev/ad0s3f   4065262  1580997  2159045    42%    /usr
>     /dev/ad0s3g  34804895  4134941 27885563    13%    /home
>     devfs               1        1        0   100%    /dev
>     procfs              4        4        0   100%    /proc

Nothing.  These are the full partition names (I forget the official
name for them).  /dev/ad0a and /dev/ad0s1a are the same thing, but the
former is the old name, now called a compatability partition.  We had
some long arg^H^H^Hdiscussions when the names changed.

> I always thought that /dev/ad[0-3] is the disk device,

Yes.

> with /dev/ad[0-3]s[0-9] being slices,

  /dev/ad*s[1-4]

> and their partitions (within the slices) being called
> /dev/ad[0-3]s[0-9][a-h].

Correct on a system with a Microsoft partition table.  But then there
are the compatibility slices, as mentioned already.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply.
For more information, see http://www.lemis.com/questions.html
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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