Commit | Line | Data |
---|---|---|
e36b4f25 MW |
1 | ### -*-conf-*- |
2 | ### Filesystem mounts for chroots. | |
3 | ### | |
4 | ### FILSYS MOUNTPT FSTYPE OPTIONS DUMP FSCK | |
5 | ||
6 | ## Standard mountpoints. | |
7 | /proc /proc none rw,bind 0 0 | |
8 | /sys /sys none rw,bind 0 0 | |
9 | /dev/pts /dev/pts none rw,bind 0 0 | |
10 | tmpfs /dev/shm tmpfs defaults 0 0 | |
11 | ||
12 | ## Splice the host's `/tmp' and `/home' for manual debugging convenience. | |
13 | /tmp /tmp none rw,bind 0 0 | |
14 | /home /home none rw,bind 0 0 | |
15 | ||
16 | ## Splice in the support file tree. This needs to be done in two steps: for | |
17 | ## stupid reasons, a plain bind-mount entry leaves the mount read-write. | |
18 | @local@ /usr/local.schroot none rw,bind 0 0 | |
19 | @local@ /usr/local.schroot none remount,ro,bind 0 0 | |
20 | ||
21 | ## Mount a large scratch space for the build, so we don't use up space on an | |
22 | ## LVM snapshot of the chroot itself. | |
23 | /var/lib/sbuild/build /build none rw,bind 0 0 |