Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2004 10:48:45 -0500
From:      David Gilbert <dgilbert@dclg.ca>
To:        freebsd-hackers@freebsd.org
Subject:   Filesystem marker.
Message-ID:  <16389.25821.502399.872877@canoe.dclg.ca>

next in thread | raw e-mail | index | archive | help
Is there a set of bytes at some offset in a block that is common to
any instance of a BSD ufs filesystem?  I ask because recently my home
machine erased it's fdisk block _and_ the bsdlabel with it.  It
certainly didn't have time to erase the whole disk, but I'm having
trouble guessing where the partitions are.

/usr/ports/sysutils/gpart will look for partitions on a disk ... but
it only knows to look for bsd disklabels ... not bsd filesystems.
Ideally, I'd like to make a bsd filesystem module for gpart with some
pointers from the group.

Dave.

-- 
============================================================================
|David Gilbert, Independent Contractor.       | Two things can only be     |
|Mail:       dave@daveg.ca                    |  equal if and only if they |
|http://daveg.ca                              |   are precisely opposite.  |
=========================================================GLO================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16389.25821.502399.872877>