From owner-freebsd-questions Tue Jan 21 20:27:47 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 544B037B401 for ; Tue, 21 Jan 2003 20:27:46 -0800 (PST) Received: from sage-american.com (adsl-65-71-135-139.dsl.crchtx.swbell.net [65.71.135.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5998643F3F for ; Tue, 21 Jan 2003 20:27:45 -0800 (PST) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea.sage-american [192.168.0.3]) by sage-american.com (8.12.6/8.12.6) with SMTP id h0M4RhJ7059938 for ; Tue, 21 Jan 2003 22:27:43 -0600 (CST) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20030121222747.0121f4d0@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Tue, 21 Jan 2003 22:27:47 -0600 To: freebsd-questions@FreeBSD.ORG From: "Jack L. Stone" Subject: Re: FBSD-4.4 vs 4.5-4.7 for fdisk, disklabel & newfs In-Reply-To: <3.0.5.32.20030121151246.0124d690@mail.sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, hits=0.0 required=4.5 tests=IN_REP_TO,SPAM_PHRASE_00_01 version=2.43-jlsrules1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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