mounting FreeBSD partition(UFS) in Ubuntu

`$ sudo mount -r -t ufs -o ufstype=ufs2 /dev/<partition> <mount point>'

I'm running Ubuntu with Linux kernel version 2.6.24-16 with a FreeBSD 7.0 installed on another partition. The reason why I'm writing this down is that the man pages for the `mount' command on Ubuntu does not show a specific/correct way to mount a UFS parition for new(er) FreeBSDs.

4 comments:

Anonymous said...

actually I found that the man pages on ubuntu 10.04 as of 9/8/2010 are up to date with the proper option :

sudo mount -r -t ufs -o ufstype=44bsd /dev/sdf1 /media/usbDrive/


replace sdf1 with the partition you're looking for and naturally replace the mountpoint with the proper directory structure you've created.

Anonymous said...

This command worked for me for FreeBSD 8.1-RELEASE but i had to modify it from 44bsd to UFS2

sudo mount -r -t ufs -o ufstype=ufs2 /dev/sdf1 /media/usbDrive/

Anonymous said...

For mounting A UFS partition from a FreeNAS 0.7.2.5543 (Sabanda)box based on FreeBSD 7.2, I found that:

sudo mount -r -t ufs -o ufstype=ufs2 /dev/sdf1 /media/usbDrive/

worked for me.

Pilot said...

sudo mount -r -t ufs -o ufstype=ufs2 /dev/sdb1 /media/usbDrive/

Worked for me too. Thanks