Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!torn!nntp.cs.ubc.ca!news.bc.net!newsserver.sfu.ca!sfu.ca!vanepp From: vanepp@fraser.sfu.ca (Peter Van Epp) Newsgroups: comp.os.386bsd.development Subject: Re: [FreeBSD] patch to allow mounting of DOS drives Date: 23 Aug 94 04:42:34 GMT Organization: Simon Fraser University Lines: 36 Message-ID: <vanepp.777616954@sfu.ca> 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> NNTP-Posting-Host: fraser.sfu.ca 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. >! 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