|
|
|
|
|
|
|
|
Mounting
and Unmounting Containers |
|
In order to access to data stored in container you should mount it. Container
is mounted by following command (you will be prompted for a password):
bctool mount [-t filesystem_type] [-m mode] [-u user] [-g group] [-r]
container mount_point
or
bcmount [-t filesystem_type] [-m mode] [-u user] [-g group] [-r]
container mount_point
where |
|
-t filesystem_type |
standard filesystem name, e.g. -t vfat |
container |
container filename |
mount_point |
the point where to container will be mounted |
-m mode |
set mountpoint access mode, e.g. -m 755 |
-u user |
set mountpoint owner (can be used by root only), e.g. -u jukka |
-g group |
set mountpoint group (can be set by root only), e.g. -g bros |
-r |
mount container read-only |
|
In following example container named secret_data with ext2
filesystem is mounted to /mnt/secrets mount point.
[foo@bar ]$ bctool mount -t ext2 secret_data /mnt/secrets
Enter password: <password will not be displayed>
[foo@bar ]$
|
Notes:
BestCrypt for Linux offers two ways to unmount container:
- conventional safe unmount
- urgent or forced unmount
Warning: Forced unmount is a security enhancement intended for emergency use only.
It does not take care of open files, unsaved data etc. and may lead to partial
data loss
Container unmount command syntax follows:
bctool umount { mount_point | -A } [-f]
or
bcumount { mount_point | -A } [-f]
where |
|
mount_point |
the point where to container is mounted |
-A |
unmount all containers mounted by current user |
-f |
forced unmount; container will be unmounted regardless
whether it is in use or not Warning: this option should
be used for urgent unmount only, not for normal operation.
All unsaved information in container will be lost when using
-f option. |
|
We unmount container previously mounted to /mnt/secrets.
[foo@bar ]$ bctool umount /mnt/secrets
[foo@bar ]$
This example shows urgent unmount of all containers mounted by current user
[foo@bar ]$ bctool umount -f -A
[foo@bar ]$
|
Notes:
- BestCrypt containers are protected from unmounting by standard umount.
|