template.txt revision 105513
1229997Sken# $FreeBSD: head/sbin/gbde/template.txt 105513 2002-10-20 11:16:13Z phk $ 2229997Sken# 3288348Smav# Sector size is the smallest unit of data which can be read or written. 4229997Sken# Making it too small decreases performance and decreases available space. 5229997Sken# Making it too large may prevent filesystems from working. 512 is the 6229997Sken# minimum and always safe. For UFS, use the fragment size 7229997Sken# 8229997Skensector_size = 512 9229997Sken 10229997Sken# 11229997Sken# Start and end of the encrypted section of the partition. Specify in 12229997Sken# sector numbers. If none specified, "all" will be assumed, to the 13229997Sken# extent the value of this can be established. 14229997Sken# 15229997Sken#first_sector = 0 16229997Sken#last_sector = 2879 17229997Sken#total_sectors = 2880 18229997Sken 19229997Sken# 20229997Sken# An encrypted partition can have more than one key. It may be a good idea 21229997Sken# to make at least two keys, and save one of them for "just in case" use. 22229997Sken# The minimum is obviously one and the maximum is 4. 23229997Sken# 24229997Skennumber_of_keys = 4 25229997Sken 26229997Sken# 27229997Sken# Flushing the partition with random bytes prevents a brute-force attack 28229997Sken# from skipping sectors which obviously contains un-encrypted data. 29229997Sken# NB: This variable is boolean, if it is present it means "yes" even if 30229997Sken# you set it to the value "no" 31229997Sken# 32229997Sken#random_flush = 33229997Sken