Hi all,
I have some ex-FreeBSD disks that (I hope) contains some fossil source
code I now unexpectedly need. I've been through the Linux + FreeBSD
Mini-HOWTO, and Google, and no luck.
Debian unstable, 2.6.7 kernel with ufs and bsd disklabel support, disk
images set up via loopback rather than real disks.
If I do fdisk /dev/loop0, I get:
This disk has both DOS and BSD magic.
Give the 'b' command to go to BSD mode.
The number of cylinders for this disk is set to 371597.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): b
Partition /dev/loop0p1 has invalid starting sector 0.
Command (m for help):
(I've no idea whether the above is a real error or not)
Anyway
mount -t ufs -o ro,ufstype=44bsd /dev/loop0 tmp
gives me
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
which I suspect is because I'm not getting at the partitions within the
slice, but I don't know how this works from the linux worldview.
Somebody better help, or the penguin gets a pitchfork where it's going
to hurt.
Thanks
Ronan
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!