Mounting FreeBSD UFS2 file system on Ubuntu Linux

19 March 2008 – 10:40 am by wg

I needed to read data from a USB connected hard disk formatted as UFS by FreeBSD 6.x on an Ubuntu Linux system. As it turns out, it was easier than I expected, as Ubuntu (well, Ubuntu Server at least) has built in read-only support for UFS file systems.

$ dmesg |grep "bsd:"
[   31.178307]  sda1: <bsd: >
$ sudo mkdir /mnt/ufsdisk
$ sudo mount -t ufs -r -o ufstype=ufs2 /dev/sda1 /mnt/ufsdisk
$

Check with mount to confirm that this has worked:

$ mount
[..]
/dev/sda1 on /mnt/backupdisk type ufs (ro,ufstype=ufs2)
$

All done.


del.icio.us:Mounting FreeBSD UFS2 file system on Ubuntu Linux  digg:Mounting FreeBSD UFS2 file system on Ubuntu Linux  spurl:Mounting FreeBSD UFS2 file system on Ubuntu Linux  wists:Mounting FreeBSD UFS2 file system on Ubuntu Linux  simpy:Mounting FreeBSD UFS2 file system on Ubuntu Linux  newsvine:Mounting FreeBSD UFS2 file system on Ubuntu Linux  blinklist:Mounting FreeBSD UFS2 file system on Ubuntu Linux  furl:Mounting FreeBSD UFS2 file system on Ubuntu Linux  reddit:Mounting FreeBSD UFS2 file system on Ubuntu Linux  fark:Mounting FreeBSD UFS2 file system on Ubuntu Linux  blogmarks:Mounting FreeBSD UFS2 file system on Ubuntu Linux  Y!:Mounting FreeBSD UFS2 file system on Ubuntu Linux  smarking:Mounting FreeBSD UFS2 file system on Ubuntu Linux  magnolia:Mounting FreeBSD UFS2 file system on Ubuntu Linux  segnalo:Mounting FreeBSD UFS2 file system on Ubuntu Linux  gifttagging:Mounting FreeBSD UFS2 file system on Ubuntu Linux

Possibly related posts

Post a Comment