head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.24 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.22 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.20 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.18 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.16 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.14 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.12 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.10 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.8 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.6 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.4 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.2 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.3.0.2 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.1.0.2 pkgsrc-2007Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2007.07.13.10.02.56; author xtraeme; state dead; branches; next 1.3; 1.3 date 2007.05.15.23.10.05; author agc; state Exp; branches; next 1.2; 1.2 date 2007.05.01.16.17.54; author xtraeme; state dead; branches; next 1.1; 1.1 date 2007.02.28.21.34.39; author xtraeme; state Exp; branches; next ; desc @@ 1.4 log @Update to 1.710: * fix: move, rename and hard link could return "input/output error" * fix: very rare, recoverable directory corruption * fix: portability improvements * change: more troubleshooting hints if a volume can't be mounted * change: logging improvements * new: install executables to the root file system otherwise mount could fail during boot * fix: any kind of file size change failure returned "Operation not permitted" * fix: file close failure was not always reported * fix: unmount failure was not always reported * fix: file creation always gave "input/output error" if the $MFT Bitmap wasn't up-to-date * fix: converting very long file names to Unicode may failed * fix: syslog messages didn't show the low level error detail * fix: compilation improvements on OS X and NetBSD @ text @$NetBSD: patch-ac,v 1.3 2007/05/15 23:10:05 agc Exp $ --- src/ntfs-3g.c 2007/05/15 12:39:26 1.1 +++ src/ntfs-3g.c 2007/05/15 12:38:53 @@@@ -2060,7 +2060,7 @@@@ struct fuse_args margs = FUSE_ARGS_INIT(0, NULL); /* The fuse_mount() options get modified, so we always rebuild it */ - if ((fuse_opt_add_arg(&margs, "") == -1 || + if ((fuse_opt_add_arg(&margs, EXEC_NAME) == -1 || fuse_opt_add_arg(&margs, "-o") == -1 || fuse_opt_add_arg(&margs, parsed_options) == -1)) { ntfs_log_error("Failed to set FUSE options.\n"); @ 1.3 log @Add a patch to pass the EXEC_NAME through to fuse_new(). Otherwise there is no way of knowing the file system's name, since it is never passed to the refuse layer. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 1.417: * new: read-write mount is supported using the "force" mount option if the logfile is unclean * new: libntfs-3g is versioned * fix: default ownership of files weren't always set to the mounting user * fix: mount was denied if the NTFS Master File Table copy had non-standard size * fix: catch and deny all junction/reparse point write operations * fix: multiply -o options weren't allowed (FreeBSD's mount(8) requires this) * fix: don't try to run Linux specific code on non-Linux OSes @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2007/02/28 21:34:39 xtraeme Exp $ d3 4 a6 11 --- src/ntfs-3g.c.orig 2007-02-28 22:33:03.000000000 +0100 +++ src/ntfs-3g.c 2007-02-28 22:33:32.000000000 +0100 @@@@ -2116,13 +2116,13 @@@@ ntfs_log_perror("Failed to set user ID to %d", euid); goto err_out; } - +#ifndef __NetBSD__ fstype = get_fuse_fstype(); if (fstype == FSTYPE_NONE || fstype == FSTYPE_UNKNOWN) fstype = load_fuse_module(); d8 6 a13 6 create_dev_fuse(); - +#endif if (stat(opts.device, &sbuf)) { ntfs_log_perror("Failed to access '%s'", opts.device); goto err_out; @ 1.1 log @Don't try to read /proc/filesystems or use modprobe on NetBSD. @ text @d1 1 a1 1 $NetBSD$ @