Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.mathworks.com!fu-berlin.de!cs.tu-berlin.de!loewis From: loewis@cs.tu-berlin.de (Martin v.Loewis) Newsgroups: comp.os.linux.development.system,comp.unix.bsd.freebsd.misc Subject: Re: Linux UFS support and FreeBSD Date: 23 Dec 1996 23:30:20 GMT Organization: Technical University of Berlin, Germany Lines: 30 Distribution: inet Message-ID: <59n4mc$cj6$1@news.cs.tu-berlin.de> References: <59ac1t$hq1@news6.noc.netcom.net> <59kckh$ctb@portal.gmu.edu> NNTP-Posting-Host: 130.149.22.20 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Xref: euryale.cc.adfa.oz.au comp.os.linux.development.system:37595 comp.unix.bsd.freebsd.misc:33028 In article <59kckh$ctb@portal.gmu.edu>, Ryan Rafferty <ryan@univac.labs.gmu.edu> wrote: >Lots of interesting discussion about obscenity, but I haven't seen >any suggestions about the original problem getting UFS partitions to >mount. I have always run into the same problem, and I'd appreciate >advice on how to get FreeBSD partitions to mount under Linux. I made a patch to the Linux ufs to mount FreeBSD partitions a while ago. I don't know whether it works with the latest snapshots, I didn't use it in a while. Das bloede an ufs ist, dass es so viele Varianten davon gibt (so only German readers are offended :-). AFAIK, ufs comes in the following variants: - 4.2 vs. 4.4 - if 4.2, with or w/o SunOS modifications - if with SunOS modifications, with or w/o Solaris enhancements - if 4.4, with or w/o Hurd enhancements - little endian or big endian (it seems that BSD uses the native endianness on all platforms, whereas Sun uses big endian on all platforms) And this doesn't even cover NeXT or DEC... Please note that ufs has a magic value (011954). Nobody changing the file system ever cared to change the magic value. You don't mess with Kirk McKusick's birth day. Also note that even the BSD descendants have only limited capabilities for cross-mounting. Don't touch a Solaris disk with FreeBSD... Anyways, if you want to try it out, I can dig out a copy. Regards, Martin