Blog

Blog :: 2005/05/...

Encrypted file system for Linux
Posted 2005/05/16
dd if=/dev/urandom of=/dev/sda1 bs=1M losetup -e aes-256 /dev/loop0 /dev/sda1 mkfs.ext3 /dev/loop0 mkdir /mnt/crypto echo "/dev/sda1 /mnt/crypto ext3 noauto,encryption=aes-256 0 0" >> /etc/fstab [...]
Missing /dev/video devices in Linux
Posted 2005/05/01
#!/bin/sh cd /dev for ii in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ; do mknod video$ii c 81 $ii # char-major-81-[0-16] chown root:root video$ii chmod 770 video$ii done Create /dev/video[0..16] Look at the ch[mod|own] line if you want different access. [...]