Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2004 14:26:19 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        dgilbert@dclg.ca
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Filesystem marker.
Message-ID:  <20040114.142619.35090817.imp@bsdimp.com>
In-Reply-To: <16389.25821.502399.872877@canoe.dclg.ca>
References:  <16389.25821.502399.872877@canoe.dclg.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <16389.25821.502399.872877@canoe.dclg.ca>
            David Gilbert <dgilbert@dclg.ca> writes:
: 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.

You can look for the UFS magic number.

Warner



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