Erik Larsson
b538215ddb
Replaced all occurrences of ntfs_mbstoucs with a compatibility wrapper function (ntfs_mbstoucs_libntfscompat).
...
The interface and semantics of ntfs_mbstoucs differ between libntfs and libntfs-3g, so this compatibility wrapper tries to address the differences.
2010-12-02 16:05:22 +01:00
Erik Larsson
f03d683fa0
Commented out all references to 'version.h' (which doesn't exist in libntfs-3g) and added a stub implementation of ntfs_libntfs_version in utils.h to allow things to compile.
2010-12-02 15:58:14 +01:00
Erik Larsson
1860eff1da
Updated all includes in the basic ntfsprogs utilities for libntfs-3g.
2010-12-02 15:57:58 +01:00
Erik Larsson
237b937a65
Updated build configuration of ntfsprogs to use libntfs-3g's includes and libraries.
2010-12-02 15:57:43 +01:00
Yura Pakhuchiy
763d811d29
ntfsmount: Filter out uhelper mount option
2009-05-10 16:38:41 +03:00
Olaf Rempel
48f652e0e1
ntfsclone: fix restore from stdin
...
When doing a ntfclone-restore from stdin and stdin is then closed,
ntfsclone will loop forever:
$ cat corrupt_image.gz | gzip -d | ntfsclone -r -O somedisk -
With this patch the io_all() loop will return an error when the
input-stream is closed.
2009-03-28 00:25:58 +02:00
Anton Altaparmakov
fb4a13008e
ntfsclone: Allow metadata cloning to block devices when --force option
...
is supplied. (Anton)
2007-10-26 11:28:51 +01:00
Yura Pakhuchiy
8d63e0b1a2
ntfsck: Use ntfs_pread instead ops->pread. (Noticed by Christophe GRENIER)
2007-10-19 21:22:59 +03:00
Yura Pakhuchiy
5a381d5a9e
Remove some legacy logging traces
2007-10-19 21:15:23 +03:00
Anton Altaparmakov
e0e71a3776
Fix grammar in NEWS and add a few useful extra outputs about the
...
attribute list attribute in ntfsinfo.c. (Anton)
2007-09-28 21:07:15 +01:00
Yura Pakhuchiy
2f33075993
Apply fix from crypto.c to ntfsdecrypt
2007-09-27 16:41:22 +03:00
Yura Pakhuchiy
2d645bae53
Apply latest CVS on top. I will rewrite history properly later.
2007-09-27 16:36:53 +03:00
Yura Pakhuchiy
e2deb0dad4
ntfsmount: Fill .st_mode in readdir(). (Szaka, Yura)
2007-09-27 16:29:57 +03:00
Yura Pakhuchiy
a92649480c
Add man-page for libntfs
2007-09-26 22:41:28 +03:00
Yura Pakhuchiy
d54ad2d637
ntfsmount man page update
2007-09-26 18:19:08 +03:00
Yura Pakhuchiy
48e033623d
ntfsmount: Do not allow user mount devices he normally do not have rights to
2007-09-25 14:42:33 +03:00
Yura Pakhuchiy
f7068cf989
ntfscp docs update
2007-09-24 21:58:02 +03:00
Yura Pakhuchiy
45a641b408
ntfsmount: Fix recently introduced bug in attribute/inode close ordering in case if ntfs_fuse_open() failed.
2007-09-24 21:08:32 +03:00
Yura Pakhuchiy
ad8097aa55
ntfsmount: minor memory managment fix
2007-09-24 20:27:54 +03:00
Yura Pakhuchiy
a81520731c
Install mount.fuse.ntfs symlink (to match mount with subtype=ntfs option)
2007-09-23 00:50:45 +03:00
Yura Pakhuchiy
42f475f552
ntfsmount: Cache directory in which was performed last operation
2007-09-23 00:37:49 +03:00
Yura Pakhuchiy
4f7f0f654e
ntfsmount: Implement .fgetattr()
2007-09-21 17:58:07 +03:00
Yura Pakhuchiy
36af29fe72
ntfsmount: Implement .ftruncate()
2007-09-21 17:50:40 +03:00
Yura Pakhuchiy
3f8abbf2ca
ntfsmount: Implement .create()
2007-09-21 17:40:22 +03:00
Yura Pakhuchiy
d1a7006798
ntfsmount: Introduce macro NTFS_FUSE_GET_NA for receiving ntfs_attr* from fuse_file_info*
2007-09-21 15:51:50 +03:00
Yura Pakhuchiy
5151f826c4
ntfsmount: Save pointer to ntfs_attr in (fuse_file_info *)->fh and use it in ntfs_fuse_{read,write}
2007-09-20 15:46:31 +03:00
Yura Pakhuchiy
e5690b57d4
Allow mounting volumes with non-clean logfile with force mount option.
...
Volume left dirty upon umount. So, this is equal to running ntfsfix and then mounting with force option.
2007-09-16 00:15:46 +03:00
Yura Pakhuchiy
37476cf609
Introduce NTFS_MNT_FORCE instead of third parameter of utils_mount_volume
2007-09-15 18:12:32 +03:00
Yura Pakhuchiy
57cc7904c9
cleanups (Szaka)
2007-09-15 17:31:39 +03:00
Yura Pakhuchiy
942519d093
ntfsmount: Add bmap support. (Szaka, Yura)
2007-09-14 18:53:46 +03:00
Yura Pakhuchiy
e248e6b986
Make libntfs keep track number of free clusters and MFT records.
...
Thanks for idea to David Fox and Szabolcs Szakacsits.
2007-09-14 12:59:55 +03:00
Yura Pakhuchiy
398755a75e
ntfsmount: Implement {no,}relatime (relative atime) options.
...
According to http://userweb.kernel.org/~akpm/mount-relative-atime.txt
Only several lines with new time handling ;-)
2007-09-13 20:42:00 +03:00
Yura Pakhuchiy
5d05d42d05
properly fix st_blocks calculation
2007-09-12 17:52:21 +03:00
Yura Pakhuchiy
31a39d2a37
Fix memory corruption in case option parsing failed.
2007-09-12 16:43:27 +03:00
Yura Pakhuchiy
3504cc8796
Handle atime option
2007-09-12 16:15:54 +03:00
Yura Pakhuchiy
ba89f9ebf4
More sane set-uid-root handling
2007-09-12 15:55:37 +03:00
Yura Pakhuchiy
28226c183b
Mount block devices with blkdev mount option
2007-09-11 19:46:20 +03:00
Yura Pakhuchiy
a9a1f28cf5
Fix previous fix to filler :)
2007-09-11 16:46:29 +03:00
Yura Pakhuchiy
cc166f9f42
ntfs_readdir, ntfs_fuse_filler: return with error if FUSE filler failed. (Szaka)
2007-09-10 21:21:39 +03:00
Yura Pakhuchiy
b392bd17c8
ntfsmount: Submit inode number during readdir
...
Some broken programs rely on that filesystem will submit inode number during
readdir() (what is optional). Make them happy since it is really not a problem.
(Ted Anderson, Szaka)
2007-09-07 15:39:30 +03:00
Yura Pakhuchiy
ec2afb736c
Fix cache handling in utils_attr_get_name. (Thanks to Bogdan for finding this bug)
2007-09-07 15:31:33 +03:00
Yura Pakhuchiy
82df6c1fea
Rework time updates
...
- Library no longer perform time updates, only provide API for this
- Remove ntfs_inode_update_{a,}time() and introduce ntfs_inode_update_times()
- Make ntfsmount properly update times
- ntfs_delete() now takes pointer to pointer to ntfs_inode for while to delete and closes inode only in cases no more hard links left to file
2007-09-06 18:34:38 +03:00
Yura Pakhuchiy
58ab68b024
ntfsmount: remove some traces of legacy code
2007-09-06 13:51:48 +03:00
Yura Pakhuchiy
95b044cff3
Small enchantments and cleanups from ntfs-3g
2007-09-03 19:51:13 +03:00
Yura Pakhuchiy
65a81e3563
ntfsclone do bad things about endians, so revert it to original state and put mark on it to not perform sparse bitwise checks
2007-08-23 17:58:52 +03:00
Yura Pakhuchiy
6df32ed1ab
ntfsinfo: Dump content of LOGGED_UTILITY_STREAM in hex in verbose mode
2007-08-22 19:30:12 +03:00
Yura Pakhuchiy
4b58df6817
New API: ntfs_attr_get_name
...
Add new API ntfs_attr_get_name - returns pointer to unicode name of attribute.
TODO: I believe we have several such local helpers in ntfsprogs and libntfs.
Find and replace them with this one.
2007-08-22 19:28:44 +03:00
Yura Pakhuchiy
ad0c5f59c9
Transparently integrate reading of encrypted files into library
...
This adds crypto.[ch], several exported functions that you are not interested
to use and dependency on >=libconfig-1.0.1 to read list of PFX files with keys.
See libntfs/config for example configuration file.
2007-08-22 16:55:57 +03:00
Yura Pakhuchiy
efe2c9642c
minor cleanup
2007-08-16 13:52:18 +03:00
Yura Pakhuchiy
ea4d352f7e
Fix sparse warnings from git HEAD version
2007-07-21 22:01:57 +03:00
Yura Pakhuchiy
8981594cf0
ntfsdecrypt: Fix sparse warnings.
2007-06-30 20:19:25 +03:00
Yura Pakhuchiy
d059090386
info: nice LCN dumping
2007-06-08 13:48:28 +03:00
Yura Pakhuchiy
0d264b7d25
Introduce sparse endian annotations. Adopt library (also fix 2 real bugs) and progs (lots of bugs).
2007-06-08 13:47:57 +03:00
Yura Pakhuchiy
e6620be16d
Do not create holes in ntfs_attr_pwrite that will be instantiated right after creation
...
* Add new API: __ntfs_attr_truncate that allow user to select whether holes should be created or clusters allocated
* Update ntfs_attr_pwrite and ntfscp to use it.
2007-06-08 13:35:47 +03:00
Yura Pakhuchiy
52d034e5f3
ntfsmount: fix errno in truncate() operation
2007-06-08 13:34:16 +03:00
aia21
62d49cb175
Minor updates for OSX compatibility, i.e. glibtoolize not libtoolize, and
...
automake 1.10 fix, etc.
2007-03-19 14:39:44 +00:00
yura
2c7fd02349
ntfsmount: use utimens() instead of deprecated utime().
2007-03-13 18:52:02 +00:00
yura
01dad951c2
minor cleanups
2007-03-13 18:39:47 +00:00
aia21
3575e2089e
- mkntfs: Use Vista $Boot rather than XP one. (Anton)
2007-03-06 15:44:30 +00:00
yura
857573a2e4
minor style fix and changelog description
2007-01-07 19:19:53 +00:00
uvman
dcc13dca8b
ni->allocated_size for resident files is rounded up to multiples of 8. A '>> 9' on such value may round up or down. Fix it to always round up. Samba 3 use st_blocks to detect if a file is sparse. ActiveSync 4 fails on sparse files.
2007-01-07 19:08:22 +00:00
yura
197a4cc756
- upgrade to new shiny fuse option parsing API instead of my old hackish one (more readable and -4kb code)
...
- remove show_sys_files and add case_insensitive options
2007-01-03 18:27:10 +00:00
aia21
f6adc3fc78
- mkntfs: Create more Vista like volumes. We now match the security
...
descriptor attributes (but not yet the security descriptors stored in
$Secure). (Anton)
- libntfs: Rewrite ntfs_upcase_table_build() to generate a Vista
compatible upcase table ($UpCase). (Anton)
- mkntfs: Remove own generation of upcase table, i.e. delete
ntfsprogs/upcase.[ch] and use ntfs_upcase_table_build() supplied by
libntfs. (Anton)
2006-12-19 16:31:52 +00:00
yura
bedd6f4a13
add some debug output useful on freebsd for aligned access testing
2006-12-18 13:32:58 +00:00
aia21
0911eb8b0d
Make volumes created with mkntfs more compliant with Vista (still not finished).
2006-12-15 14:52:43 +00:00
aia21
5f3079c2bb
Fix ntfstruncate build breakage.
2006-12-13 10:51:32 +00:00
aia21
19257df7f0
Update version to 2.0.0, update NEWS, update mkntfs man page and mkntfs itself.
...
- mkntfs: As announced, remove the deprecated support for creation of
NTFS 1.2/3.0 volumes. We now create NTFS 3.1 volumes only. (Anton)
- mkntfs: Remove lots of unused/unneeded debugging code. (Anton)
2006-12-13 10:46:49 +00:00
aia21
78c46fd3c3
- Do not create object id attribute on NTFS 1.2 volumes.
...
- Create object id attribute after volume flags attribute.
2006-12-13 09:17:14 +00:00
aia21
1a4fb3431c
- mkntfs: Generate a random DCE compliant UUID for the created volume
...
and include --with-uuid[=PFX] and --without-uuid options. (Anton)
- configure.ac: Set language to C. (Anton)
- mkntfs: Always set default cluster size to 4096 bytes regardless of
volume size. This is what Windows Vista does and it makes perfect
sense from a performance point of view. (Anton)
2006-12-13 00:11:50 +00:00
yura
10b22550cd
more sparse fixes
...
left only endianness and this stupid problems with s64
2006-12-12 19:00:00 +00:00
yura
2e44b6ca7c
fix some sparse warnings
...
btw, it looks like sparse loses it head when it see something like:
void foo(s64 *bar)
{
...
}
...
{
s64 baz;
foo(&baz);
...
}
2006-12-12 15:44:52 +00:00
yura
7b60afcc2f
fix sparse errors. and first steps towards endianness checking
2006-12-12 15:02:25 +00:00
aia21
a38ead2f20
Szaka prefers to have the lofgile reset and dirty bit setting done even if they
...
are already done so remove the conditionals I added.
2006-12-11 10:41:34 +00:00
yura
c616e29663
ntfsck by Yuval to extra dist with minor changes from me
2006-12-11 03:06:35 +00:00
aia21
8640540b53
Warn about VOLUME_MOUNTED_ON_NT4 wrt Vista in layout.h and do not set the flag
...
in ntfsfix.
2006-12-09 11:27:37 +00:00
yura
82747f3c47
ntfsmount: fix rename if destination already exists.
2006-12-06 19:51:59 +00:00
yura
c475778b47
Turn ntfs_pathname_to_inode() into ntfs_pathname_to_inode_num() which
...
returns ntfs inode number instead of opened inode itself.
Reimplement ntfs_pathname_to_inode() as wrapper to new API.
2006-12-06 18:50:13 +00:00
szaka
3cd5cb9c8a
Don't check free space if output file is FIFO (Andree Leidenfrost)
2006-12-03 18:26:58 +00:00
yura
33ffbb2af7
rename --enable-fuse-module to more clear --enable-ntfsmount and cleanup autotools scripts a bit
2006-12-03 14:19:29 +00:00
aia21
0089670e1c
Use NTFS_MNT_FORENSIC with ntfsresize to restore old behaviour as it is
...
documented, i.e. that ntfsresize does not do any modifciations until you say
so. Also reinstate code to do the journal emptying and setting of dirty flag
on the volume because of it. However update the code so that those things are
only done if they were not already the case.
2006-12-03 08:59:57 +00:00
aia21
f40bef7246
Disable unmounting at the point of no return when we start doing serious
...
modifications to the volume. Hopefully Szaka will be happy now. (-:
2006-11-28 13:45:42 +00:00
aia21
a32aa26d0b
- Fix ntfsresize to unmount the volume when finished/exiting so it does
...
not leave the volume in an inconsistent state. Somewhat crude
solution using atexit() but it works... (Anton)
2006-11-28 11:00:52 +00:00
aia21
5302d23f7b
- Empty the journal at mount time. (Anton)
...
- Set the volume dirty bit at mount time (if it is not set already and
clear it again at umount time but only if it was not set to start
with. (Anton)
2006-11-28 10:09:56 +00:00
yura
fbfbe3b48e
force distro developers to fix their broken init scripts
2006-11-25 21:44:35 +00:00
yura
3cd59df400
bit more nice error messages
2006-11-25 18:38:47 +00:00
yura
8df298aec2
Introduce MNT_NTFS_NOT_EXCLUSIVE mount option that tells libntfs do
...
not open volume exclusively. Useful if libntfs user cares about this
himself, eg. FUSE with blkdev option.
2006-11-25 17:37:37 +00:00
yura
4b7868ddc2
ntfsmount: Umount volume in DESTROY. This is guarantees that all data would be s
...
ynced before umount return for volumes mounted with blkdev option.
Thanks to Miklos for information about blkdev.
2006-11-25 14:57:54 +00:00
yura
18c8f75c7b
make ntfs_attr_rm to always close attribute (both on success and failure)
2006-11-22 18:28:13 +00:00
yura
05a034e423
fix st_blocks calculation
2006-11-21 16:24:37 +00:00
yura
4adc3817c6
ntfsmount: always accept {f,d,}mask in octal to be as mount command
2006-11-21 15:40:56 +00:00
yura
b538578ab7
Fix free clusters and MFT records calculation
2006-11-21 15:31:09 +00:00
yura
18dec0543d
add support for read errors in free disk space calculation (szaka)
2006-11-17 22:35:21 +00:00
yura
188cbd9a41
use optarg instead of argv[optind - 1]
2006-11-17 22:14:55 +00:00
yura
7d1016fe97
Treat filenames in POSIX namespace as case insensitive in case of case insensitive mounts.
2006-11-15 23:15:17 +00:00
yura
0ac08318a6
use nice error messages from ntfs-3g
2006-11-13 17:01:53 +00:00
yura
cb27c9f616
* Rename MS_{RDONLY,NOATIME} to NTFS_MNT_{RDONLY,NOATIME}.
...
2006-11-12 22:46:50 +00:00
yura
cb5f0a1e94
* fmask=0111 and dmask=0 by default
...
* bit more nice mount messages
2006-11-10 17:23:12 +00:00
yura
45e3b4acd0
upgrade to FUSE 2.6 API
2006-11-06 12:51:44 +00:00
yura
c65bacb25b
ntfsmount: require FUSE version >= 2.6.0 for build. Fixes fusermount
...
lookup problem and allows to drop compatibility code.
2006-11-05 21:40:57 +00:00
yura
116a467dc0
* fix ntfsmount build
...
2006-11-05 14:42:46 +00:00
uvman
7d585a0327
Change callers of malloc() to ntfs_malloc() (Szaka). Fix compilition (Yuval).
2006-11-01 13:30:40 +00:00
yura
1b1a135bbd
one more endian bug in ntfsinfo
2006-10-30 23:23:40 +00:00
uvman
87d87073c7
The periodic 'int is not neccessarily 32bit' fixes.
2006-10-28 23:45:22 +00:00
uvman
15eb2c38a6
constify string argument.
2006-10-28 23:41:41 +00:00
yura
b1583bdce6
Fix several memleaks
2006-10-27 14:15:32 +00:00
uvman
ff55ecb513
Whitespace cleanup
2006-10-27 12:24:29 +00:00
uvman
bd1837335b
trace output updates. (Szaka, Yuval)
2006-10-26 20:45:28 +00:00
aia21
ff289408c5
fix for large sector sizes
2006-10-20 19:55:50 +00:00
uvman
6efbbabba6
Spelling fix.
2006-10-18 14:43:04 +00:00
uvman
acb04c0435
Remove unneeded padding. The compiler will pad if it wan't to.
2006-10-18 14:41:41 +00:00
uvman
b7b4c98633
Hil: Allow ntfscp to create the destination file if it does not already exists by calling ntfs_create().
2006-10-04 00:47:04 +00:00
uvman
a117a21941
Comment documentation fixes.
2006-09-25 16:58:38 +00:00
aia21
2afc70711a
Forgot to not apply endianness swapping for old style images when restoring...
2006-08-23 13:21:04 +00:00
aia21
35dcfaac9e
Fix endianness problems in both image restore and image create (and in metadata
...
cloning as well). (Anton)
2006-08-23 11:58:55 +00:00
aia21
cb35fe2fea
Make ntfsclone image format extensible. (Anton)
2006-08-23 11:22:07 +00:00
aia21
5128685d88
- ntfsclone: Define endianness safe image format. (Anton)
...
- ntfsclone: Redefine image format version number to be the image
format version and not the NTFS version of the imaged volume which is
totally useless. (Anton)
2006-08-23 10:18:34 +00:00
aia21
280c74470f
Print both decimal and hexadecimal in ntfsinfo.
...
(This follows several patches where we kept switching things from decimal
to hex to decimal because different people apparently use different number
systems in their heads. I am on the hex front myself so I added hex output
which was taken out recently by Szaka so he probably is on the dec front...
In any case having both should make us all happy...)
2006-08-16 09:24:19 +00:00
aia21
a36323bc62
Make ntfsinfo more resilient to corrupt metadata. Otherwise it can cause an
...
infinite loop...
2006-08-16 08:14:22 +00:00
yura
d15ed62ae4
a bit of cleanups
2006-08-14 03:52:56 +00:00
yura
5a36ead2f4
fix endianness in ntfsinfo preparation fix to index code
...
btw, Szaka, you really should consider installing some cross-compiler for BE systems and qemu to test your changes.
2006-08-14 03:52:09 +00:00
szaka
cccf6fd94d
Dump all VCN's in the same numeral system
2006-08-13 19:09:22 +00:00
szaka
3664395e5f
ntfs_dump_flags(): dump FILE_ATTR_DIRECTORY
2006-08-13 19:02:30 +00:00
szaka
a89dce7b38
convert all malloc() to ntfs_malloc()
2006-08-13 18:59:56 +00:00
szaka
babfacfbd2
dump padding between the Update Sequence Array and the first attribute
2006-08-13 18:58:21 +00:00
szaka
551812d8bc
use MFT_RECORD *mrec during dumps
2006-08-13 18:57:37 +00:00
szaka
af055de0c4
fix missing bracket in the former patch
2006-08-13 18:56:25 +00:00
szaka
074b025366
ntfs_dump_index_entries(): cleanup subnode VCN calculation
2006-08-13 18:51:55 +00:00
szaka
2daa9f3c94
add ntfs_dump_bytes(); ntfs_dump_attr_list(): dump ATTR_LIST_ENTRY paddings
2006-08-13 18:48:31 +00:00
szaka
952926725d
ntfs_dump_attr_index_allocation(): dump number of entries per block too
2006-08-13 18:46:22 +00:00
szaka
3c06d7d9c5
ntfs_dump_attr_index_allocation(): don't return if an INDX is corrupt
2006-08-13 18:45:57 +00:00
szaka
0fce94937b
redirect stderr to /dev/null if --debug isn't used in debug mode
2006-08-13 18:44:46 +00:00
szaka
0573a8ff53
fix segfaults when SDS has absolute security descriptor
2006-08-13 18:43:12 +00:00
szaka
89ded2378c
make stdout line buffered
2006-08-13 18:41:13 +00:00
szaka
10e6070b18
fix output indenting
2006-08-13 18:40:35 +00:00
szaka
b51d98dd90
add ntfs_dump_index_block() and use it
2006-08-13 18:39:35 +00:00
szaka
a5bb7301ec
add ntfs_dump_index_header(); dump full ia INDEX_HEADER
2006-08-13 18:35:05 +00:00
szaka
beb044b036
rename 'Flags:' fields to be unique
2006-08-13 18:23:01 +00:00
szaka
c4a3f8b3e9
convert all malloc,calloc to ntfs_{malloc,calloc}
2006-08-13 16:06:57 +00:00
szaka
6ae2cece3c
fine grained AT_INDEX_ALLOCATION comparison
2006-08-13 15:50:12 +00:00
szaka
39b9061d8b
wipe_index_allocation_timestamps(): don't try to dump empty ia
2006-08-13 15:15:08 +00:00
szaka
5c0ce5407e
metadata cloning: write out extent records
2006-08-13 15:00:27 +00:00
szaka
58699ef91b
more detailed error messages
2006-08-13 14:52:19 +00:00
szaka
d727768a80
convert all malloc,calloc to ntfs_{malloc,calloc}
2006-08-13 14:49:35 +00:00
szaka
bd659977c2
don't create image files with executable bit set
2006-08-13 14:40:28 +00:00
szaka
0dae4a9c77
fix missing error outputs
2006-08-13 14:34:07 +00:00
szaka
c41b7a65a1
upgrade_to_large_index(): fix double freeing ctx in certain error situation
2006-08-13 14:17:02 +00:00
szaka
64a319948b
convert all malloc,calloc to ntfs_{malloc,calloc}
2006-08-13 13:46:40 +00:00
szaka
600b5d4fa6
fix mkntfs_get_page_size() declaration
2006-08-13 13:38:38 +00:00
yura
b86f4a41c1
introduce ntfs_[cm]alloc
2006-08-02 03:11:12 +00:00
yura
28a2b1f2b0
prepare to Szaka's code merge: remove not working Rich's index code
2006-07-17 11:49:52 +00:00
yura
5369c19613
support missing owner and group in sd
2006-07-13 02:35:32 +00:00
yura
dde61e1091
ntfsinfo: cosmetic fix in SDS dumping
2006-07-01 11:14:08 +00:00
szaka
f61d45b970
fix 64 bit destination size calculation on Mac OS X
2006-06-15 18:43:24 +00:00
aia21
c0f991b525
- Fix STUPID vcn printing bug in ntfsinfo that waster over 18 hours of my life
...
trying to debug the ntfs driver when it was ntfsinfo that was wrong. )))-:
- Switch vcn output in index listings to show the vcn in hex not decimal.
- Show index block flags for each index block.
2006-05-20 21:27:15 +00:00
aia21
14659dfc20
Fix ntfsmount compilation.
2006-05-19 04:22:53 +00:00
uvman
02194004ab
mkntfs.c refactoring and compile fix for Cygwin
2006-05-16 12:12:45 +00:00
cha0smaster
d0cd21d4e3
vimspell rules
2006-05-15 21:35:38 +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
4f13e396a4
ntfs_dump_attr_standard_information(): don't dump some fields multiply times
2006-04-23 11:01:07 +00:00
szaka
63b431150e
Dump USA, USN and LSN for index records
2006-04-23 10:06:39 +00:00
antona
5cd2da96ac
Fix compile warnings that have sneaked in.
2006-04-19 22:03:58 +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
00348fc7f5
Warn about bad sectors if pure disk I/O fails with EIO. This is regularly
...
reported with faulty disks.
2006-04-18 22:03:09 +00:00
szaka
03946d896e
Print more info on relocations in verbose mode
2006-04-18 21:37:24 +00:00
szaka
0213e2e596
Build and install ntfscmp by default
2006-04-11 22:47:22 +00:00
szaka
52178a0fac
Fix typos
2006-04-11 22:46:09 +00:00
szaka
ec3e7d60cd
Update ntfsprogs manual
2006-04-11 22:14:38 +00:00
szaka
adb27b68cc
Add ntfscmp manual
2006-04-11 21:50:39 +00:00
szaka
c7a53338c0
Fix all incorrect getopt_long() return value usages.
2006-04-05 12:43:06 +00:00
szaka
15e00fcf6c
Fix bogus reference to ntfsundelete
2006-04-05 02:59:12 +00:00
szaka
45bccaf546
Implement special $BadClus:$Bad handling
2006-04-05 02:56:52 +00:00
szaka
6873bab2f1
Compare the full attribute headers for non-resident attributes
2006-04-05 02:55:43 +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
6772bb4649
Fix ntfsclone idempotency
2006-04-05 02:50:44 +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
8bbdf4f8c4
Quota attributum instantiation order change for better FORMAT conformance
2006-04-05 02:48:02 +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
ce894973ed
Cleanup has_bad_sectors() for code reuse; update copyrights
2006-03-30 00:15:32 +00:00
szaka
0887a0e261
Update a few copyrights
2006-03-29 22:54:22 +00:00
antona
7b5472724f
fix an ommission in Szaka's cleanup.
2006-03-29 22:44:17 +00:00
szaka
3ffb67ef0f
Move $ObjId/$O data dumping to its logical place, from ntfs_dump_index_key()
...
to ntfs_dump_index_data()
2006-03-29 22:35:54 +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
8bf1dc2232
Update my copyright for the files changed in the last commits.
2006-03-27 22:49:50 +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
a8e6766e43
make get_index_root() slightly sexier
2006-03-27 20:50:51 +00:00
szaka
de46da8ade
cleanup get_index_root() named attribute usage
2006-03-27 20:27:38 +00:00
szaka
65c67d5f84
Use more meaningful error messages
2006-03-27 20:14:22 +00:00
szaka
8d11cc8061
cleanup: use ntfs_attr_readall()
2006-03-27 20:10:39 +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
b7aee150a4
ntfs_attr_readall(): fix ntfs_attr leaks in error cases
2006-03-27 19:33:20 +00:00
szaka
d511f34dce
fix attr->name_length endianess conversions: name_length is u8, not u16
2006-03-26 18:14:33 +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
6b05529c37
Show all cluster accounting mismatches when --verbose used
2006-03-13 20:41:02 +00:00
szaka
8bcd0c2fe8
Remove confusing inode enumeration messages: it just hides the valuable
...
info and can be get by using --verbose
2006-03-13 20:34:41 +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
0fccdd6be5
update ntfsmount man page
2006-02-20 17:11:24 +00:00
cha0smaster
a0d011018b
ntfsmount: add no_detach option
2006-02-20 00:32:01 +00:00
szaka
d533c39e36
Compare attribute headers as well. This nicely shows now that compression
...
and allocation sizes aren't set correctly for sparse files in libntfs.
2006-02-19 12:50:54 +00:00
szaka
eff628922a
Add a section about windows cloning
2006-02-18 20:36:33 +00:00
cha0smaster
32420ad699
implement POC of syslog logging handler, make ntfsmount to use it
2006-02-13 01:23:31 +00:00
szaka
e6a7600508
Restructure "Filesystem check failed!" message and have a more explanatory
...
one in the ERROR line because several front-ends show only this line, nothing
else, which greatly confused many users what's going on and what to do next.
2006-02-12 22:09:58 +00:00
szaka
67f0045637
Update obsolete description
2006-02-12 02:00:45 +00:00
szaka
45b78af9b2
Update credit
2006-02-12 01:30:34 +00:00
szaka
c87059fa77
Fix $BadClust:$Bad AT_ATTRIBUTE_LIST detection which bug was introduced
...
recently only in the CVS version of ntfsresize; add also more info about
bad sectors.
2006-02-11 19:55:05 +00:00
szaka
31cc1d2f45
Wiped timestamp data stats were off by 5% in general
2006-02-06 22:17:24 +00:00
szaka
43b4d8a4e1
--metadata sets timestamps to the Epoch time as mkntfs does with -T. This
...
increases the compressed image sizes by only 0.3-0.8% but ntfsclone creates
now the exact same metadata images as mkntfs, which fact can be used for QA.
2006-02-06 20:51:17 +00:00
szaka
f599394450
Shorten 'ntfsprogs version @VERSION@' to only 'ntfsprogs @VERSION@' in the
...
headers so it won't overwrite/overlap so easily with the update time in the
center if the @VERSION@ is too long (e.g. <VERSION>-WIP-<DATE>-<TIME>)
2006-02-06 01:05:01 +00:00
szaka
1e05dd5d9a
Note tar brokenness, update examples
2006-02-06 00:48:23 +00:00
szaka
fae8feea65
Explain dirty volume
2006-02-05 22:10:01 +00:00
szaka
16b8bc1fd4
Write MFT records with the same USN during metadata cloning. This eases
...
ntfsclone self-regression, which itself is going to validate other codes
2006-02-05 19:35:20 +00:00
szaka
31fac08864
Dump MFT Record Header fields which weren't yet
2006-02-05 18:56:04 +00:00
szaka
fefc3e5195
ntfsresize, ntfsclone: always use MS_NOATIME
2006-02-05 16:39:35 +00:00
szaka
c0e5461995
Credit Erik Sornes for implementing NTFS 3.x version support for mkntfs
2006-02-04 23:21:48 +00:00
szaka
a8a29084b5
Remove old, redundant g_mft_size calculation
2006-02-04 19:53:22 +00:00
szaka
9d51139377
Fix typo
2006-02-04 13:39:19 +00:00
szaka
c47236819d
Explain EBUSY if volume opening failed
2006-02-04 13:34:37 +00:00
antona
ca37cdb7f8
Don't do it at the end and do it as we go along instead as I am already doing
...
in the kernel driver.
2006-02-04 06:11:28 +00:00
antona
cd948e75c0
Fix upcase table to be little endian. With this bug fixed the volumes produced
...
by mkntfs on little and big endian machines are identical (except for the
volume serial number - probably ought to standardize that when using the -T
switch).
2006-02-04 06:06:04 +00:00
antona
952d221711
Tons of bug fixes to mkntfs.
2006-02-04 05:42:59 +00:00
antona
584ca613ef
Fix a Linux warning after a fix for OSX.
2006-02-03 23:52:55 +00:00
antona
4d64cb21e7
Fixes for OSX.
2006-02-03 23:40:39 +00:00
antona
3dc68c0602
Fix a warning.
2006-02-03 23:25:24 +00:00
antona
135282539b
Fixes to previous commit.
2006-02-03 23:11:35 +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
szaka
e57cc4521a
Add CHKDSK_UNDERWAY to ntfsinfo
2006-02-03 18:44:13 +00:00
antona
e236c14c4a
Prepare for next release.
2006-02-02 14:40:53 +00:00
cha0smaster
ad13b78697
ntfsmount: fix 25 API compatibility
2006-02-01 23:55:07 +00:00
cha0smaster
c11567824a
ntfsmount: fix ls output in case some files can not be accessed due to windows named data streams accees interface
2006-02-01 18:24:58 +00:00
cha0smaster
63f5ddb8c2
ntfsmount:
...
Support FUSE versions from 2.3.0 to 2.5.1 under Linux and 2.5.X under FreeBSD.
Warning tested only under FUSE-2.4.1. Will test under FUSE-2.5.1 at home.
2006-02-01 17:37:34 +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
0130863e72
Improved dumping SDS entries: stop at bogus values instead of crashing and
...
don't stop at empty entries
2006-01-29 01:24:24 +00:00
cha0smaster
8410f3b00b
minor change
2006-01-25 23:36:09 +00:00
cha0smaster
c66e272987
update about direct_io
2006-01-24 16:57:47 +00:00
szaka
6616612ea6
Set the size of the $SECURITY_DESCRIPTOR of the root directory appropriately
...
and as 'format' also does (the extra space was unused garbage)
2006-01-15 12:55:04 +00:00
szaka
53883b3fde
Fix off-by-one in ACL dumping, one ACE was missed
2006-01-14 00:54:51 +00:00
szaka
6f05bf0407
Refer by the sort URL to the manual pages
2006-01-08 21:01:23 +00:00
szaka
35aa4a725b
Fix URL to the manual pages on the web
2006-01-08 20:57:00 +00:00
szaka
a88f330d2b
Fix some typos
2006-01-08 15:12:19 +00:00
szaka
dc22f3e142
Adjust $LogFile size for 3.1 volumes which got much bigger (the small
...
$LogFile became a performance bootleneck for the increasingly faster disks)
2006-01-08 14:54:55 +00:00
szaka
6b36031ff4
More manual reverts, updates
2006-01-07 22:21:25 +00:00
szaka
68290078e1
Revert to the unambiguous update dates for all manual pages
2006-01-07 18:41:38 +00:00
szaka
67c087d77f
Version 3.0 isn't supported (wasn't checked)
2006-01-07 15:30:19 +00:00
szaka
98c16f8ae0
Change the NTFS version short option from the cryptic -w to -N
2006-01-07 09:29:29 +00:00
szaka
283db0a99e
Don't create SDS entries which aren't needed
2006-01-07 08:31:09 +00:00
szaka
a79dc381b7
ntfsinfo: dump $Secure:$SDS in verbose mode
2006-01-07 08:20:33 +00:00
szaka
d003694463
Fix more formatting broken by somebody's "cleanup"
2006-01-07 06:26:43 +00:00
cha0smaster
eba747ac93
* Add NTFS_DEV_LIST define. Use it everywhere instead of linux-ntfs-dev@lists.sf.net.
...
* Replace all ntfs_log_trace where we ask to send mail to us with ntfs_log_error
2005-12-18 16:27:20 +00:00
szaka
58e93f46e0
Restore more formatting, etc issues broken by white space, etc cleanups
2005-12-07 21:52:46 +00:00
szaka
ca689776fa
Fix --info option description which got broken by a white space cleanup
2005-12-07 21:04:37 +00:00
cha0smaster
de23d9f540
determine to where pass kernel_cache option without #if's
2005-12-03 16:40:20 +00:00
cha0smaster
e47ed2e413
more warning fixes
2005-12-02 17:09:41 +00:00
cha0smaster
96e6c64860
fix error message
2005-12-01 20:46:03 +00:00
cha0smaster
01787c8c54
update site
2005-12-01 20:44:18 +00:00
cha0smaster
d4872f5045
ntfsmount: Mount point is optional parameter
2005-12-01 13:15:49 +00:00
cha0smaster
77fb717ef3
Fix warnings on FreeBSD
2005-11-30 16:58:03 +00:00
cha0smaster
3001c88d64
Easier FreeBSD support, allow FUSE >= 2.3 for FreeBSD
2005-11-30 16:54:11 +00:00
cha0smaster
bb864c9f98
update
2005-11-29 18:03:28 +00:00
cha0smaster
172a8bbe4f
oops, should do FUSE_USE_VERSION magic before including <fuse.h>
2005-11-29 18:00:06 +00:00
cha0smaster
c705170a5f
ntfsmount: Add FreeBSD support.
2005-11-29 17:57:53 +00:00
cha0smaster
8298b35bc8
use ntfstime.h instead of time.h
2005-11-27 16:50:45 +00:00
cha0smaster
8afff2c7e2
minor fix to usage output
2005-11-27 15:26:39 +00:00
cha0smaster
1a6c6417d9
improve readability
2005-11-27 15:26:02 +00:00
szaka
22ff6e8c41
remove old, unused logging macros
2005-11-27 12:35:29 +00:00
szaka
c940df9079
remove usage of old logging macros
2005-11-27 12:31:39 +00:00
szaka
f827828d5c
All errors go to stdout either directly or by redirection from stderr
2005-11-27 11:51:10 +00:00
szaka
93fabaf0c4
Removed usage of the old logging macros
2005-11-27 11:38:06 +00:00
flatcap
71c5c068b5
use the new logging
...
add a few function comments (to help folding)
2005-11-26 23:53:22 +00:00
szaka
f1a50e9bd8
Removed old logging macro usage
2005-11-26 17:58:17 +00:00
szaka
7e9f1270e2
clean up
2005-11-26 01:46:20 +00:00
cha0smaster
25c31eb40b
ntfsmount: add static inline to mark free space outdated (Thanks Szaka)
2005-11-25 14:31:29 +00:00
cha0smaster
e0787d0983
ntfsmount: Mark information about free MFT records and clusters outdate after write operations everywhere.
2005-11-24 15:06:11 +00:00
flatcap
493b3a6bcd
minor corrections
2005-11-22 01:14:36 +00:00
flatcap
c7c229bd15
more minor manual mending
2005-11-22 00:17:23 +00:00
flatcap
af6f7606e4
tidy evil roff usage
...
add/document missing options
add missing authors
standardise program usage()
standardise options look
update download and contact details
2005-11-21 21:25:14 +00:00
flatcap
abf0cfba5d
use new logging
2005-11-20 14:15:33 +00:00
flatcap
14821aa976
remove my temporaray code/comments
2005-11-20 11:21:54 +00:00
szaka
d7f102b670
fix typo
2005-11-20 00:18:09 +00:00
szaka
927cd331d8
Create files with sequence numbers starting from 1 in $Extend (part 2)
2005-11-20 00:06:11 +00:00
flatcap
68a9bdd3a2
every function returns
2005-11-19 16:54:28 +00:00
flatcap
03fa945ee0
banish the e-word
2005-11-19 16:44:36 +00:00
flatcap
80a2ddee09
moved ioctl to device.c
...
remove g_volume_size (unnecessary)
Reworked mkntfs_override_phys_params:
Split up complicated error expressions
Made error messages more legible
Demoted some errors to warnings
Factored out the "Windows won't boot" message
2005-11-19 14:56:24 +00:00
szaka
e90fdddc08
- added INDEX_ATTR_DIRECTORY_I30 timestamps dumping
...
- ntfs_dump_index_entries(): reformatted switch to fit the used code style
- ntfs_dump_index_entries(): removed redundant opts.verbose check
- whitespace cleanup
2005-11-18 00:29:36 +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
szaka
d311052205
Create files with sequence numbers starting from 1 in $Extend
2005-11-18 00:14:05 +00:00
szaka
e4cb2b5a4e
- switched all calloc() calls to ntfs_calloc()
...
- fixed all missing ntfs_calloc() error checking
2005-11-16 22:07:48 +00:00
szaka
1e14b996c0
- fixed -T/--zero-time for 3.x volumes
...
- reordered initialization of $Quota indexes
- added ntfs_calloc()
- fixed all missing memory allocation error handlings in initialize_quota()
2005-11-16 21:36:20 +00:00
cha0smaster
f7b087b07d
it seems that atime updates in fuse a broken, handle them ourselves
2005-11-16 17:09:12 +00:00
flatcap
418da4bd4b
it came from space (and ate my brackets)
2005-11-16 02:58:49 +00:00
flatcap
354c6442a9
a handful more of subjective cleanups
2005-11-16 02:55:16 +00:00
szaka
1b856b5451
Dump $Secure $SDH and $SII, $Quota $O and $R index attribute data;
...
Fix printf field width specifiers
2005-11-16 00:13:10 +00:00
cha0smaster
5266967632
ntfsmount: pass MS_NOATIME flag to ntfs_mount, let VFS care about access time.
2005-11-15 16:41:39 +00:00
flatcap
56c8393be0
fix memleak in create_hardlink_res
...
transfer ownership of attrdef and vol_name to the volume
2005-11-15 16:24:23 +00:00
flatcap
fd63d57947
*ahem* zero isn't true
2005-11-15 14:48:10 +00:00
flatcap
03e481e349
tidy 8 variables whose scope was quite limited
2005-11-15 04:14:37 +00:00
szaka
025768668b
Pad QUOTA_O_INDEX_DATA with the magic 32 value.
2005-11-15 01:02:12 +00:00
cha0smaster
0e808deef1
* update ntfsmount to new logging, remove all #ifdef #DEBUG, add debug option
...
* ntfsmount: enable kernel_cache for fuse >= 2.4.0 by default
* ntfscp fix style in code introduced by Rich
2005-11-14 12:19:39 +00:00
szaka
f7f2bf570d
initialize_secure(): fix segfault when non-allocated objects were referenced
...
(thanks to ef)
2005-11-13 22:40:19 +00:00
szaka
2db620bda1
ntfsclone: check the available free space for --save-image too
2005-11-13 21:48:35 +00:00
szaka
7b6a5ef21d
Fix fs creation with 32 and 64 kB cluster size; also if only one cluster
...
contains all system files then fill the rest of it with empty, formatted
records as 'format' also does
2005-11-13 20:04:29 +00:00
szaka
3e459eb923
mkntfs: fix segfault when volume has more than 2^31 clusters
2005-11-13 02:38:17 +00:00
szaka
f480d3f8ad
Log also what actually fails, not only the reason
2005-11-12 20:52:38 +00:00
szaka
7b68432c72
Name consistently the same $SDS, $SDH and $SII fields
2005-11-12 15:35:51 +00:00
szaka
fc103ec4b0
output cosmetic change; explicit check for /$Extend/$ObjId in get_index_attr_type()
2005-11-12 12:59:20 +00:00
uvman
4137f63c7a
Report the MFT record flags properly in ntfsinfo.
2005-11-11 23:55:14 +00:00
uvman
0d651e54d3
Give a better name to MFT_RECORD_IS_8 and rename FILE_ATTR_DUP_* to match this meaning.
2005-11-11 23:35:56 +00:00
cha0smaster
3c2c988f96
That was ntfsmount bug with '.' and '..', no need for a workaround.
2005-11-10 21:26:41 +00:00
szaka
77a5597521
Restore correct V3.1 $AttrDef creation which got last by the recent command
...
line parsing rewrite. Thanks to ntfscmp for catching this! :)
2005-11-10 20:54:00 +00:00
szaka
c832d4b2e2
remove ObjectID creation and all related code: ObjectID's are created and
...
managed based on (mostly) DLT Service requests, format doesn't care about them
2005-11-10 20:24:07 +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
f45436a9df
send progress bar to the progress log (quietable by --quiet)
2005-11-10 05:28:33 +00:00
flatcap
247753251d
quiet, verbose, debug don't need to be options
...
num_clusters, index_block_size, attr_defs(_len) moved to volume
2005-11-10 05:13:57 +00:00
flatcap
1b55906132
-u now just means undelete
...
-i, --inodes takes a range of inodes to be recovered
remove interactive option (it wasn't implemented)
2005-11-10 03:20:47 +00:00
flatcap
6e9be81f55
-u now just means undelete
...
-i, --inodes takes a range of inodes to be recovered
tidy usage
remove interactive option (it wasn't implemented)
2005-11-10 03:20:27 +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
c1fb378985
VIEW_INDEX is also present in $STANDARD_INFORMATION
2005-11-07 22:28:46 +00:00
szaka
caa0bf5c4b
metadata cloning: wipe metadata timestamps too
2005-11-07 21:38:58 +00:00
szaka
da654b4207
shortened opt.metadata_only to opt.metadata
2005-11-07 21:13:31 +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
flatcap
23a84fe825
use ntfs_mbstoucs and ntfs_ucstombs (library) instead of stoucs and ucstos (local)
...
fix a few latent bugs where unicode string lengths were handled
2005-11-07 04:53:28 +00:00
flatcap
2a2ecd2abd
parse_options - make sure it always spots missing options
...
fix mem leak in upgrade_to_large_index
fix bug - srandom called before options parsed
start separating user-type things from lib-type things
(e-22)
2005-11-06 21:40:26 +00:00
flatcap
d605234a3a
document new options
2005-11-06 21:26:23 +00:00
uvman
a0665cf5bd
Add myself to the copyright list on ntfsinfo.c
2005-11-06 14:18:12 +00:00
flatcap
ef9d593949
replace the command line parsing
...
mkntfs now supports long options
(e-11)
2005-11-06 02:19:19 +00:00
cha0smaster
300f86ac21
* layout.h: update about special INTX files.
...
* ntfsmount: implement readlink() and add support of symlinks, charcter and block devices to stat().
2005-11-05 22:54:43 +00:00
flatcap
de5de5a9c3
global variables don't belong in opts
...
highlight the global nature of the variables in their name
2005-11-05 06:11:42 +00:00
flatcap
559d3c54e4
more tidying
2005-11-05 05:03:05 +00:00
flatcap
0efe6a43f1
use new logging (not completely finished)
...
much code tidying
2005-11-05 01:41:39 +00:00
szaka
5660554d88
Set the the same $STANDARD_INFORMATION flags as format for NTFS 3.1 does
2005-11-03 21:56:52 +00:00
szaka
44b2d2333c
Dump $Quota:$O key SID according to the standard textual representation
2005-11-03 01:43:27 +00:00
szaka
e71ca132c5
Create files in $Extend in the same order as 'format' does. This shouldn't
...
actually matter but it makes ntfscmp happier and helps great deal to catch
easily incorrectly created volumes.
2005-11-02 23:14:39 +00:00
szaka
c4d66f6c8b
Don't create 'System Volume Information'. This is never created by format,
...
it's either a side-effect of Distributed Link Tracking Client Service,
System Recovery Service, Index Service, WinFS, etc.
2005-11-02 21:03:29 +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
flatcap
b2606af8ab
a few typos
2005-11-02 18:06:48 +00:00
flatcap
83b9eddfc9
provide some meaningful function descriptions
2005-11-02 17:34:08 +00:00
szaka
8cfde9cdfd
Fix $Quota::$O key sub authority dumping; dump authorities in hexa
2005-11-01 23:14:34 +00:00
szaka
c10f046225
simplified ntfs_generate_guid()
2005-11-01 21:09:52 +00:00
szaka
987f33e5df
ntfs_ prefix generate_guid()
2005-11-01 20:24:37 +00:00
szaka
b82289f526
fix casting to quota's owner_id
2005-11-01 20:19:32 +00:00
szaka
80923d64dd
Fix type of reserved_II in SDH_INDEX_DATA; resolve some magic constants
2005-11-01 19:56:08 +00:00
szaka
9f4b2b4a2c
Fix NTFS version 3.x index entries creation. Everybody is MUCH happier now!
...
Erik got this right in his patch, it got non-functional due to libntfs changes.
2005-11-01 00:12:08 +00:00
szaka
c47717581a
dump index attribute keys
2005-10-30 23:31:44 +00:00