Date: Thu, 19 Feb 2009 22:00:42 +0100 From: Sebastian Stumpf <mail@sebastianstumpf.de> To: freebsd-hackers@freebsd.org Subject: gbde and missing lock file Message-ID: <20090219210041.GA5299@sebastianstumpf.de>
next in thread | raw e-mail | index | archive | help
--DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. I've got a small GEOM_BDE setup at my computer. I used gbde to encrypt ad4s1e and stored its lock file under=20 /etc/gbde/ad4s1e.lock. Accidently I deleted this file via a=20 cronjob. I know that the lock file only stores the lock sector position on the disk. I've still got my password. I've read a bit through src/sbin/geom, but I don't think that I'm skilled enough to write a hack that will try every sector with my password and call fsck to check for a valid ufs filesystem.=20 I'm watching this list for quite some time now and I know that there are some people out there how could help me with this little brute=20 force problem in a few minutes by putting together a small hack/patch. And yes: Of course there was a backup of the lock file. But guess=20 where... I'd be very grateful if somebody could help me mounting this filesystem one more time. :-) Cheers, Sebastian --=20 VI VI VI - The editor of the beast. - perlhacker.org --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkmdyHkACgkQUCsAQC4AUrjG4ACfR+oHbRkDA6OQL7EZN+9RmO0J Y8YAn2Q15uk+PGJjRR0xhBJWpYkGW32E =lIke -----END PGP SIGNATURE----- --DocE+STaALJfprDB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090219210041.GA5299>