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 <afs/param.h>
15 #include "AFS_component_version_number.c"
23 int vnode, unique, datav;
24 #else /* AFS_SGI61_ENV */
25 afs_int32 vnode, unique, datav;
26 #endif /* AFS_SGI61_ENV */
28 if (stat("/vicepa", &status) == -1) {
32 vnode = atoi(argv[1]);
33 unique = atoi(argv[2]);
34 datav = atoi(argv[3]);
35 inode = icreate(status.st_dev, 0, 17, vnode, unique, datav);
40 printf("icreate successful, inode=%d\n", inode);