* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "addr.h"
#include "command.h"
#include "type.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "agf.h"
#include "command.h"
#include "type.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "agfl.h"
#include "command.h"
#include "type.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "agi.h"
#include "command.h"
#include "type.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "bit.h"
#include "type.h"
#include "faddr.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "type.h"
#include "faddr.h"
#include "fprint.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "bit.h"
#undef setbit /* defined in param.h on Linux */
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "block.h"
#include "bmap.h"
#include "command.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "type.h"
#include "bmap.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "type.h"
#include "faddr.h"
#include "fprint.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "type.h"
#include "faddr.h"
#include "fprint.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "type.h"
#include "faddr.h"
#include "fprint.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <math.h>
#include <sys/time.h>
#include "bmap.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "type.h"
#include "faddr.h"
#include "fprint.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "addr.h"
#include "agf.h"
#include "agfl.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "convert.h"
#include "output.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "bmap.h"
#include "dbread.h"
#include "io.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "debug.h"
#include "output.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "bit.h"
#include "type.h"
#include "faddr.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "bit.h"
#include "type.h"
#include "faddr.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "type.h"
#include "faddr.h"
#include "fprint.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "type.h"
#include "faddr.h"
#include "fprint.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "bit.h"
#include "bmap.h"
#include "command.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "echo.h"
#include "output.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "type.h"
#include "faddr.h"
#include "inode.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "type.h"
#include "faddr.h"
#include "fprint.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "type.h"
#include "faddr.h"
#include "fprint.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <ctype.h>
#include <time.h>
#include "type.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <sys/time.h>
#include "bmap.h"
#include "command.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "freesp.h"
#include "io.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "addr.h"
#include "command.h"
#include "type.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "help.h"
#include "output.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <signal.h>
#include "command.h"
#include "init.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "type.h"
#include "faddr.h"
#include "fprint.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "type.h"
#include "faddr.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <signal.h>
#include "command.h"
#include "input.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "type.h"
#include "faddr.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "init.h"
#include "malloc.h"
#include "output.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <stdarg.h>
#include "command.h"
#include "output.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "type.h"
#include "faddr.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "quit.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
-#include <libxlog.h>
+#include <xfs/libxfs.h>
+#include <xfs/libxlog.h>
#include "command.h"
#include "type.h"
#include "faddr.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <signal.h>
#include "sig.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "strvec.h"
#include "output.h"
#include "malloc.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <ctype.h>
#include "block.h"
#include "bmap.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "agf.h"
#include "agfl.h"
#include "agi.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <ctype.h>
#include <time.h>
#include "bit.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
char *progname;
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <mntent.h>
extern char *fname; /* mount point name */
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "explore.h"
/*
* Inode map display utility for XFS.
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
int main(int argc, char **argv)
{
DKHFILES = volume.h fstyp.h dvh.h
LSRCFILES = platform_defs.h.in builddefs.in buildmacros buildrules \
$(LHFILES) $(DKHFILES)
-LDIRT = xfs
+LDIRT = xfs disk
default install :
- rm -f xfs
+ rm -f xfs disk
$(LN_S) . xfs
+ $(LN_S) . disk
include $(BUILDRULES)
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "init.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
cmdinfo_t *cmdtab;
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "init.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
static cmdinfo_t help_cmd;
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "input.h"
#include "command.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "input.h"
#include "init.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "init.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <ctype.h>
#include "command.h"
#include "input.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "init.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "input.h"
#include "init.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
static cmdinfo_t quit_cmd;
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "init.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "command.h"
#include "init.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <sys/stat.h>
#include <volume.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/sysmacros.h>
-#include <volume.h>
+#include <disk/volume.h>
#include "evms.h"
int
#include <unistd.h>
#include <sys/types.h>
#include <netinet/in.h>
-#include <dvh.h>
+#include <disk/dvh.h>
#include "pttype.h"
#define blksize 512
#include <unistd.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
-#include <volume.h>
+#include <disk/volume.h>
#include "xvm.h"
int
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
/* attributes.h (purposefully) unavailable to xfsprogs, make do */
struct attrlist_cursor { __u32 opaque[4]; };
-#include <handle.h>
+#include <xfs/handle.h>
/* just pick a value we know is more than big enough */
#define MAXHANSIZ 64
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
/* attributes.h (purposefully) unavailable to xfsprogs, make do */
struct attrlist_cursor { __u32 opaque[4]; };
-#include <handle.h>
-#include <jdm.h>
+#include <xfs/handle.h>
+#include <xfs/jdm.h>
/* internal fshandle - typecast to a void for external use */
#define FSHANDLE_SZ 8
#include <sys/stat.h>
#include <sys/mount.h>
#include <sys/ioctl.h>
-#include <libxfs.h>
+#include <xfs/libxfs.h>
extern char *progname;
*/
#define ustat __kernel_ustat
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <sys/stat.h>
#include <sys/mount.h>
#include <sys/ioctl.h>
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <sys/stat.h>
#include "init.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
extern char *progname;
extern __int64_t findsize(char *);
*/
#define ustat __kernel_ustat
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <mntent.h>
#include <sys/stat.h>
#undef ustat
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
-#include <xfs_log.h>
-#include <xfs_log_priv.h>
+#include <xfs/libxfs.h>
+#include <xfs/xfs_log.h>
+#include <xfs/xfs_log_priv.h>
#define BBTOOFF64(bbs) (((xfs_off_t)(bbs)) << BBSHIFT)
#define BDSTRAT_SIZE (256 * 1024)
* specifically there to support the user level build.
*/
-#include <libxfs.h>
-#include <string.h>
-#include <errno.h>
-#include <sys/stat.h>
+#include <xfs/libxfs.h>
/*
* Map XFS kernel routine names to libxfs.h names
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxlog.h>
+#include <xfs/libxlog.h>
int print_exit;
int print_record_header;
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxlog.h>
+#include <xfs/libxlog.h>
/*
* This routine finds (to an approximation) the first block in the physical
#ifndef LOGPRINT_H
#define LOGPRINT_H
-#include <libxlog.h>
+#include <xfs/libxlog.h>
/* command line flags */
extern int print_data;
* Make file utility for xfs.
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <ctype.h>
#define MAXBUFFERSIZE (256 * 1024)
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
-#include <fstyp.h>
+#include <xfs/libxfs.h>
+#include <disk/fstyp.h>
/*
* fstyp allows the user to determine the filesystem identifier of
* and minimum log sizes.
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "xfs_mkfs.h"
xfs_trans_reservations_t tr_count = {
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include <sys/stat.h>
#include "xfs_mkfs.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxfs.h>
+#include <xfs/libxfs.h>
#include "xfs_mkfs.h"
#include "maxtrres.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <fstyp.h>
-#include <stdio.h>
-#include <volume.h>
-#include <libxfs.h>
+#include <xfs/libxfs.h>
+#include <disk/fstyp.h>
+#include <disk/volume.h>
#include <ctype.h>
#include "xfs_mkfs.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxlog.h>
+#include <xfs/libxlog.h>
#include "avl.h"
#include "globals.h"
#include "agheader.h"
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <libxlog.h>
+#include <xfs/libxlog.h>
#include "avl.h"
#include "avl64.h"
#include "globals.h"