From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 30 02:36:01 2003 Return-Path: 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 EF40737B401 for ; Wed, 30 Apr 2003 02:36:01 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D51643F75 for ; Wed, 30 Apr 2003 02:36:01 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h3U9Zws4006765; Wed, 30 Apr 2003 11:35:59 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: "Artem 'Zazoobr' Ignatjev" From: "Poul-Henning Kamp" In-Reply-To: Your message of "30 Apr 2003 12:50:57 +0400." <1051692657.296.15.camel@timon.memphis.mephi.ru> Date: Wed, 30 Apr 2003 11:35:58 +0200 Message-ID: <6764.1051695358@critter.freebsd.dk> cc: freebsd-hackers@freebsd.org Subject: Re: Implementing a FS: some help required X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2003 09:36:02 -0000 In message <1051692657.296.15.camel@timon.memphis.mephi.ru>, "Artem 'Zazoobr' I gnatjev" writes: >Hello > >I've recently came accross an issue with solaris/x86 hard, which was >damaged so much, that it caused native solaris fsck dump a core. Since >there was some important data on that hard, I started playing with that >hard. It's said that Solaris uses UFS derived from 4.2BSD, and after a >while I was able to mount it. >I've found their disklabel structure and now I want to make BSD >recognize it, so that it will automatically detect layout of their >partitions. >Where can i find docs on adding implementations of others filesystems >into kernel? Freebsd 5.x already recognizes SUN disklabels, just add the GEOM_SUNLABEL to your kernel configuration. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.