About gbde questions

2002-11-21 Thread kai ouyang
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 [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: About gbde questions

2002-11-21 Thread kai ouyang
Hi Everybody,

Poul-Henning Kamp write:

Right.  By cold disk we mean that the pass-phrase and key-material
is not available.  A laptop which is only suspended does _not_ meet
this criteria.

Thank you.

Yes, you want to newfs and mount /dev/da0s1f.bde
I think the -l is a mistake in the usage, it should be -L.

you mean that I must newfs /dev/da0s1f again, but it is my '/var' 
partition.
And I do not find the '/dev/da0s1f.bde' in the '/dev/'. In DEVFS model, I 
do not know how to create a new device name in '/dev/'. And what is the 
'da0s1f.bde'?
I have some puzzles about 'newfs', 'gbde' should protect the whole disk. I 
do not know the relationship of the 'gbde' and the partition.

Best Regards
 Ouyang Kai




_
Ãâ·ÑÏÂÔØ MSN Explorer:  http://explorer.msn.com/lccn/ 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message