From: relan Date: Wed, 27 Jan 2016 10:15:24 +0000 (+0300) Subject: Add platform-specific instructions to README.md. X-Git-Tag: android-x86-9.0-r1~91 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fexternal-exfat.git;a=commitdiff_plain;h=74cb90633f9f9c36952f7bd3d8cc539a17be786e Add platform-specific instructions to README.md. --- diff --git a/README.md b/README.md index 3cf58b7..81446a6 100644 --- a/README.md +++ b/README.md @@ -15,46 +15,70 @@ Most GNU/Linux distributions already have fuse-exfat and exfat-utils in their re Compiling --------- -To build this project under GNU/Linux you need to install the following packages: +To build this project on GNU/Linux you need to install the following packages: + +* [git][4] +* [autoconf][5] +* [automake][6] +* [pkg-config][7] +* fuse-devel (or libfuse-dev) +* [gcc][8] +* [make][9] + +On Mac OS X: -* git * autoconf * automake * pkg-config -* fuse-devel (or libfuse-dev) -* gcc -* make +* [OSXFUSE][10] +* [Xcode][11] (legacy versions include autotools but their versions are too old) + +On OpenBSD: + +* git +* autoconf (set AUTOCONF_VERSION environment variable) +* automake (set AUTOMAKE_VERSION environment variable) Get the source code, change directory and compile: git clone https://github.com/relan/exfat.git cd exfat autoreconf --install - ./configure --prefix=/usr + ./configure make -Then install driver and utilities: +Then install driver and utilities (from root): - sudo make install + make install -You can remove them using this command: +You can remove them using this command (from root): - sudo make uninstall + make uninstall Mounting -------- -Modern GNU/Linux distributions will mount exFAT volumes automatically—util-linux-ng 2.18 (was renamed to util-linux in 2.19) is required for this. Anyway, you can mount manually (you will need root privileges): +Modern GNU/Linux distributions (with [util-linux][12] 2.18 or later) will mount exFAT volumes automatically. Anyway, you can mount manually (from root): - sudo mount.exfat-fuse /dev/sdXn /mnt/exfat + mount.exfat-fuse /dev/spec /mnt/exfat -where /dev/sdXn is the partition special file, /mnt/exfat is a mountpoint. +where /dev/spec is the [device file][13], /mnt/exfat is a mountpoint. Feedback -------- If you have any questions, issues, suggestions, bug reports, etc. please create an [issue][3]. Pull requests are also welcome! -[1]: http://en.wikipedia.org/wiki/ExFAT -[2]: http://en.wikipedia.org/wiki/Filesystem_in_Userspace +[1]: https://en.wikipedia.org/wiki/ExFAT +[2]: https://en.wikipedia.org/wiki/Filesystem_in_Userspace [3]: https://github.com/relan/exfat/issues +[4]: https://www.git-scm.com/ +[5]: https://www.gnu.org/software/autoconf/ +[6]: https://www.gnu.org/software/automake/ +[7]: http://www.freedesktop.org/wiki/Software/pkg-config/ +[8]: https://gcc.gnu.org/ +[9]: https://www.gnu.org/software/make/ +[10]: https://osxfuse.github.io/ +[11]: https://en.wikipedia.org/wiki/Xcode +[12]: https://www.kernel.org/pub/linux/utils/util-linux/ +[13]: https://en.wikipedia.org/wiki/Device_file