From owner-freebsd-current Thu Nov 21 0:57: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CA9637B404; Thu, 21 Nov 2002 00:57:03 -0800 (PST) Received: from hotmail.com (f28.pav0.hotmail.com [64.4.32.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C54843E4A; Thu, 21 Nov 2002 00:57:03 -0800 (PST) (envelope-from oykai@msn.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 21 Nov 2002 00:57:03 -0800 Received: from 210.74.136.33 by pv0fd.pav0.hotmail.msn.com with HTTP; Thu, 21 Nov 2002 08:57:02 GMT X-Originating-IP: [210.74.136.33] From: "kai ouyang" To: Current@FreeBSD.org Cc: phk@FreeBSD.ORG Subject: About gbde questions Date: Thu, 21 Nov 2002 16:57:02 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 21 Nov 2002 08:57:03.0224 (UTC) FILETIME=[F5C54780:01C2913B] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi,everybody, I have some puzzles on the 'gbde' function. I saw the gbde(4), I do not understand the 'cold' true meaning. My point is that if the disk were stealed by somebody, he could not see anything in the disk unless he knows the "pass-phrase". right? In the first barrier, the manual said that "metadata" is necessary to locate the lock-sector, I want to know how we get "metadata". I added the option "GEOM_BDE" into my kernel conf file. I am trying.... I do as following gbde(8): Current# gbde init /dev/da1s1f -l /etc/da1s1f.lock gbde: illegal option -- l Usage error: Invalid option Usage: gbde attach dest -l filename gbde detach dest gbde init dest [-i] [-f filename] -l filename gbde setkey dest [-n key] -l filename gbde destroy dest [-n key] -l filename Current# touch /etc/da1s1f.lock Current# gbde init /dev/da1s1f -f /etc/da1s1f.lock gbde: Missing number_of_keys property The 'da1s1f' partition exists, but I do not mount it. I first try to test 'da0s1f', but the box info:"gbde: /dev/da0s1f: Device busy". If I want to test the 'gbde' function, could somebody give me some help? How can I do? Best Regards Ouyang Kai _________________________________________________________________ 享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message