]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - doc/INSTALL
xfs_spaceman: add a superblock info command
[thirdparty/xfsprogs-dev.git] / doc / INSTALL
index ba3472b18f09d34cb2f7b4ee3e0870f13297b46b..f6676287f4f0b9515ff6bd823b25776db7ded861 100644 (file)
@@ -52,12 +52,16 @@ Mac OS X Instructions
 =====================
 
 0. Note:  since there is no XFS implementation on Mac OS X, you are
-   severely limited in what you can do.  mkfs.xfs(8), xfs_db(8) and 
+   severely limited in what you can do.  mkfs.xfs(8), xfs_db(8) and
    xfs_repair(8) are the only functional tools on this platform, as
    they do not interact with the XFS kernel code at all.  Still, it
    can be useful to have access to these utilities from Mac OS X in
    a dual boot configuration, for example.
 
+   However, keep on mind that mkfs.xfs on Mac OS X has disabled
+   device access, although you can create a filesystem in a file.
+   Also note that existing filesystem detection is disabled.
+
 1. Configure, build and install the package
 
    The xfsprogs package uses autoconf/configure and expects a GNU build
@@ -65,7 +69,8 @@ Mac OS X Instructions
    and glibtool). 
 
    You will also need to have built and installed the UUID library which
-   is provided by the e2fsprogs source package.
+   is provided by the e2fsprogs source package. (Or use Homebrew, Macports
+   or any other 3rd party package manager.)
 
    Building libuuid:
 
@@ -84,54 +89,14 @@ Mac OS X Instructions
        TAR=/usr/bin/gnutar
        LIBTOOL=/usr/bin/glibtool
        INSTALL_GROUP=wheel
-       LOCAL_CONFIGURE_OPTIONS="--enable-gettext=no"
+       LOCAL_CONFIGURE_OPTIONS="\
+                                --enable-gettext=no\
+                                --enable-blkid=no\
+                                --enable-librt=no\
+                                "
 
        $ make
        $ su root
        # make install
        [and optionally, for the development libraries and headers]
        # make install-dev
-
-
-IRIX Instructions
-=================
-
-0. Note: building this package on IRIX is mainly useful for the
-   XFS developers who want to run purify on some of the tools.
-   Most tools are not functional due to incomplete support for
-   the syssgi and fcntl interfaces that XFS provides and which
-   these tools make extensive use of.
-
-1. Configure, build and install the package
-
-   The xfsprogs package uses autoconf/configure and expects a GNU build
-   environment which can be obtained by installing a number of freeware
-   packages (gcc, autoconf, libtool, gmake).
-
-   Even though IRIX provides a set of UUID functions via libc, you
-   still need to have built and installed the UUID library which is
-   provided by the e2fsprogs source package.  This is because some
-   difficult to resolve differences exist between the UUID functions
-   and data types, which makes co-existence of these more trouble
-   than its worth at the moment.  Follow the instructions above for
-   building and installing libuuid.
-
-   Building xfsprogs:
-
-       [firstly set these environment variables to these values]
-       INSTALL_GROUP=sys
-       CC=/usr/freeware/bin/gcc
-       TAR=/usr/freeware/bin/tar
-       MAKE=/usr/freeware/bin/gmake
-       LIBTOOL=/usr/freeware/bin/libtool
-       MSGFMT=/usr/freeware/bin/msgfmt
-       MSGMERGE=/usr/freeware/bin/msgmerge
-       XGETTEXT=/usr/freeware/bin/xgettext
-
-       $ make
-       $ su root
-       # make install
-       [and optionally, for the development libraries and headers]
-       # make install-dev
-
-