accessing NetBSD filesystem

Gilbert Fernandes gilbert.fernandes at spamcop.net
Sat Dec 17 16:54:21 PST 2005


> FFS == UFS.

The FreeBSD UFS is the FFS accessed through the VFS layer, but basically
the format is the same. If you want to have access, from FreeBSD, to
NetBSD partitions, make sure the NetBSD partitions have been formated
using FFSv2 which is the port of UFS to NetBSD. There are some
differences though : no ACL support nor snapshots available there.

Please use NetBSD 2.x (I use 2.1 but I got a machine running current)
and format the partition to be shared using FFSv2 on NetBSD.

Should work fine.

FFSv2 (UFS2 in FreeBSD) is not the defautl type in NetBSD 2 for now. I
have not checked in current. So if you want to use newfs from NetBSD,
don't forget to ask for FFSv2 (-O 2).

FFS code in NetBSD's kernel contains the options required for UFS2
support.

There are superblock changes in FFSv2 (UFS2). So don't use old (as in
NetBSD 1.6.x) fsck on such volumes. It is possible to do an upgrade on
fsck_ffs before using FFSv2 and this works fine in 1.6.x

Please read the following doc :

http://sixshooter.v6.thrupoint.net/jeroen/faq.html

The NetBSD's current newfs man page
(http://netbsd.gw.com/cgi-bin/man-cgi?newfs++NetBSD-current) makes
mention of the ACL so perhaps they're supported in NetBSD-current :)

--
unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ;
fsck ; umount ; sleep


More information about the freebsd-hackers mailing list