5 cat > "$target"/etc/fstab << EOF
6 # /etc/fstab - static file system information
7 # <filesystem> <mountpoint> <type> <options> <dump> <pass>
8 proc /proc proc rw,nosuid,nodev,noexec 0 0
9 none /proc/bus/usb usbfs defaults,noauto 0 0
10 sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
11 devpts /dev/pts devpts noauto,mode=0622 0 0
12 /dev/fd0 /mnt/floppy auto users,noauto,exec 0 0
13 /dev/external /mnt/external auto users,noauto,exec,rw,uid=grml,gid=grml 0 0
14 /dev/external1 /mnt/external1 auto users,noauto,exec,rw,uid=grml,gid=grml 0 0
15 /dev/cdrom /mnt/cdrom auto users,noauto,exec,ro 0 0
16 /dev/dvd /mnt/dvd auto users,noauto,exec,ro 0 0
17 # some other examples:
18 # /dev/hda1 /Grml ext3 dev,suid,user,noauto 0 2
19 # //1.2.3.4/pub /smb/pub smbfs defaults,user,noauto,uid=grml,gid=grml 0 0
20 # linux:/pub /beer nfs defaults 0 0
21 # tmpfs /tmp tmpfs size=300M 0 0
22 # none /proc/bus/usb usbfs defaults,nodev,noexec,nosuid,noauto,devgid=1001,devmode=664 0 0
23 # 192.168.1.101:/backups /mnt/nfs nfs defaults,users,wsize=8192,rsize=8192 0 0
25 # Warning! Please do *not* change any lines below because they are auto-generated by rebuildfstab!
26 # If you want to disable rebuildfstab set CONFIG_FSTAB='no' in /etc/grml/autoconfig!
27 # See 'man grml-rebuildfstab' for more details about the following entries.