Lines Matching refs:mount
19 #include <sys/mount.h>
115 fprintf(stderr, "huh? trapped something besides mount? %d\n", req->data.nr);
125 * mount to go.
183 if (mount(source, target, NULL, req->data.args[3], NULL) < 0) {
185 perror("actual mount");
226 * Drop privileges. We definitely can't mount as uid 1000.
247 * Try a bad mount just for grins.
249 if (mount("/dev/sda", "/tmp/foo", NULL, 0, NULL) != -1) {
255 perror("bad error from mount");
262 if (mount("/tmp/foo", "/tmp/foo", NULL, MS_BIND, NULL) < 0) {
263 perror("mount");
323 * mount, or keeping track of the args to make sure we