4 * This is the user level part of lockd. This is very primitive, because
5 * all the work is now done in the kernel module.
17 static void usage(const char *);
20 main(int argc, char **argv)
27 if (chdir(NFS_STATEDIR)) {
28 fprintf(stderr, "%s: chdir(%s) failed: %s\n",
29 argv [0], NFS_STATEDIR, strerror(errno));
33 if ((error = lockdsvc()) < 0) {
35 /* Ignore EINVAL since kernel may start
36 lockd automatically. */
46 usage(const char *prog)
48 fprintf(stderr, "usage:\n%s\n", prog);