From owner-freebsd-hackers Thu Feb 11 08:52:03 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA11725 for freebsd-hackers-outgoing; Thu, 11 Feb 1999 08:52:03 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from paprika.michvhf.com (paprika.michvhf.com [209.57.60.12]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA11694 for ; Thu, 11 Feb 1999 08:51:58 -0800 (PST) (envelope-from vev@michvhf.com) Received: (qmail 25845 invoked by uid 1001); 11 Feb 1999 16:52:00 -0000 Date: Thu, 11 Feb 1999 11:52:00 -0500 (EST) From: Vince Vielhaber To: Bob Willcox cc: hackers list Subject: Re: Need help disklabeling zip drives In-Reply-To: <19990211070158.A5111@luke.pmr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 11 Feb 1999, Bob Willcox wrote: > Hi all, > > Could some kind soul(s) out there please tell me how they go about > disklabeling their zip drives? I changed the partition type on my zip > cartridge from DOS (6) to FreeBSD (165) but can't figure out how to get > disklabel to put a label on it. This is on a scsi zip drive running > 3.0-stable (of 2/9). On 2.2.x after getting a few of those errors that I just snipped out I wrote a quick script based on what I found in the handbook. Works quite well (note this is with an IDE zip disk, you'll need to change the device filenames to match yours): dd if=/dev/zero of=/dev/rwfd0 count=2 disklabel -w -r wfd0 zip100 stuff newfs /dev/rwfd0c mount /dev/wfd0c /zip cp new-zip-disk /zip Vince. -- ========================================================================== Vince Vielhaber -- KA8CSH email: vev@michvhf.com flame-mail: /dev/null # include TEAM-OS2 Online Campground Directory http://www.camping-usa.com Online Giftshop Superstore http://www.cloudninegifts.com ========================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message