encrypt partitions
Pau Amaro-Seoane
vim.unix at googlemail.com
Sun Nov 25 12:58:00 PST 2007
hi,
I htink this is a trivial question, but since this is newbies, there I go:
I have made two small separate partitions; one for my emails and the
other one for some very private files. The first partition is called
/correu and the second one /fitx_confg
I want the two of them encrypted. They are 2G and 100M in size. How
can I do it and how long does it take to encrypt/ decrypt them on
boot???
Cheers,
Pau
Some output follows.
(By the way, the 3600 RPM is a bug, I hope, this is supposed to be a 5400 RPM)
spree| sudo disklabel -p g /dev/wd0c
# Inside MBR partition 1: type A6 start 6136830 size 228298770
# /dev/wd0c:
type: ESDI
disk: ESDI/IDE disk
label: SAMSUNG HM121HC
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 240
sectors/cylinder: 15120
cylinders: 15505
total bytes: 111.8G
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 0.1G 2.9G 4.2BSD 2048 16384 1
b: 2.0G 3.1G swap
c: 111.8G 0.0G unused 0 0
d: 4.0G 5.1G 4.2BSD 2048 16384 1
e: 0.3G 9.1G 4.2BSD 2048 16384 1
f: 10.0G 9.4G 4.2BSD 2048 16384 1
g: 2.0G 34.4G 4.2BSD 2048 16384 1
h: 15.0G 19.4G 4.2BSD 2048 16384 1
i: 2.9G 0.0G unknown
j: 0.1G 36.4G 4.2BSD 2048 16384 1
k: 37.5G 36.5G 4.2BSD 2048 16384 1
l: 37.8G 73.9G 4.2BSD 2048 16384 1
-------------------------------------------------------------------------------------------------------
spree| df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/wd0a 146M 38.3M 99.9M 28% /
/dev/wd0g 2.0G 1.7G 177M 91% /correu
/dev/wd0k 36.9G 4.0G 31.0G 12% /dades1
/dev/wd0l 37.2G 2.0K 35.4G 0% /dades2
/dev/wd0j 101M 11.8M 84.3M 12% /fitx_confg
/dev/wd0h 14.8G 3.9G 10.2G 27% /home
/dev/wd0d 3.9G 52.0K 3.7G 0% /tmp
/dev/wd0f 9.8G 1.8G 7.5G 19% /usr
/dev/wd0e 297M 33.2M 249M 12% /var
More information about the Openbsd-newbies
mailing list