Usb

http://www.micahcarrick.com/credit-card-reader-pyusb.html
http://manialabs.wordpress.com/2012/01/25/usb-programming-with-pyusb-and-linux/

initrd

http://www.ibm.com/developerworks/cn/linux/l-k26initrd/index.html
https://www.ibm.com/developerworks/library/l-initrd/

http://unixboy.iteye.com/blog/157717

pxe

http://www.logiqwest.com/dataCenter/TechnicalPapers/KickStart/2._TFTP_Setup.htm
http://adam.younglogic.com/2012/03/shared-nothing-diskless-boot/

ramfss tmpfs

https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt

tmpfs

http://searchitchannel.techtarget.com/feature/Performing-an-automated-Ubuntu-install-using-preseeding

http://www.itworld.com/data-centerservers/306676/use-tmpfs-make-ubuntu-1210-faster

http://askubuntu.com/questions/296038/what-is-the-difference-between-tmpfs-and-ramfs

loop device

dd if=/dev/zero of=~/example.img bs=1M count=100
mkfs.ext4 ~/example.img // format it as ext4

approach 1:

losetup /dev/loop0 ~/example.img
// now you can do fisk /dev/loop1
mount /dev/loop0 /home/you/dir

approach 2:

mount -o loop ~/example.img /home/you/dir

to remove:

- umount

umount /home/you/dir
# 或者通过诸如 mount | grep "/home/you/dir" 
# 或是 losetup -a | grep example.img 的查找找到与文件相关联的loop设备号码
# 并执行下列命令:(<N>代表设备号)
umount /dev/loop<N>

- detach

sudo losetup -d /dev/loop0

crypt

http://fgqu.blog.163.com/blog/static/519825200882573738862/

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License