Initial commit
This commit is contained in:
commit
01e34e8f2e
8 changed files with 67 additions and 0 deletions
11
mkcrypt.swap
Executable file
11
mkcrypt.swap
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
# cLinux
|
||||
# Nico Schottelius (nico-linux@schottelius.org)
|
||||
# 2004-12-29
|
||||
# create swap devices from $argv
|
||||
|
||||
i=0
|
||||
for i in devices ...
|
||||
crypt-dev.rand.key "$1"
|
||||
###dd if=/dev/urandom bs=512 count=2 | cryptsetup create swap "$1"
|
||||
####dd if=/dev/urandom bs=512 count=2 | cryptsetup create swap /dev/hda6
|
||||
Loading…
Add table
Add a link
Reference in a new issue