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.
21 static void usage(const char *);
24 main(int argc, char **argv)
31 if (chdir(NFS_STATEDIR)) {
32 fprintf(stderr, "%s: chdir(%s) failed: %s\n",
33 argv [0], NFS_STATEDIR, strerror(errno));
37 if ((error = lockdsvc()) < 0) {
39 /* Ignore EINVAL since kernel may start
40 lockd automatically. */
50 usage(const char *prog)
52 fprintf(stderr, "usage:\n%s\n", prog);