From owner-freebsd-questions Wed Sep 8 10:47:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from trooper.velocet.ca (trooper.velocet.net [216.126.82.226]) by hub.freebsd.org (Postfix) with ESMTP id C317E15157; Wed, 8 Sep 1999 10:46:38 -0700 (PDT) (envelope-from dgilbert@trooper.velocet.ca) Received: (from dgilbert@localhost) by trooper.velocet.ca (8.9.3/8.9.3) id NAA06492; Wed, 8 Sep 1999 13:46:18 -0400 (EDT) (envelope-from dgilbert) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14294.41194.422190.809990@trooper.velocet.ca> Date: Wed, 8 Sep 1999 13:46:18 -0400 (EDT) To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Superblock. X-Mailer: VM 6.71 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG So... I lost my partition table. I'm willing to spend a little time on this. Is there a byte sequence that I might recognise in a superblock or at the start of a partition? I know this isn't an easy task, but man 5 fs leads me to believe that I might find: #define FS_MAGIC 0x011954 /* the fast filesystem magic number */ #define FS_OKAY 0x7c269d38 /* superblock checksum */ ... but I don't see those bytes. Any hints? I'm willing to post a description of a solution for the FAQ if I can find the filesystems. Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://www.velocet.net/~dgilbert | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message