From owner-freebsd-hackers@FreeBSD.ORG Sun Dec 18 00:54:21 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81D6E16A41F for ; Sun, 18 Dec 2005 00:54:21 +0000 (GMT) (envelope-from gilbert.fernandes@spamcop.net) Received: from mailgate.cesmail.net (mailgate.cesmail.net [216.154.195.36]) by mx1.FreeBSD.org (Postfix) with SMTP id DB9A843D5D for ; Sun, 18 Dec 2005 00:54:20 +0000 (GMT) (envelope-from gilbert.fernandes@spamcop.net) Received: (qmail 8934 invoked from network); 18 Dec 2005 00:54:18 -0000 Received: from unknown (HELO epsilon.cesmail.net) (192.168.1.40) by mailgate.cesmail.net with SMTP; 18 Dec 2005 00:54:18 -0000 Received: (qmail 23913 invoked by uid 99); 18 Dec 2005 00:54:18 -0000 Received: from i02v-87-89-157-8.d4.club-internet.fr (i02v-87-89-157-8.d4.club-internet.fr [87.89.157.8]) by webmail.spamcop.net (Horde) with HTTP for ; Sun, 18 Dec 2005 01:54:18 +0100 Message-ID: <20051218015418.sf2ne6sckkss0oww@webmail.spamcop.net> Date: Sun, 18 Dec 2005 01:54:18 +0100 From: Gilbert Fernandes To: freebsd-hackers@freebsd.org References: <20051217122006.GA2758@twelvegates.homeip.net> <20051217134258.GC1706@britannica.bec.de> <20051217171029.GB14214@twelvegates.homeip.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Mailman-Approved-At: Sun, 18 Dec 2005 03:15:29 +0000 Subject: Re: accessing NetBSD filesystem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2005 00:54:21 -0000 > 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