/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
- *
+ *
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
#define VOLGETSIZE 65537
#define VOLDUMPV2 65538
#define VOLDISKPART64 65539
+#define VOLOSDSUPPORT 65540
+#define VOLTRAVERSE 65541
+#define VOLWIPECAND 65542
+#define OLDVOLSALVAGE 65543
+#define VOLARCHCANDold 65544
+#define VOLSALVAGE 65545
+#define VOLLISTOBJECTS 65546
+#define VOLSPLIT 65547
+#define VOLARCHCAND 65548
/* Bits for flags for DumpV2 */
%#define VOLDUMPV2_OMITDIRS 1
};
struct diskPartition {
- char name[32]; /* Mounted partition name */
- char devName[32];
- int lock_fd;
+ char name[32]; /* Mounted partition name */
+ char devName[32];
+ int lock_fd; /* assigned from DiskPartition FD_t
+ which is 64-bit HANDLE on Windows */
int totalUsable;
int free;
int minFree;
};
struct diskPartition64 {
- char name[256]; /* Mounted partition name */
- char devName[256];
- int lock_fd;
- afs_int64 totalUsable;
- afs_int64 free;
- afs_int64 minFree;
-
+ char name[256]; /* Mounted partition name */
+ char devName[256];
+ int lock_fd; /* assigned from DiskPartition64 FD_t
+ which is a 64-bit HANDLE on Windows */
+ afs_int64 totalUsable;
+ afs_int64 free;
+ afs_int64 minFree;
};
struct restoreCookie {
IN string name<>,
OUT struct diskPartition64 *partition
) = VOLDISKPART64;
+
+proc SplitVolume (
+ IN afs_uint32 vid,
+ IN afs_uint32 newid,
+ IN afs_uint32 where,
+ IN afs_int32 verbose
+) split = VOLSPLIT;