2 * Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved.
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of version 2 of the GNU General Public License as
6 * published by the Free Software Foundation.
8 * This program is distributed in the hope that it would be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 * Further, this software is distributed without any warranty that it is
13 * free of the rightful claim of any third person regarding infringement
14 * or the like. Any license provided herein, whether implied or
15 * otherwise, applies only to this software file. Patent licenses, if
16 * any, provided herein do not apply to combinations of this program with
17 * other software, or any other product whatsoever.
19 * You should have received a copy of the GNU General Public License along
20 * with this program; if not, write the Free Software Foundation, Inc., 59
21 * Temple Place - Suite 330, Boston MA 02111-1307, USA.
23 * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
24 * Mountain View, CA 94043, or:
28 * For further information regarding this notice, see:
30 * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
39 #include <../../xfsprogs/include/irix.h>
42 #ifdef HAVE_XFS_LIBXFS_H
43 #include <xfs/libxfs.h>
50 #ifdef HAVE_ATTR_ATTRIBUTES_H
51 #include <attr/attributes.h>
54 #ifdef HAVE_SYS_TYPES_H
55 #include <sys/types.h>
58 #ifdef HAVE_SYS_STAT_H
62 #ifdef HAVE_SYS_STATVFS_H
63 #include <sys/statvfs.h>
66 #ifdef HAVE_SYS_TIME_H
70 #ifdef HAVE_SYS_IOCTL_H
71 #include <sys/ioctl.h>
74 #ifdef HAVE_SYS_WAIT_H
102 #ifdef HAVE_SYS_FCNTL_H
107 #include <sys/time.h>
111 #include <sys/wait.h>
118 #ifdef HAVE_SYS_PARAM_H
119 #include <sys/param.h>
122 #ifdef HAVE_SYS_ATTRIBUTES_H
123 #include <sys/attributes.h>
138 #ifdef HAVE_STRINGS_H
142 #ifdef HAVE_SYS_SYSSGI_H
143 #include <sys/syssgi.h>
146 #ifdef HAVE_SYS_UUID_H
147 #include <sys/uuid.h>
150 #ifdef HAVE_SYS_FS_XFS_FSOPS_H
151 #include <sys/fs/xfs_fsops.h>
154 #ifdef HAVE_SYS_FS_XFS_ITABLE_H
155 #include <sys/fs/xfs_itable.h>
158 #ifdef HAVE_BSTRING_H
162 #ifdef HAVE_SYS_PARAM_H
163 #include <sys/param.h>