Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2003 22:27:47 -0600
From:      "Jack L. Stone" <jackstone@sage-one.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FBSD-4.4 vs 4.5-4.7 for fdisk, disklabel & newfs
Message-ID:  <3.0.5.32.20030121222747.0121f4d0@mail.sage-one.net>
In-Reply-To: <3.0.5.32.20030121151246.0124d690@mail.sage-one.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 03:12 PM 1.21.2003 -0600, Jack L. Stone wrote:
>I ran into a snag using my HD backup script that works like a charm on
>FBSD-4.5-4.7, but won't when I just tried it on 4.4. The script uses Fdisk,
>Disklabel and Newfs. Seems to fdisk & disklabel okay, but when I try to
>then run the newfs on a partition, like /dev/ad2s1a, it says, "no such file
>or directory". Disklabel says the partition /dev/ad2s1a does indeed exist
>as setup. But, newfs cannot see it.
>
>Here's the switches that work for me normally on HD setup:
>
>/sbin/fdisk -BI ad2
>/sbin/disklabel -w -r -B ad2s1 auto
>/sbin/disklabel -R -B ad2s1 mydisk.label
>/sbin/newfs -U /dev/ad2s1a
>
>Are there some incompatibility changes or different switches for 4.4 that I
>missed...???
>

I'll answer my own question. Be sure that all devices are made before
attempting this....!!

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
jackstone@sage-one.net

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?3.0.5.32.20030121222747.0121f4d0>