From owner-freebsd-hackers Thu Feb 22 16:28:16 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA02867 for hackers-outgoing; Thu, 22 Feb 1996 16:28:16 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id QAA02729 for ; Thu, 22 Feb 1996 16:27:58 -0800 (PST) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id KAA20570; Fri, 23 Feb 1996 10:54:55 +1030 From: Michael Smith Message-Id: <199602230024.KAA20570@genesis.atrad.adelaide.edu.au> Subject: Re: BSD slices in FAT filesystems... To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Fri, 23 Feb 1996 10:54:54 +1030 (CST) Cc: jkh@time.cdrom.com, msmith@atrad.adelaide.edu.au, hackers@FreeBSD.org In-Reply-To: <199602230013.BAA22831@labinfo.iet.unipi.it> from "Luigi Rizzo" at Feb 23, 96 01:13:30 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org Precedence: bulk Luigi Rizzo stands accused of saying: > > Some time ago someone posted the following: > > > > For each filesystem, I look for a directory called 'slabs.bsd'. If the > > > directory exists, I look in it for files 'a'-'h', 'c' excluded. If any > > > of these files are completely contiguous, I add their sector ranges to > > > a disklabel attached to the slice. > > is there any code available to build a fake disklabel for a slice ? Do you want to be more specific? The code I described above is currently running on a machine at home; I'm trying to improve some aspects of its performance (the FAT reading code is way too slow), but it works OK for the initial test case. Booting from it doesn't work quite right yet; that's the next step. What sort of 'fake' disklabel do you want? > Luigi Rizzo Dip. di Ingegneria dell'Informazione -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[