From owner-freebsd-hackers Thu Feb 11 05:02:07 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA12634 for freebsd-hackers-outgoing; Thu, 11 Feb 1999 05:02:07 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from luke.pmr.com (luke.pmr.com [207.170.114.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA12622 for ; Thu, 11 Feb 1999 05:02:02 -0800 (PST) (envelope-from bob@luke.pmr.com) Received: (from bob@localhost) by luke.pmr.com (8.9.2/8.9.2) id HAA05362 for freebsd-hackers@freebsd.org; Thu, 11 Feb 1999 07:01:58 -0600 (CST) (envelope-from bob) Date: Thu, 11 Feb 1999 07:01:58 -0600 From: Bob Willcox To: hackers list Subject: Need help disklabeling zip drives Message-ID: <19990211070158.A5111@luke.pmr.com> Reply-To: Bob Willcox Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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). Here's what fdisk tells me about the disk: ******* Working on device /dev/rda3 ******* parameters extracted from in-core disklabel are: cylinders=96 heads=64 sectors/track=32 (2048 blks/cyl) parameters to be used for BIOS calculations are: cylinders=96 heads=64 sectors/track=32 (2048 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 32, size 196576 (95 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 1; end: cyl 95/ sector 32/ head 63 And here is the output of various failed attempts at disklabeling: root@luke-p7 /dev> disklabel -r da3s4 disklabel: bad pack magic number (label is damaged, or pack is unlabeled) root@luke-p7 /dev> disklabel -r da3 disklabel: bad pack magic number (label is damaged, or pack is unlabeled) root@luke-p7 /dev> disklabel -wr da3s4 zip100 disklabel: No space left on device root@luke-p7 /dev> disklabel -w da3s4 zip100 disklabel: No space left on device Any help would be greatly appreciated! Thanks, Bob -- Bob Willcox The man who follows the crowd will usually get no bob@luke.pmr.com further than the crowd. The man who walks alone is Austin, TX likely to find himself in places no one has ever been. -- Alan Ashley-Pitt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message