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 <sys/types.h>
14 #include <afsconfig.h>
15 #include <afs/param.h>
19 #include "AFS_component_version_number.c"
27 int vnode, unique, datav;
28 #else /* AFS_SGI61_ENV */
29 afs_int32 vnode, unique, datav;
30 #endif /* AFS_SGI61_ENV */
32 if (stat("/vicepa", &status) == -1) {
36 vnode = atoi(argv[1]);
37 unique = atoi(argv[2]);
38 datav = atoi(argv[3]);
39 inode = icreate(status.st_dev, 0, 17, vnode, unique, datav);
44 printf("icreate successful, inode=%d\n", inode);