*BSD News Article 85378


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!news.wildstar.net!newsfeed.direct.ca!portc01.blue.aol.com!cliffs.rs.itd.umich.edu!howland.erols.net!newsfeed.internetmci.com!portal.gmu.edu!not-for-mail
From: ryan@univac.labs.gmu.edu (Ryan Rafferty)
Newsgroups: comp.os.linux.development.system,comp.unix.bsd.freebsd.misc
Subject: Re: Linux UFS support and FreeBSD
Followup-To: comp.os.linux.development.system,comp.unix.bsd.freebsd.misc
Date: 22 Dec 1996 22:27:29 GMT
Organization: George Mason University, Fairfax, Virginia, USA
Lines: 55
Distribution: inet
Message-ID: <59kckh$ctb@portal.gmu.edu>
References: <59ac1t$hq1@news6.noc.netcom.net>
NNTP-Posting-Host: 96f0460.dorm.gmu.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
Xref: euryale.cc.adfa.oz.au comp.os.linux.development.system:37511 comp.unix.bsd.freebsd.misc:32905

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.

Is mise,
Ryan

Roger Espel Llima (espel@bireme.ens.fr) wrote:
: I've been trying to setup a system with both Linux and FreeBSD, and
: to get them to read each other's partitions.  I had FreeBSD create
: three BSD-partitions inside a slice (aka a real mbr partition) and
: install itself in two of them with its native UFS filesystem... 
: 
: When booting Linux, the kernel finds the partitions correctly:
: 
: nostromo:~ $ dmesg | grep hda
: hda: QUANTUM FIREBALL_TM3200A, 3067MB w/76kB Cache, LBA, CHS=779/128/63
:  hda: hda1 hda2 < hda5 hda6 hda7 > hda3 < hda8 hda9 hda10 >
:       ^^^^	^^^^^^^^^^^^^^^^^^	  ^^^^^^^^^^^^^^^
:       DOS	FreeBSD partitions        linux partitions
: 		in one primary slice	  in an extended slice
: 
: but when I try to mount them, I get this:
: 
: nostromo:~ $ sudo mount -t ufs /dev/hda7 /mnt2
: 
: Dec 19 04:52:41 nostromo kernel: ufs_read_super: fs_nindir 2048 != 3
: Dec 19 04:52:41 nostromo kernel: ufs_read_super: fucking Sun blows me
: Dec 19 04:52:41 nostromo kernel: ufs_read_super: fs last mounted on "/mnt/usr"
: Dec 19 04:52:41 nostromo kernel: ufs_read_super: fs needs fsck
: Dec 19 04:52:41 nostromo kernel: ufs_read_inode: file too big ino 2 dev 3/7, faking size
: Dec 19 04:52:41 nostromo kernel: ufs_read_super: inopb 64
: Dec 19 04:52:47 nostromo kernel: ufs_statfs
: Dec 19 04:52:47 nostromo kernel: ufs_statfs
: 
: then cd'ing into /mnt2 doesn't find anything (not even . and ..), df
: gives completely insane sizes, and once you've been in the directory and
: tried an ls, it won't even let you umount the thing ("/dev/hda7 is busy"
: even tho it's not the current dir of anything).
: 
: Any clues?  The kernel is:
: 
: nostromo:/proc $ cat version 
: Linux version 2.0.26 (root@nostromo.ens.fr) (gcc version 2.7.2.1) #1 Wed Nov 27 23:37:48 MET 1996
: nostromo:/proc $ cat filesystems 
:         ext2
: 	nodev   proc
:         ufs
: 
: 
: 	-Roger
: --
: e-mail: roger.espel.llima@ens.fr
: WWW page & PGP key: http://www.eleves.ens.fr:8080/home/espel/index.html