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