*BSD News Article 38897


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!news.sprintlink.net!news.cloud9.net!cloud9.net!tls
From: tls@cloud9.net (Thor Lancelot Simon)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Are FreeBSD 1.1.5.1 and 2.0 ufs filesystems compatible?
Date: 4 Dec 1994 21:04:49 GMT
Organization: Cloud 9 Internet + White Plains, New York USA
Lines: 22
Message-ID: <3btau4$3sp@news.cloud9.net>
References: <3blt5d$sui@shore.shore.net> <3bnkic$ktm@Mars.mcs.com> <1994Dec3.213917.1145@robkaos.ping.de> <3brt0v$ccv@pdq.coe.montana.edu>
NNTP-Posting-Host: cloud9.net

In article <3brt0v$ccv@pdq.coe.montana.edu>,
Nate Williams <nate@bsd.coe.montana.edu> wrote:
>In article <1994Dec3.213917.1145@robkaos.ping.de>,
>Robert Schien <robsch@robkaos.ping.de> wrote:
>>BTW, is it possible to mount a SVR4.0 ufs partitions from
>>FreeBSD? Or vice versa?
>
>I'm not sure.  You could try it and see what happens.  If the SVR4 filesystems
>are the same it should work, but I doubt they are the same.

Actually, *if the disklabel format were the same*, even if you couldn't mount
them (and you likely won't be able to mount them read-write without mangling
them, if you can in fact mount them at all), you could probably read 
them with dump | restore -i.  Unfortunately, there's a lot more variance in
disklabel formats than in 4.2-derived UFSen.

But writing a foreign-disklabel reader isn't so hard; take a look at 
disksubr.c from the NetBSD pmax or sparc ports to see an example.
-- 
Thor Lancelot Simon                                               tls@cloud9.net
   "Nothing is true.  Everything is permitted."  -- Hasan ibn Sabah
   "Bus error (core dumped)" -- SunOS