yura
08689c171e
Merge index code from ntfs-3g. Clean it a bit and fix adding index allocation when index root in the base mft record.
2006-08-02 03:55:41 +00:00
yura
9d0f9aec4c
Add new API ntfs_attr_exist() that checks whether attribute with selected type and name already present in inode. (Szaka)
2006-08-02 03:12:34 +00:00
aia21
f3117bf03a
Hopefully final test.
2006-07-24 08:59:55 +00:00
aia21
8361597275
And another test...
2006-07-24 08:57:30 +00:00
aia21
179966fb0c
Fix long standing stupendously stupid bug in libntfs/attrib.c::
...
ntfs_external_attr_find() and also port a bugfix from the advanced
ntfs kernel driver to the same function. (Anton)
2006-07-23 21:43:08 +00:00
yura
2d137b6900
create SD in __ntfs_create
2006-07-13 16:01:52 +00:00
aia21
755e9cafbd
The 1.13.1 release is here!
2006-06-21 09:40:17 +00:00
szaka
f61d45b970
fix 64 bit destination size calculation on Mac OS X
2006-06-15 18:43:24 +00:00
yura
6b0018def4
Fix bug with renaming directories with names in DOS and WIN32 namespaces.
2006-06-03 21:37:27 +00:00
uvman
bcbb7e06e2
configure.ac fix for Cygwin
2006-05-16 11:58:22 +00:00
cha0smaster
8842271dde
This code should be in fuse, if should exist at all.
2006-04-27 22:22:02 +00:00
szaka
a3ec003be1
Workaround for libfuse not being able to find fusermount when mount(8) used
2006-04-27 21:05:38 +00:00
szaka
63b431150e
Dump USA, USN and LSN for index records
2006-04-23 10:06:39 +00:00
antona
f399140b7d
- Improve ntfsinfo to dump standard info completely and filename
...
attribute completely and index entry (filename) completely and all in
correct order. Essential for hunting bugs in directory operations
code... (Anton)
2006-04-19 21:43:11 +00:00
szaka
b594b42db5
Set PKG_CONFIG_PATH during build time so we should find .pc files in the
...
most typical pkgconfig directories
2006-04-18 21:40:32 +00:00
szaka
46383e5600
Update with ntfscmp changes
2006-04-11 22:48:14 +00:00
cha0smaster
d3b82fa6cd
fix VCN size in index.c
2006-04-06 17:00:33 +00:00
szaka
c7a53338c0
Fix all incorrect getopt_long() return value usages.
2006-04-05 12:43:06 +00:00
szaka
134319ae80
libntfs: add and ntfs_inode_badclus_bad() and convert all copy-pastes
...
to use them
2006-04-05 02:53:40 +00:00
szaka
813933e1bc
libntfs: add ntfs_mft_usn_dec() and convert all copy-pastes to use them
2006-04-05 02:49:24 +00:00
szaka
be823c7a1e
libntfs: add ntfs_str2ucs and ntfs_freeucs function, and convert
...
copy-pastes to use them
2006-04-05 02:45:55 +00:00
szaka
7a776e2810
ntfsinfo: dump either a minimal (default) or the entire attribute
...
header (--verbose) for all attributes types. Also removed a lot of
redundant code and made some formatting corrections.
2006-03-29 22:29:26 +00:00
antona
588ef46e86
Change ntfsinfo to dump the key data as well as the keys themselves
...
when dumping the $ObjId/$O index. (Anton)
2006-03-27 22:46:13 +00:00
antona
cf631e3398
Fix comparison of $MFT and $MFTMirr to not bail out when there are
...
unused, invalid mft records which are the same in both $MFT and
$MFTMirr. Ported from kernel driver 2.1.27 release and aplied both
to libntfs/volume.c mount related code and to ntfsprogs/ntfsfix.c's
fixup code. (Anton)
2006-03-27 22:43:09 +00:00
antona
f4344d6261
Change utils_parse_size() to use a base of 0 instead of 10 when
...
calling strtoll(). This automagically allows specification of
numbers in hex (and octal if anyone is crazy enough to use that) in
addition to decimal numbers on the command line options to most if
not all utilities. (Anton)
2006-03-27 22:39:38 +00:00
szaka
b4fa78dc58
ntfsclone: the --metadata option will wipe the timestamps in the
...
index allocation attributes as well. This further decreases the
compressed metadata image size by 10-25% and more importantly it
eliminates non-interesting ntfscmp differences.
2006-03-27 21:40:26 +00:00
szaka
ddc558f1ec
libntfs: add ntfs_index_root_get() which reads the index root of an attribute
2006-03-27 21:14:56 +00:00
szaka
9b801db7c8
libntfs: add ntfs_attr_readall() which reads the entire data from an attribute
2006-03-27 20:01:36 +00:00
szaka
775b208f68
ntfsinfo: fix two freed memory usage when dumping $SDS and index allocation
...
entries; factor out ntfs_attr_readall();
2006-03-26 16:49:42 +00:00
szaka
43f2ab6ec3
mkntfs: set the physical drive and the extended boot signature to 0x80
...
in the Extended BPB which are needed to boot from disk
2006-03-14 21:20:20 +00:00
szaka
033eaf429f
identify files even if their clusters aren't set in $Bitmap (useful to
...
find potentially corrupted files)
2006-03-13 20:25:46 +00:00
cha0smaster
f279223990
- Fix build with --disable-gnome-vfs --enable-fuse-module. (Gentoo)
2006-03-06 18:38:37 +00:00
cha0smaster
f424e61b96
Fix bug in ntfs_attr_pwrite() when we sometimes lose current run in the runlist.
2006-03-04 13:56:34 +00:00
antona
7c718e1099
Update for date for 1.13.0 release.
2006-02-27 09:09:50 +00:00
antona
63982b15fd
Fix compilation on FreeBSD. (Christophe)
2006-02-24 15:49:59 +00:00
antona
49fd93718c
Cope with attribute list attribute having invalid flags. Windows
...
copes with this and even chkdsk does not detect or fix this so we
have to cope with it, too. Thanks to a Pawel for reporting the
problem. (Anton)
2006-02-24 09:20:10 +00:00
antona
45c9aa137e
- Deal with missing syslog function by making code conditional on
...
presence of syslog.h header file (DOS/djgpp). (Christophe)
- Avoid clash with existing constants (OSX). (Christophe)
2006-02-22 14:20:08 +00:00
cha0smaster
241c7585a6
Fix runlist setting and incorrect file sizes in the index.
2006-02-21 04:40:20 +00:00
cha0smaster
32420ad699
implement POC of syslog logging handler, make ntfsmount to use it
2006-02-13 01:23:31 +00:00
szaka
fefc3e5195
ntfsresize, ntfsclone: always use MS_NOATIME
2006-02-05 16:39:35 +00:00
szaka
fb244d7c70
Explain the tons of mkntfs bugs
2006-02-04 22:56:13 +00:00
antona
952d221711
Tons of bug fixes to mkntfs.
2006-02-04 05:42:59 +00:00
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