Raspberry Piのテンポラリ ディレクトリをRAMディスクに移動し、SDカードに書き込む回数をなるべく押さえるようにする設定 ■ 検証環境 ・Raspberry Pi (Debian) 2013-02-09-wheezy-raspbian ■ マウント設定の変更 proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,noatime 0 1 # a swapfile is not a swap partition, so no using swapon|off from here on, use $ #### ramdisk tmpfs /tmp tmpfs defaults,size=32m 0 0 tmpfs /var/tmp tmpfs