From owner-freebsd-questions Tue Jan 21 13:12:53 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 7C35537B401 for ; Tue, 21 Jan 2003 13:12:52 -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 7ED7643EB2 for ; Tue, 21 Jan 2003 13:12:51 -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 h0LLCgJ7058116 for ; Tue, 21 Jan 2003 15:12:43 -0600 (CST) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20030121151246.0124d690@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 15:12:46 -0600 To: freebsd-questions@freebsd.org From: "Jack L. Stone" Subject: FBSD-4.4 vs 4.5-4.7 for fdisk, disklabel & newfs Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, hits=0.8 required=4.5 tests=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 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