1b08d0de9624dfe0bf9ed06e6cfc90ca4ee3485b
[mirror/dsa-puppet.git] / modules / schroot / templates / schroot-dsa / fstab.erb
1 # fstab: static file system information for chroots.
2 # Note that the mount point will be prefixed by the chroot path
3 # (CHROOT_PATH)
4 #
5 # <file system> <mount point>   <type>  <options>       <dump>  <pass>
6
7 <% if scope.lookupvar('site::nodeinfo')['ldap'].has_key?('architecture') and scope.lookupvar('site::nodeinfo')['ldap']['architecture'][0].start_with?('kfreebsd') -%>
8 # kFreeBSD version
9 proc            /proc           linprocfs       defaults        0       0
10 dev             /dev            devfs   rw              0       0
11 dev             /dev/fd         fdescfs rw              0       0
12 /home           /home           nullfs  rw              0       0
13 /tmp            /tmp            nullfs  rw              0       0
14
15 <% else -%>
16 # Linux version
17 /proc           /proc           none    rw,bind         0       0
18 /sys            /sys            none    rw,bind         0       0
19 /dev            /dev            none    rw,bind         0       0
20 /dev/pts        /dev/pts        none    rw,bind         0       0
21 /home           /home           none    rw,bind         0       0
22 /tmp            /tmp            none    rw,bind         0       0
23 tmpfs-shm       /dev/shm        tmpfs   defaults,size=64m       0 0
24
25 <% end %>