Jean-Pierre André
319958545e
Made sure directories are not hard linked
...
On OpenIndiana the fuse kernel module does not prevent link(2) from
hard linking directories, so this has to be done in the lowntfs-3g
driver.
2012-03-21 18:48:38 +01:00
Jean-Pierre André
e82240f499
Made sure rmdir is only used for directories, and unlink otherwise
...
On OpenIndiana the fuse kernel module does not prevent unlink(2)
from deleting directories, nor prevent rmdir(2) from deleting files,
so this has to be done in the lowntfs-3g driver.
2012-03-21 18:42:29 +01:00
Jean-Pierre André
e85d986494
Put the device name as the last option
...
On OpenIndiana the device names have commas, so put it as the last option
to prevent defeating the options parsing.
2012-01-23 18:00:18 +01:00
Jean-Pierre André
08ad3b4977
Mounted with an absolute mount point on OpenIndiana
...
OpenIndiana requires that the mount points be defined on a full
absolute patch. Give it what it needs.
2012-01-23 17:56:15 +01:00
Jean-Pierre André
458c5eb191
Worked around write checks for ftruncate() and access(W_OK) on OpenIndiana
...
When a file is created with no write permissions, ftruncate and
access(W_OK) should be allowed, but this check has to be made by the
file system on OpenIndiana.
This patch is not active on Linux (#ifdef'ed)
2012-01-23 17:49:38 +01:00
Jean-Pierre André
b25178fec3
Strengthened sanity checks on readdir/closedir
...
Be more defensive against readdir() on closed directories.
2012-01-23 17:45:12 +01:00
Jean-Pierre André
528b4303b2
Accepted multiple read-only mounts
...
Multiple mounts of a partition is now allowed provided they are all
in read-only mode.
2012-01-23 17:31:15 +01:00
Jean-Pierre André
c9edd32113
changed error return for user access to trusted xattr
...
When a user queries an extended attribute in the trusted namespace,
the traditional error return was EPERM. This has been recently changed
to ENODATA. See https://lkml.org/lkml/2011/5/27/199
2012-01-23 17:25:55 +01:00
Jean-Pierre André
59ecea5c80
new : allow compression in default setup
...
With the default mount options, compression of new files are now done
if the parent directory is marked for compression. The mount option
"compression" is not needed any more, but the option "nocompression"
can be used to disable compression of new files.
The default option also applies to applications using libntfs-3g with
no mount command.
2011-10-20 18:55:32 +02:00
Jean-Pierre André
a7c61d83a7
Defined option delay_mtime to delay updates of mtime+ctime
...
This patch avoid updating the time stamps whenever a file is modified,
by delaying the time stamps updating until the file is closed.
This is mostly useful when the ntfs file system hosts another loop-monted
file system to avoid frequent updates of the time stamps in the outer
file system.
2011-10-07 11:16:23 +02:00
Jean-Pierre André
9497aa7974
minor : Fixed ntfs_fuse_read() returning garbage in error case (Fabian Keil)
2011-08-04 15:49:35 +02:00
Jean-Pierre André
d7926f72d0
Provided support for big writes
2011-07-05 12:17:30 +02:00
Jean-Pierre André
571dbc5784
Fixed device path canonicalization for use by devmapper (basilinya)
...
For some reason, when the monted device is "/dev/mapper/*", a record
in the form "/dev/dm-*" ends up in /etc/mtab and the device cannot be
unmounted.
The reason is unclear, the /dev/mapper name is not a symlink, and the
function doing the name change is not known. No detailed feedback from
the users having met the issue.
The patch changes the name back to the /dev/mapper name after realpath()
is called, and, if there is an actual change, both the name passed to
ntfs-3g and the one passed to fuse and mount are logged in the hope
of getting a clue about what is happening.
But ntfs-3g is probably not the right place for a fix.
2011-07-05 12:17:12 +02:00
Szaka
f246d6ce97
Update ntfs-3g.org references
2011-03-27 15:29:48 +03:00
Jean-Pierre André
3160203c97
Defined option acl to request the use of Posix ACLs
2011-02-08 13:52:12 +01:00
Jean-Pierre André
f55f359f4e
Moved global options parsing to ntfs-3g_common.c
2011-02-08 13:52:12 +01:00
Jean-Pierre André
461e9f21b8
Moved mount options parsing to ntfs-3g_common.c
2011-02-08 13:52:12 +01:00
Jean-Pierre André
a46a395006
Updated copyright notices
2011-02-08 13:52:12 +01:00
Jean-Pierre André
e47734baa9
Denied modifications to metadata files
2011-02-08 13:52:11 +01:00
Jean-Pierre André
9ddc70f19b
Moved listxattr() to a specific source module
2011-01-17 15:50:25 +01:00
Jean-Pierre André
351aec3f7a
Enabled renaming of system extended attributes
2010-10-26 08:59:52 +02:00
Jean-Pierre André
f43e972342
Removed obsolete comments
2010-10-26 08:59:52 +02:00
Jean-Pierre André
2f82b18b4b
Removed an obsolete debug sequence
2010-10-26 08:59:52 +02:00
Jean-Pierre André
a92c57735b
Added an extended attribute name for creation time
2010-10-26 08:59:51 +02:00
Jean-Pierre André
13b578d9b1
Added a big endian extended attribute name for attrib and times
2010-10-26 08:59:51 +02:00
Jean-Pierre André
9c0e3a7b4e
Enabled use of fuse cacheing in lowntfs-3g under conditions
2010-10-26 08:59:51 +02:00
Jean-Pierre André
e1ef554dd2
Grouped system extended attributes functions into a dedicated module
2010-10-26 08:59:51 +02:00
Jean-Pierre André
1afaf16912
Implemented the sync mount option
2010-10-26 08:59:51 +02:00
Jean-Pierre André
ecbc2b9103
Implemented fsync() and fsyncdir()
2010-10-26 08:59:51 +02:00
Jean-Pierre André
23aae785c4
Fixed stat(2) for system files with no data
2010-10-25 12:13:28 +02:00
Jean-Pierre André
270b640b99
Fixed adding options -n --no-mtab needed by automount
2010-09-16 18:44:11 +02:00
Jean-Pierre André
9b129fa1dd
Added options -n --no-mtab needed by automount
2010-09-16 15:33:03 +02:00
Jean-Pierre André
66b6a9c219
Fixed checking for already mounted device on non-Linux platforms
2010-08-28 14:02:08 +02:00
Jean-Pierre André
a75becd7c5
Cancelled the disabling of bmap() in lowntfs-3g
2010-07-22 18:41:36 +02:00
Jean-Pierre André
acccb62f9f
Fixed checking for write errors in setxattr()
2010-07-22 15:03:52 +02:00
Jean-Pierre André
04c561a0d1
Fixed checking whether the device is not already mounted
2010-07-22 14:58:10 +02:00
Jean-Pierre André
776117baf3
Fixed processing of options silent and no_def_opts
2010-07-22 14:52:23 +02:00
Jean-Pierre André
09df7eade5
Fixed creating empty encrypted extended attributes
2010-07-22 14:46:01 +02:00
Jean-Pierre André
233bf2929a
Removed support of bmap() with external fuse older than 2.8
2010-06-29 19:27:25 +02:00
Jean-Pierre André
0103bcdb60
Fixed use of utimensat() with external fuse older than 2.8
2010-06-29 11:34:14 +02:00
Jean-Pierre André
29f760f7e7
renamed option default_permissions to permissions
2010-06-14 14:42:00 +02:00
Jean-Pierre André
15c4d282ce
Enable/disable compression according to option
2010-06-03 10:11:42 +02:00
Jean-Pierre André
1eed61e1a9
enabled downsizing compressed files
2010-05-25 10:29:34 +02:00
Jean-Pierre André
e3537c3376
reversed default for showing/hiding hidden files
2010-05-25 10:18:20 +02:00
Jean-Pierre André
ac070299ac
defined an option windows_names to enforce windows names
2010-05-25 10:16:18 +02:00
Jean-Pierre André
693aa8780d
enabled case insensitive file names in lowntfs-3g
2010-05-25 10:12:44 +02:00
Jean-Pierre André
81f1de0559
removed duplicated code in lowntfs-3g
2010-05-25 10:06:27 +02:00
Jean-Pierre André
2e86428fc0
redefined a default user mapping (a few changes in mount options)
2010-05-25 10:05:10 +02:00
Jean-Pierre André
3745d0a1e3
marked files whose name has a dot initial as "hidden" if option hide_dot_files
2010-05-25 09:58:36 +02:00
Jean-Pierre André
8e98f616dd
Temporarily disabled MacOSX features in lowntfs-3g (Erik Larsson)
2010-05-16 08:17:36 +02:00