-
-
Notifications
You must be signed in to change notification settings - Fork 162
Quickstart
("tomb create" command is now deprecated!)
To create a new tomb just launch this 3 commands:
tomb dig -s
tomb forge -k
tomb lock -k
To open an existing tomb use this command:
tomb open -k
The open tomb will be mounted in /media/tomb-name.
If the key is from stdin:
cat
For instance if the "tomb.key" is on another server, use ssh without saving it to open "secret.tomb":
ssh my.other.server.net 'cat tomb.key' | tomb open -k - secrets.tomb
Will make your secrets.tomb contents accessible in /media/secrets.tomb/
To close an opened tomb:
tomb close
To close all opened tombs:
tomb close all
If a tomb is busy and you want to close it:
tomb slam
WARNING: this command will kill all the processes that keeps a tomb busy.