*BSD News Article 35213


Return to BSD News archive

Newsgroups: comp.os.386bsd.development
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!library.ucla.edu!europa.eng.gtefsd.com!MathWorks.Com!solaris.cc.vt.edu!swiss.ans.net!newsgate.watson.ibm.com!watnews.watson.ibm.com!bocanews.bocaraton.ibm.com!portal.austin.ibm.com!awdprime.austin.ibm.com!radha
From: radha@austin.ibm.com (Radha Krishnan)
Subject: Re: [FreeBSD] patch to allow mounting of DOS drives
Originator: root@worf.cet.austin.ibm.com
Sender: news@austin.ibm.com (News id)
Message-ID: <Cuzq3L.23nt@austin.ibm.com>
Date: Tue, 23 Aug 1994 13:42:57 GMT
References: <32uvui$dov@Venus.mcs.com> <334mjf$1ku@euterpe.owl.de> <CuxDFB.1nv@tfs.com> <33bbeo$4q@rivendell.apana.org.au> <Cuyonp.Mq5@tfs.com> <vanepp.777616954@sfu.ca>
Organization: IBM Austin
Lines: 52


In article <vanepp.777616954@sfu.ca>, vanepp@fraser.sfu.ca (Peter Van Epp) writes:
> julian@tfs.com (Julian Elischer) writes:
> 
> >In article <33bbeo$4q@rivendell.apana.org.au>,
> >Phil Homewood <phil@rivendell.apana.org.au> wrote:
> >>wd0: cannot find label (Disk has no Fdisk partitions)
> >>wd1: cannot find label (Disk has no Fdisk partitions)
> >>wd0: cannot find label (Disk has no Fdisk partitions)
> 
> >oops
> 
> >try this instead.. the last had two typos in it..
> >:-(
> >note, this will only help UNLABELED disks.
> 
> >julian
> 
> >---------------cut here-----------
> >*** ufs_disksubr.c.orig	Sun Aug 21 22:51:21 1994
> >--- ufs_disksubr.c	Mon Aug 22 14:04:07 1994
> 
> line 228 and 229 need to have a cast (char) added like so to make it 
> build. With that change it works on a single disk machine fine, and is
> just building (slowly ...) on my 386 with two IDEs.
> 

I didn't have any problem building the original unmodified patch. However,
it still didn't work for me with two SCSIs. Julian is looking in that.
I'd really be curious if your attempt at two disk machines worked? If so
could you please send me you fdisk and disklabel outputs??

P.S Thanks for your help reg Bootblock installation for booting off from sd1.

> >! 		if ((bp->b_un.b_addr[510] != 0x55)
> >! 		  ||(bp->b_un.b_addr[511] != 0xaa)) {
> 
> needs to be:
> 
> >! 		if ((bp->b_un.b_addr[510] != (char) 0x55)
> >! 		  ||(bp->b_un.b_addr[511] != (char) 0xaa)) {
> 
> 
> Peter Van Epp / Operations and Technical Support 
> Simon Fraser University, Burnaby, B.C. Canada
> 
------------------------------------------------------------------------------

Radha Krishnan				Email: Radha@austin.ibm.com ( Work )
					       radha@krish.zilker.net ( Home )

------------------------------------------------------------------------------