*BSD News Article 50120


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!scsing.switch.ch!news.belwue.de!fu-berlin.de!zrz.TU-Berlin.DE!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ZIP drive in FreeBSD
Date: 28 Aug 1995 11:25:53 +0200
Organization: Private U**x site, Dresden.
Lines: 27
Message-ID: <41s231$qck@bonnie.tcd-dresden.de>
References: <41pc3c$15j@hathor.mch.sni.de> <41q5lm$p2q@reason.cdrom.com> <41qkia$1l5@hathor.mch.sni.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Hans Wander <awan@hathor.mch.sni.de> wrote:
>In article <41q5lm$p2q@reason.cdrom.com>,
>>However, if you run disklabel and newfs
>>(see man pages for both) by hand on it, you'll probably not have too much
>>trouble.
>whenever I try to write a label, the result is:
>disklabel: ioctl DIOCWDINFO: Operation not supported by device
>
>it's very frustrating.

You forgot to mention the command you're using for this.  What proved
to work for me so far:

<set up entry in /etc/disktab>
disklabel -r -w sd<unit> <my_disktab_entry>
disklabel -B sd<unit>
newfs [-d0] /dev/rsd<unit>a

Note that you'll get some warnings until you've finally placed the
bootstrap on the drive (disklabel -B), and the drive _won't_ get a
valid fdisk table by this method, so NEVER put this drive in reach of
messy DOS' fdisk program!
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)