2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 #include <afsconfig.h>
11 #include <afs/param.h>
15 #include <sys/types.h>
19 #include <afs/afssyscalls.h>
21 #include <sys/mknod.h>
32 printf(" Usage is %s <partition> <inode>\n", argv[0]);
36 if (stat(argv[1], &status) == -1) {
40 printf("About to idec(dev=(%d), inode=%d)\n",
41 status.st_dev, atoi(argv[2]));
43 fd = IDEC(status.st_dev, atoi(argv[2]), 17);