]> git.ipfire.org Git - thirdparty/util-linux.git/blame - mount/bind.c
Imported from util-linux-2.11y tarball.
[thirdparty/util-linux.git] / mount / bind.c
CommitLineData
66ee8158
KZ
1#include <stdio.h>
2#include <sys/mount.h>
3
4main(int argc, char **argv) {
5 int ret;
6
7 ret = mount(argv[1], argv[2], "bind", MS_MGC_VAL, NULL);
8 if (ret)
9 perror("bind");
10 return ret;
11}