Re: FreeBSD 7.0 Questions
Clifton Royston wrote:[color=blue]
> On Thu, Feb 28, 2008 at 02:39:35PM +0000, Chris wrote:[color=green]
>> On 28/02/2008, Krassimir Slavchev <firstname.lastname@example.org> wrote:[color=darkred]
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>> Jeremy Chadwick wrote:
>>>> On Wed, Feb 27, 2008 at 11:15:30PM -0800, Doug Hardie wrote:
>>>>> I have just installed 7.0 on some new hardware. Have never tried earlier
>>>>> versions. There are a couple of unexpected items that I do not understand.
>>>>> 2. I have 2 SATA drives in the system. The first is recognized as ad10
>>>>> and the second as ad12. I expected to see ad0 and ad1.[/color][/color]
>>>> Thus, never expect the adX devices to "start with 0".
>>> If you want adX devices to "start with 0" just remove 'options
>>> ATA_STATIC_ID' from the kernel config file but be very carefully if you
>>> change hardware![/color][/color]
>> Ahh thats useful, on the occasions I have remotely installed freebsd
>> over linux I have always failed due to incorrectly guessing the hd id
>> and as such a wrong fstab, if I know it will always be ad0 and ad1 and
>> so on it makes this much easier.[/color]
> And if you ever add a second drive, and it happens to be detected
> first, expect a lot of work getting things working again. There are
> good reasons for doing it this way, though you do get a choice.[/color]
This is the fstab of my notebook:
# Device Mountpoint FStype Options Dump Pass#
/dev/label/2swap none swap sw 0 0
/dev/ufs/2root / ufs rw 1 1
/dev/ufs/2tmp /tmp ufs rw,async 2 2
/dev/ufs/2usr /usr ufs rw 2 2
/dev/ufs/2var /var ufs rw 2 2
I can take out the HD and boot from it via USB-adaptor or put it into another
machine. It all doesn't matter, I don't care about device IDs at all. The geom
label class has made life much easier.
You only have to label the partitions with "tunefs -L" and the swap partition
with "glabel label".
[email]email@example.com[/email] mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"