2012年1月1日 星期日

[Linux] Samba support file > 2GB

The most important build option to support large file is with --enable-largefile=y.

./configure --host=x86_64 --build=mips-linux --target=mips-linux SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=1 --enable-largefile=y --prefix=$(TOOLCHAIN)/usr --disable-cups --disable-pie --disable-fam --enable-shared --disable-static --with-configdir=/etc/samba --with-logfilebase=/var/log/samba --with-winbind --without-quotas --without-ldap --without-ads --with-sendfile-support --without-krb5 --without-pam --without-pam_smbpass --disable-iprint --without-fhs --without-libsmbclient --without-python

沒有留言:

張貼留言