From owner-freebsd-current Thu Dec 23 17:41:27 1999 Delivered-To: freebsd-current@freebsd.org Received: from matrix.netvision.net.il (mailgw.netvision.net.il [194.90.1.151]) by hub.freebsd.org (Postfix) with ESMTP id AA831150BE for ; Thu, 23 Dec 1999 17:41:23 -0800 (PST) (envelope-from ak@freenet.co.uk) Received: from freenet.co.uk (RAS1-p100.rlz.netvision.net.il [62.0.168.102]) by matrix.netvision.net.il (8.9.3/8.9.3) with ESMTP id DAA23398; Fri, 24 Dec 1999 03:39:39 +0200 (IST) Message-ID: <3862D0CA.AD3B4956@freenet.co.uk> Date: Fri, 24 Dec 1999 01:47:54 +0000 From: Alex X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Chris Piazza Cc: Donn Miller , current@FreeBSD.ORG Subject: Re: Port of ext2fs fsck References: <38625B61.BE2551E1@cvzoom.net> <19991223101211.A678@norn.ca.eu.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chris Piazza wrote: > > On Thu, Dec 23, 1999 at 12:26:57PM -0500, Donn Miller wrote: > > Is there such a beast? This would be a big big help to those who > > administer Linux boxes from FreeBSD machines. And, it would make > > life easier for those of us who dual-boot with FreeBSD and > > Linux. Basically, I'd like to see a port of e2fsck in the ports > > collection. > > I have no idea how much work it'd be, but you or someone else > could try porting NetBSD's fsck_ext2fs some time. That would > be what you need. > http://cvsweb.netbsd.org/bsdweb.cgi/basesrc/sbin/fsck_ext2fs/ Yes. Porting their fsck_msdos might be useful too. fsck(8) under both NetBSD and OpenBSD is a simple program that executes the appropriate fsck_xxx command for a given filesystem type (just like mount(8)). I think it would make sense to adopt their approach, as it also allows for new filesystem types to be seamlessly integrated into fsck(8) (e.g. fsck_ntfs). Their fsck_ffs is virtually identical to our fsck, so I imagine porting other fsck_xxx's shouldn't be too hard. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message