Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2003 15:12:46 -0600
From:      "Jack L. Stone" <jackstone@sage-one.net>
To:        freebsd-questions@freebsd.org
Subject:   FBSD-4.4 vs 4.5-4.7 for fdisk, disklabel & newfs
Message-ID:  <3.0.5.32.20030121151246.0124d690@mail.sage-one.net>

next in thread | raw e-mail | index | archive | help
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...???

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.20030121151246.0124d690>