Commit Graph

182 Commits (31a807d4fd55aa0ae4b12e0f19a97f96d25b2255)

Author SHA1 Message Date
szaka 3f2f5b3431 fix command line parsing 2008-02-10 21:40:43 +00:00
szaka 7b638b31d6 explain how certain mount denials can be overcome by mount options 2008-02-10 14:37:29 +00:00
szaka 8f278649ac document remove_hiberfile mount option 2008-02-10 14:35:44 +00:00
szaka 9a457b1681 forced_mount_msg: drop 'defaults' as many people mistyped it to 'defualts' 2008-02-10 13:34:14 +00:00
szaka 7b17f7daf4 remove user= option handling because fuse-lite will take care about it 2008-02-09 14:46:48 +00:00
szaka 2636da890b fix: create mount.ntfs-3g symlink always in /sbin where mount(8) needs it 2008-02-03 16:39:13 +00:00
szaka 65996b036a add 'remove_hiberfile' mount option to be able rw mount hibernated volumes 2008-02-03 16:35:25 +00:00
szaka 48f32c048a fix %lld when off_t is used on 64-bit (Alon Bar-Lev) 2008-01-23 21:05:40 +00:00
szaka 0afd8ce18b fix signal handling for integrated fuse user mounts 2008-01-20 18:37:15 +00:00
szaka 5d99f42e74 update ntfs-3g manual 2008-01-20 16:51:36 +00:00
szaka db85bed000 add ntfs-3g.probe manual 2008-01-20 16:31:10 +00:00
szaka 72f55b007e copyright update 2008-01-20 13:54:41 +00:00
szaka cf9fe6e329 log fuse type and version 2008-01-20 13:42:08 +00:00
szaka 45d077860c factor out setup_logging() 2008-01-20 13:14:49 +00:00
szaka 8c8b108e28 ntfs_open(): remove unused argument 2008-01-19 22:59:25 +00:00
szaka 9c0f8eef72 new: support user mount via setuid root ntfs-3g (fusermount isn't required) 2008-01-19 22:55:04 +00:00
szaka f101412c23 display "Unmounting ..." only if no error during the entire mount phase 2007-12-15 09:36:12 +00:00
szaka 4090a07081 add ntfs-3g.probe utility which probes read-only or read-write mountability 2007-12-15 09:27:00 +00:00
szaka a1402b3c3e new: ntfs-3g exit() value is set according to the type of mount error (e.g.
not ntfs, corrupted, access denied, hibernated, unclean journal, etc)
2007-12-15 09:17:17 +00:00
szaka 3b01ef2754 fix: use fuse signal handler, exit at SIGHUP, SIGTERM, SIGINT & ignore SIGPIPE 2007-12-15 09:04:08 +00:00
szaka 67997a4d88 New: built-in FUSE support by using a 50% stripped down, internal
FUSE library which linked statically into libntfs-3g. Linux
     uses this one by default.
New: the --with-fuse=external configure option makes ntfs-3g to be
     compiled with an external FUSE library. For non-Linux operating
     systems this is the default and the only option currently.
New: rewritten, backwards compatible build system.
New: README file is installed as documentation.
New: the --enable-ldscript configure option uses ldscript instead of
     .so symlink
New: the --disable-mtab configure option disables and ignores the
     usage of /etc/mtab
New: added libntfs-3g.pc.in pkg-config and libntfs-3g.script.so.in
     ldconfig files
Change: use 'make install-strip' instead of 'make strip'
(Alon Bar-Lev, Miklos Szeredi, Szabolcs Szakacsits)
2007-12-06 20:44:10 +00:00
szaka 4ab5ed8a49 fix: successful file/directory removal may reported "Input/Output error" 2007-11-18 22:37:04 +00:00
szaka 5d7af2f653 update last edit date 2007-11-18 21:58:34 +00:00
szaka 08128a051f implement relatime and make it default (Yura Pakhuchiy, Valerie Henson, Szaka) 2007-11-18 15:04:39 +00:00
szaka 008cac84fb atime update works (Yura Pakhuchiy, Szabolcs Szakacsits) 2007-11-18 14:08:44 +00:00
szaka 76a3a8963c cleanup: don't check ntfs_inode pointer since ntfs_inode_close() does it 2007-11-18 13:14:49 +00:00
szaka fc67849324 ntfs_fuse_truncate: fix memleak if ntfs_attr_truncate failed (Jean-Pierre, Szaka) 2007-11-18 13:01:42 +00:00
szaka d4b91d350c posix file time updates (Yura Pakhuchiy, Szabolcs Szakacsits) 2007-11-15 07:33:40 +00:00
szaka 5d268c9a17 ntfs_fuse_getxattr_windows(): separate stream names by '\0' (Daniel Borca) 2007-11-04 11:27:29 +00:00
szaka 729ee43330 fix read over file end (Tullio Andreatta, Julian Sikorski, Szabolcs Szakacsits) 2007-11-03 23:09:11 +00:00
szaka 028f73740d fix utimes() st_ctime if struct utimbuf buf wasn't NULL (Carmelo Viavattene, Szaka) 2007-10-31 21:30:47 +00:00
szaka af6370da9e ntfs_open() cleanup, refactoring 2007-10-28 00:07:33 +00:00
szaka b032c0e68b fix free space calculation for >1 TB volumes 2007-10-27 20:38:21 +00:00
szaka 6be9b754b6 factor out ntfs_attr_get_free_bits() 2007-10-27 20:10:34 +00:00
szaka c06caa5353 don't log "Unmounting ..." if volume isn't FUSE mounted yet (B. Kaindl, Szaka) 2007-10-27 20:02:40 +00:00
szaka 1200c1c4bc factor out mount_fuse(); fix fuse mount error paths 2007-10-27 19:27:33 +00:00
szaka 60a8be1bc5 check properly for the linux and __uClinux__ macros 2007-10-25 22:26:02 +00:00
szaka f24a38f0d6 non-inline ntfs_fuse_is_named_data_stream & NAttr* functions: 500+ bytes saved 2007-10-25 22:22:24 +00:00
szaka fc8ef66692 add preliminary uClinux support (huwenke, Szabolcs Szakacsits) 2007-10-25 21:02:59 +00:00
szaka 63f23a8e7d create the /dev/misc/fuse character device too if uclibc used 2007-10-25 20:22:00 +00:00
szaka a6a0a088fa use the FUSE debug only if the debug mount option is used 2007-10-25 19:31:36 +00:00
szaka 1627dbeeda ntfs_fuse_read(): don't flood log with EINVAL when using broken Thunderbirds
(Julian Sikorski, Szabolcs Szakacsits)
2007-10-25 19:26:26 +00:00
szaka 3502cdc3fb ntfs_fuse_statfs(): fix free inodes available for non-privileged processes 2007-10-14 10:12:41 +00:00
szaka 925c1cff30 fix warnings 2007-10-08 22:02:38 +00:00
szaka 91604e7edd optimization: find(1) is 20-200% faster for disk based and 300-600% faster
for memory cache based directory traversals
2007-09-27 22:15:03 +00:00
szaka ffa355c0f8 statfs() and free inode calculation is O(1) (David Fox, Szabolcs Szakacsits) 2007-09-26 19:32:26 +00:00
szaka 8de4c34578 try_fuse_mount(): remove non-specific, redundant error message 2007-09-26 19:13:32 +00:00
szaka 5adb30912a implement the .create fuse method: this should solve the problem of
open("file", O_CREAT, S_IREAD) besides it improved file creation performance
by 20% (Jean-Pierre Andre, Szabolcs Szakacsits)
2007-09-16 18:33:53 +00:00
szaka a97c661efe statfs optimization: O(1) free cluster calculation (David Fox, Szabolcs Szakacsits) 2007-09-12 20:51:06 +00:00
szaka 8824fbe7ae Ignore the volume dirty bit because its real meaning is "check the volume"
(set by chkdsk, ntfsresize, ntfsfix) and this is what ext2, ext3, ext4,
reiserfs and xfs do in similar cases. The fact of the real dirtiness is
stored in the NTFS logfile which is already checked for.
2007-08-22 19:59:45 +00:00
szaka 1d19c06f6c explain the 'locale' mount option a bit better 2007-08-17 17:13:49 +00:00
szaka d2fab4e71f fix: utimes() shouldn't update the parent dir mtime (Wayne Sherman, Szaka) 2007-08-10 15:01:21 +00:00
szaka 3b6818862e don't turn on permission checking if umask, fmask or dmask is zero since
the effect were just the opposite users wanted
2007-08-09 21:15:28 +00:00
szaka 742828ab74 fix: unmount (fusermount -u) was denied for an unrpivileged user who was
allowed to mount a block device. FUSE 2.7.0+ is required for the full fix.
2007-08-09 20:11:43 +00:00
szaka a7e4d503e2 fix: rename may updated mtime for some files/dirs (Wayne Sherman, Szaka) 2007-08-09 14:11:54 +00:00
szaka e1e987791b add a section about Windows filename compatibility 2007-08-08 19:07:57 +00:00
szaka 49825fbbee fix hangs in readdir(): ntfs_fuse_filler() returns error if FUSE filler failed 2007-08-08 16:38:26 +00:00
szaka 568720ef84 portability fixes 2007-07-09 22:25:15 +00:00
szaka 57c475a0ae Give more hints what the problem could be during mount 2007-07-09 21:49:52 +00:00
szaka 190367bb52 portability fixes 2007-07-09 21:03:57 +00:00
szaka c214b9c11c No need to check for ENOSPC because ntfs_log_perror() does it now 2007-07-08 20:45:14 +00:00
szaka 2655455f74 fix trace logging 2007-07-08 15:02:49 +00:00
szaka a81f30eaa6 fix: move & hard link input/output error in 1.616 (Nicolò Chieffo, Szaka) 2007-07-08 14:27:55 +00:00
szaka 0089974281 use kernel cache also for the 'debug' option 2007-06-16 21:34:13 +00:00
szaka b263ea5988 update manual 2007-06-16 21:31:46 +00:00
szaka a6663562b5 fix: truncate() always returned "Operation not permitted" on error 2007-06-09 23:24:34 +00:00
szaka 1ab1b69203 check and handle ntfs_inode_close() errors 2007-06-09 23:00:07 +00:00
szaka 4daa2f72b1 remove unused utils_* code 2007-06-09 00:10:04 +00:00
szaka 55f77f9223 ntfs_fuse_destroy(): clearer error message 2007-06-08 23:30:54 +00:00
szaka e2e91cebba pass file system name to the fuse layer (Alistair Crooks) 2007-06-06 18:55:30 +00:00
szaka 9bc01583cd Fix Linux exploit if ntfs-3g is setuid and the FUSE kernel driver isn't
loaded (Jochen Schmitt, Tom "spot" Callaway, Szaka)
2007-05-15 21:19:59 +00:00
szaka 6174a9365a ntfs_fuse_read(): log the details if it fails 2007-04-22 21:03:06 +00:00
szaka 39ac864f75 handle the -v (verbose) command line option because mount(8) can pass it 2007-04-15 23:52:01 +00:00
szaka 4e2dbb13a3 fix: option parsing may failed due to a bug introduced in 1.411-RC 2007-04-11 22:16:17 +00:00
szaka 5984592552 support read-write mount with the --force option if logfile is unclean 2007-04-08 20:23:11 +00:00
szaka 108934e9fe manual update: command line syntax, options update 2007-04-08 19:09:00 +00:00
szaka 828c16f8b5 parse_options(), usage() cleanup; removed unused command line options 2007-04-07 19:42:58 +00:00
szaka af5302b5bb log command line options 2007-04-06 20:32:20 +00:00
szaka 1d0a2dea23 remove fusermount example since the binary will move entirely into libfuse 2007-04-06 20:19:24 +00:00
szaka b5e7329981 don't run surely failing Linux specific code on non-Linux OSes 2007-04-06 20:17:14 +00:00
szaka c01bae4411 support multiply -o options to make FreeBSD's mount(8) work (Dmitri Tarasov, Szaka) 2007-04-06 20:13:11 +00:00
szaka d4b77bd50f fix typo in hibernated volume message 2007-04-02 21:09:18 +00:00
szaka cae49b9373 fix default uid/gid of file for suid-root user mounts (Laszlo Dvornik, Szaka) 2007-04-02 21:08:06 +00:00
szaka a73cd7f22f Emphasize the kernel problem which typically is believed to be a user space one 2007-03-27 21:09:42 +00:00
szaka 29cb070325 refer to the latest ntfsfix, some earlier versions don't always work 2007-03-27 20:55:45 +00:00
szaka 98694266d7 give examples for the 'force' mount option usage 2007-03-27 20:36:46 +00:00
szaka f8c7d56326 fix the privilege typos 2007-03-27 20:31:44 +00:00
szaka 8a12e507c6 don't flood logs with ENOSPC errors (full disk) 2007-03-16 00:31:09 +00:00
szaka a5281b6114 OS natural manual: ntfs-3g runs on many OSes 2007-03-16 00:28:32 +00:00
szaka 4665b48913 don't log errno reason after fuse_mount() since it's undefined, misleading 2007-03-10 01:01:40 +00:00
szaka ff1997ec13 Use the 'nonempty' FUSE mount option by default, so we behave as in-kernel
filesystems, moreover HAL and pmount won't refuse to mount if they create
hidden .created-by-xxx file in the mount point directory before mount.
2007-03-03 23:42:05 +00:00
szaka cf16a8191b parse_mount_options(): don't parse empty options string 2007-03-03 23:36:43 +00:00
szaka 3e9874de79 fix fakeraid/softraid detection (Cyberjean, Szaka) 2007-03-03 23:31:48 +00:00
szaka 95e5a206c7 manual: added access handling, security section; other minor updates 2007-03-03 23:30:39 +00:00
szaka 68422bdf94 add --disable-ldconfig configure option and reorganize *-hook rules to
*-local and *-hook ones in src/Makefile.am for simplicity and to be more
compatible with older automake versions (Andreas Hanke)
2007-03-03 10:52:06 +00:00
szaka f5d8f91c4f ignore user specified blksize option 2007-02-06 19:08:16 +00:00
szaka 931858c0c2 use FUSE default_permissions option when users expect things to work that way 2007-02-06 18:56:24 +00:00
szaka d5d43139eb update fuse26_kmod_msg: FUSE 2.6.2 kmod lacks fuseblk for old kernels 2007-02-04 19:56:55 +00:00
szaka 28a4fa0a40 portability fix: use getuid/geteuid instead of getresuid 2007-02-04 13:25:26 +00:00
szaka 6da93fb607 fix uids related compilation warnings (bigboss, Szaka) 2007-02-04 13:20:25 +00:00