Lines Matching refs:fs
61 mkdir /tmp/f/rw-fs
62 mkdir /tmp/f/ro-fs
64 touch /tmp/f/rw-fs/foo
65 chmod 644 /tmp/f/rw-fs/foo
67 mount -o bind,ro /tmp/f/rw-fs /tmp/f/ro-fs
70 f /tmp/f/ro-fs/foo 0644 - - - - This string should not be written
72 test -f /tmp/f/ro-fs/foo; test ! -s /tmp/f/ro-fs/foo
75 f /tmp/f/ro-fs/foo 0666 - - - -
80 f /tmp/f/ro-fs/bar 0644 - - - -
82 test ! -e /tmp/f/ro-fs/bar
138 mkdir /tmp/F/rw-fs
139 mkdir /tmp/F/ro-fs
141 touch /tmp/F/rw-fs/foo
142 chmod 644 /tmp/F/rw-fs/foo
144 mount -o bind,ro /tmp/F/rw-fs /tmp/F/ro-fs
147 F /tmp/F/ro-fs/foo 0644 - - - -
149 test -f /tmp/F/ro-fs/foo; test ! -s /tmp/F/ro-fs/foo
151 echo "truncating is not allowed anymore" >/tmp/F/rw-fs/foo
153 F /tmp/F/ro-fs/foo 0644 - - - -
157 F /tmp/F/ro-fs/foo 0644 - - - - This string should not be written
159 test -f /tmp/F/ro-fs/foo
160 grep -q 'truncating is not allowed' /tmp/F/ro-fs/foo
163 : >/tmp/F/rw-fs/foo
165 F /tmp/F/ro-fs/foo 0666 - - - -
171 F /tmp/F/ro-fs/bar 0644 - - - -
173 test ! -e /tmp/F/ro-fs/bar