*BSD News Article 40684


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!caen!usenet.coe.montana.edu!bsd.coe.montana.edu!nate
From: nate@bsd.coe.montana.edu (Nate Williams)
Newsgroups: comp.os.386bsd.questions
Subject: Re: can't mount a sunos4 cd disk using mcd0
Date: 10 Jan 1995 16:38:15 GMT
Organization: Montana State University, Bozeman  Montana
Lines: 26
Message-ID: <3eud5n$sbp@pdq.coe.montana.edu>
References: <3estq0$32t@asia.lm.com>
NNTP-Posting-Host: bsd.coe.montana.edu

In article <3estq0$32t@asia.lm.com>,  <ka3ffy@telerama.lm.com> wrote:
>hello,
>
>   i have some sun cd's for os 4 and greater. they are ufs format. i 
>can't get them to mount. here is one of my tries. i run freebsd.
>
>mount -r -t ufs /dev/mcd0a /cdrom
>
>mount -r /dev/mcd0a /cdrom

The problem lies in the fact that the byte order is different from a Sun
to a `n x86.  This means that everything looks backward to the FreeBSD
FS.  And, the reason that byte order switching isn't done automatically
is because of performance issues since every read/write would need to be
checked for byte swapping.

Anyway, Thor posted about Pace Willison's FS code which did this, so if
you can find it it might be a good place to start.


Nate
-- 
nate@FreeBSD.org             |  FreeBSD core member and all around tech.
nate@schizo.coe.montana.edu  |  weenie.
work #: (406) 994-5980       |  Got lots of offers for work, now I need to
home #: (406) 586-0579       |  decide which job to take. :)