- Update to version 1.1120.

- Use @exec/@unexec directives in pkg-plist to handle symlinks.
- Remove the note about fuse_load="YES" in /boot/loader.conf since now there
  are more than good reasons for using the rc.d script (see fusefs-kmod).
- Clarify note in pkg-message about EAGAIN problem.
This commit is contained in:
Alejandro Pulver 2007-12-17 17:25:30 +00:00
parent b9e3656f2e
commit 23e5f60e39
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203932
4 changed files with 14 additions and 19 deletions

View file

@ -5,7 +5,7 @@
# #
PORTNAME= ntfs PORTNAME= ntfs
PORTVERSION= 1.1004 PORTVERSION= 1.1120
CATEGORIES= sysutils CATEGORIES= sysutils
MASTER_SITES= http://www.ntfs-3g.org/ MASTER_SITES= http://www.ntfs-3g.org/
PKGNAMEPREFIX= fusefs- PKGNAMEPREFIX= fusefs-
@ -56,7 +56,4 @@ pre-everything::
@${ECHO_MSG} @${ECHO_MSG}
.endif .endif
post-patch:
@${REINPLACE_CMD} -e 's|,nonempty||' ${WRKSRC}/src/ntfs-3g.c
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -1,3 +1,3 @@
MD5 (ntfs-3g-1.1004.tgz) = 7630c7dc2879078df06ceff680cc04f5 MD5 (ntfs-3g-1.1120.tgz) = 9561f07a6a5faa0fb6615727c0003b26
SHA256 (ntfs-3g-1.1004.tgz) = 5ba8e0b70f3a6d567ac56bcc8107a9d583b43426bb2de3f4996b72e2d8c533bd SHA256 (ntfs-3g-1.1120.tgz) = ebd934dc538fd2bc343bfdc6a1e7748fb5d2f472afa4df10b733b514d4b77a9c
SIZE (ntfs-3g-1.1004.tgz) = 576193 SIZE (ntfs-3g-1.1120.tgz) = 577005

View file

@ -32,10 +32,7 @@ For example (improves performance over large files, but read below):
Alternatively these variables could be set in the shell startup file. For Alternatively these variables could be set in the shell startup file. For
example if you are using it in /etc/fstab add them to /etc/profile. In that example if you are using it in /etc/fstab add them to /etc/profile. In that
case, use "ntfs-3g" as the type and add the "late" parameter. Note that this case, use "ntfs-3g" as the type and add the "late" parameter. Note that this
requires the "fuse" module to be loaded, that can be done either with: requires fusefs_enable="YES" to be present in /etc/rc.conf.
- Adding fusefs_enable="YES" to /etc/rc.conf.
- Adding fuse_load="YES" to /boot/loader.conf.
It is also possible to enforce block aligned I/O on regular files by setting It is also possible to enforce block aligned I/O on regular files by setting
the FORCE_ALIGNED_IO variable (it will be set to 512 bytes), but this is only the FORCE_ALIGNED_IO variable (it will be set to 512 bytes), but this is only
@ -44,11 +41,12 @@ useful for testing purposes and in practice has no use.
Note that higher values for UBLIO_BLOCKSIZE and UBLIO_ITEMS increase the Note that higher values for UBLIO_BLOCKSIZE and UBLIO_ITEMS increase the
memory usage by their product in bytes. For example, if you set it to 1MB it memory usage by their product in bytes. For example, if you set it to 1MB it
would consume 64MB. To decrease it to 16MB you could set UBLIO_BLOCKSIZE to would consume 64MB. To decrease it to 16MB you could set UBLIO_BLOCKSIZE to
256KB (currently this is the default). 256KB (currently this is the default). Small values like 4096 can be used and
also perform fine.
When doing many simultaneous file operations sometimes one of them fails. For When doing many simultaneous file operations on FUSE and native (not FUSE)
example, read(2) returns -1 and sets errno to EAGAIN. The greater filesystems sometimes one of them fails: read(2) returns -1 and sets errno to
UBLIO_BLOCKSIZE is, more chances this has to happen. Small values like 4096 EAGAIN. The greater UBLIO_BLOCKSIZE is, more chances this has to happen (this
can be used and also perform fine. This still has to be checked. still has to be clarified).
============================================================================== ==============================================================================

View file

@ -1,4 +1,6 @@
bin/ntfs-3g bin/ntfs-3g
@exec ln -fs %D/%F /usr/sbin/mount_ntfs-3g
@unexec rm -f /usr/sbin/mount_ntfs-3g
include/ntfs-3g/attrib.h include/ntfs-3g/attrib.h
include/ntfs-3g/attrlist.h include/ntfs-3g/attrlist.h
include/ntfs-3g/bitmap.h include/ntfs-3g/bitmap.h
@ -30,7 +32,5 @@ include/ntfs-3g/volume.h
lib/libntfs-3g.a lib/libntfs-3g.a
lib/libntfs-3g.la lib/libntfs-3g.la
lib/libntfs-3g.so lib/libntfs-3g.so
lib/libntfs-3g.so.13 lib/libntfs-3g.so.16
@dirrm include/ntfs-3g @dirrm include/ntfs-3g
@cwd /usr
sbin/mount_ntfs-3g