antona
af9fd39611
Wheee! Lots of last minute fixes and enhancements.
...
- Compiler warning fixes for gnome-vfs and fuse modules. (Anton)
- Change volume mounting (actually device opening) to happen with
O_EXCL bit set so at least on Linux no one can change the device
block size under our feet. (Anton)
- Change volume mounting and mkntfs to set the device block size to the
sector size using BLKBSZSET ioctl (Linux only). This should be
optimal for performance and should fixes the bug of not being able to
create the backup boot sector if the number of sectors on the device
is odd, the sector size is 512 bytes, and the kernel is 2.4. (Anton)
- Enforce cluster size, mft record size, and index record size to be at
least equal to the sector size and verify they are still valid and in
particular display a warning message if the volume will not be
mountable by the kernel driver (it requires mft record size and index
record size to be below or equal to the system page size which we
determine using sysconf()). (Anton)
2006-02-03 22:19:17 +00:00
antona
e0c2231543
Fix stupid bug in libntfs/bitmap.c::ntfs_bitmap_set_bits_in_run()
...
which caused bits to not be cleared or set if the first bit in the
run was not a multiple of eight. (Anton)
2006-02-02 13:57:00 +00:00
cha0smaster
ead758ed7c
ntfsmount: Rename "succeed_chmod" -> "silent". Do not return error on chown too.
2006-01-30 21:53:42 +00:00
szaka
53883b3fde
Fix off-by-one in ACL dumping, one ACE was missed
2006-01-14 00:54:51 +00:00
szaka
a79dc381b7
ntfsinfo: dump $Secure:$SDS in verbose mode
2006-01-07 08:20:33 +00:00
cha0smaster
df8ce8fd42
dir.c::ntfs_delete(): Fix bug with deletion hard links to directories. See comment to ntfs_link() if care for why we support this case.
2005-12-03 18:04:44 +00:00
cha0smaster
eb1ab436d8
update
2005-12-01 13:16:34 +00:00
szaka
3db9973bcf
ntfsclone: --metadata also wipes out the timestamps in the $I30 and
...
in the /$Extend/$Quota:$Q index root attributes
2005-11-18 00:24:45 +00:00
cha0smaster
e58a468d0c
* Fix bug with updating atime on read-only volumes. (Thanks to Szaka and Anton)
...
* Add MS_NOATIME to ntfs_mount. (By Yuval's request)
2005-11-15 16:31:40 +00:00
cha0smaster
f7fe30a0aa
Automatically update access and change time in ntfs_attr_p{read,write} and ntfs_attr_truncate.
2005-11-14 15:31:23 +00:00
cha0smaster
632b146410
Add @from_vcn parameter to ntfs_attr_update_mapping_pairs, update all
...
users to submit it, thus write speed to very fragmented files
dramatically increased, while write speed to low fragmented files
stayed at approximately same level.
2005-11-14 00:17:19 +00:00
szaka
2db620bda1
ntfsclone: check the available free space for --save-image too
2005-11-13 21:48:35 +00:00
szaka
3e459eb923
mkntfs: fix segfault when volume has more than 2^31 clusters
2005-11-13 02:38:17 +00:00
uvman
4137f63c7a
Report the MFT record flags properly in ntfsinfo.
2005-11-11 23:55:14 +00:00
cha0smaster
4652ad72c6
* implement symblic link creation in ntfs_create
...
* rename ntfs_create -> __ntfs_create. add wrapers ntfs_create{_symlink,_device}
* ntfsmount: implement .symlink
* ntfsmount: fix readdir to emulate . and .. when needed
2005-11-10 18:13:15 +00:00
flatcap
3666ce3d2c
ntfsundelete options fix
2005-11-10 03:22:42 +00:00
cha0smaster
1254b2951c
Fix stupidness introduced in latest changesets. Thanks to Yuval for comments.
2005-11-08 19:49:52 +00:00
cha0smaster
2c3dfcba27
Teech ntfs_create() to create Interix charcter and block devices. Add @dev parameter to ntfs_create() for this.
2005-11-08 16:13:17 +00:00
cha0smaster
53446b07f8
- Change @type parameter for ntfs_create() to be dev_t rather than internal NTFS_DT_* constants.
...
- Teech ntfs_create() to create FIFOs and sockets.
2005-11-08 15:15:37 +00:00
szaka
594c23aff0
ntfsclone: check available free space on the destination
2005-11-07 20:49:18 +00:00
cha0smaster
a732881c5e
see changelog
2005-11-07 20:37:07 +00:00
cha0smaster
5bbb43d947
fix really hard to trigger bug in ntfs_delete
2005-11-04 22:43:10 +00:00
szaka
0ffab99a56
mkntfs: don't fill the last $MFT cluster with empty MFT records.
...
This is needed to conform to Windows' format behavior for NTFS v3.1
2005-11-02 20:47:19 +00:00
szaka
c47717581a
dump index attribute keys
2005-10-30 23:31:44 +00:00
szaka
370bea1395
ntfsinfo: figure out and dump index attribute types
2005-10-30 22:53:38 +00:00
szaka
d5a925b3bf
ntfsinfo and ntfsls follow the convention how other utilities read
...
the device argument: no -d or --device option is needed
2005-10-28 18:00:44 +00:00
cha0smaster
4b81ab7e3b
Add 'xattr' named data streams access interface.
2005-10-28 16:06:04 +00:00
flatcap
7f96d02758
typo
2005-10-28 15:31:41 +00:00
uvman
5b949d07fa
Fix comment formats.
2005-10-28 12:55:41 +00:00
cha0smaster
0b55f323c2
spelling fixes from debian
2005-10-28 09:43:47 +00:00
antona
0e4a1ca252
Fix ntfsdecrypt endianness bugs thus it now works on OSX running on
...
a dual G5! (Anton)
2005-10-27 21:46:00 +00:00
cha0smaster
73474b68db
Fix ntfs_non_resident_attr_expand bug, that occured if we enlarge
...
sparse or compressed file, but do not need to allocate new clusters to
perfrom this.
2005-10-27 21:20:30 +00:00
szaka
8b1263c217
Working with regular files needs no longer --force, except for mkntfs
2005-10-27 18:45:45 +00:00
szaka
0dc3b0597c
fflush() ntfs_log_ streams. (Christophe)
2005-10-26 19:24:45 +00:00
antona
98e5cda13e
Add some debugging to ntfsdecrypt.c to allow printing of the private
...
key after it is decrypted (this is ifdeffed out by default). (Anton)
2005-10-25 22:12:25 +00:00
uvman
ef7bda1d7b
Update changelog about Dputs, Dprintf, ..., Sprintf
2005-10-25 18:34:18 +00:00
szaka
9be56ad848
ntfscat can display named attributes, streams too
2005-10-23 14:00:37 +00:00
cha0smaster
8980ec6d76
ntfsmount: Add 'streams_interface=' option to select named data streams access interface. Currently supported interfaces are 'none' and 'windows'.
2005-10-23 11:54:00 +00:00
szaka
8f03f5a6ca
Optionally create NTFS version 3.0 (W2K) or 3.1 (XP, W2K3, Vista).
...
Contributed by Erik Sornes. No side-effect for v1.2 NTFS which is still
the default. The implementation needs some minor work: see e.g. the chkdsk
messages and the result of ntfscmp'ing the two images.
2005-10-19 22:04:46 +00:00
antona
a7fd01e543
$EA can be resident and non-resident. Fix libntfs/attrib.c::
...
ntfs_attr_can_be_resident() apropriately. (Anton)
2005-10-19 08:13:44 +00:00
szaka
27a9764d3a
Check and report bad sectors before cluster allocation check because
...
chkdsk doesn't always fix $Bitmap with bad sectors
2005-10-16 18:50:56 +00:00
antona
a570ee7b37
Fix endiannes bug in libntfs/index.c. (Anton)
2005-10-16 00:07:14 +00:00
antona
6803fa4b76
Fix endianness bug in ntfsinfo. (Anton)
2005-10-15 23:44:57 +00:00
antona
1d4958d38c
Fix endianness bug (le16 instead of le32 when accessing mft record
...
bytes_in_use) in volume.c::ntfs_volume_write_flags() and
ntfsfix.c::OLD_ntfs_volume_set_flags(). (Anton)
2005-10-15 23:13:49 +00:00
antona
3adf923766
Fix compilation and warnings in ntfsdecrypt.c on OSX/gcc4.0.1. The
...
compilation failure was because we use strnlen() which is gnu
specific and not present on my current version of OSX so ntfsdecrypt
now provides own version if it is not present on system. (Anton)
2005-10-15 22:30:20 +00:00
antona
da1495a11d
Fix compilation on OSX in ntfscmp.c where stderr = stdout is not legal (but
...
happens to work on Linux) to do portable low-level file descriptor mangling.
2005-10-15 21:48:37 +00:00
antona
f5961c075e
- Fix compilation on OSX in ntfsclone.c where stderr = stdout
...
is not legal (but happens to work on Linux) to do proper
low-level file descriptor mangling which is portable. (Anton)
- Add test/runlist-data to EXTRA_DIST so it gets included in the
distribution otherwise make test fails on released sources. Solution
is not perfect as it also adds the test/runlist-data/CVS directory
but it will do at least for me. (Anton)
2005-10-15 21:44:17 +00:00
antona
b9422552da
Fix compilation on OSX in ntfsresize.c where stderr = stdout is not
...
legal (but happens to work on Linux) to do proper low-level file
descriptor mangling which is portable. (Anton)
2005-10-15 21:26:16 +00:00
antona
e46d4e8959
Fix silly bug introduced in 1.12.0 which breaks ntfsfix (and others
...
possibly) when calling ntfs_attr_lookup() with AT_UNNAMED name and
no ntfs inode in the search context. (Anton)
2005-10-15 20:52:41 +00:00
antona
bc4bee7b2f
Fix bogus le16_to_cpu() which shouldbe le32_to_cpu() when accessing
...
the attribute list entry attribute type in some places in
libntfs/attrib.c. (Anton)
2005-10-15 11:33:42 +00:00