mount /tmp in tmpfs and the root fs in RO

pull/10/head
Raphaël Vinot 2013-08-02 12:03:12 +02:00
parent 4c33a8cfb1
commit 16bdb575c1
1 changed files with 5 additions and 0 deletions

5
fs/etc/fstab Normal file
View File

@ -0,0 +1,5 @@
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat ro,defaults 0 2
/dev/mmcblk0p2 / ext4 ro,defaults,noatime 0 1
tmpfs /tmp tmpfs rw,size=64M,noexec,nodev,nosuid,mode=1777 0 0
# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that