Commit Graph

4885 Commits (9893ea9ee668c951170a53e50969f1aeabec496c)
 

Author SHA1 Message Date
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
szaka 3ed207e09b update to version 0.20070102-BETA 2007-01-01 20:24:11 +00:00
szaka f29c52f92d Point FreeBSD users to http://www.freshports.org/sysutils/fusefs-ntfs 2007-01-01 20:21:54 +00:00
szaka 01622020fc print some help if device is fakeraid 2007-01-01 19:32:07 +00:00
szaka 6ef4ffde9b ntfs_cluster_alloc(): scatter new and concurrent writes 2007-01-01 17:59:01 +00:00
szaka a461c127d9 ntfs_cluster_alloc(): factor out codes related to positioning in zones 2007-01-01 17:35:58 +00:00
szaka e85c1e47fd ntfs_cluster_alloc(): log errors 2007-01-01 17:17:39 +00:00
szaka 31d7b6875f ntfs_cluster_alloc(): use 512 bytes NTFS_LCNALLOC_BSIZE instead of 8kB 2007-01-01 17:12:04 +00:00
szaka 0a918f567f fix: invalid argument error when writing randomly into sparse files 2007-01-01 17:02:27 +00:00
szaka f8f161ebb0 autogen.sh doesn't require bash, sh is enough 2007-01-01 16:55:48 +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 452b99f01b oops, committed temporary thing by accident
hope this will work for everyone
2006-12-18 13:39:23 +00:00
yura bedd6f4a13 add some debug output useful on freebsd for aligned access testing 2006-12-18 13:32:58 +00:00
szaka 55c0d3a3fa update to version 0.20061218-BETA 2006-12-17 19:56:14 +00:00
szaka 41d37771a2 fix: inode number wasn't filled in dirent structures (Ted Anderson, Szaka) 2006-12-17 19:48:34 +00:00
szaka be2dbbf92d ntfs_rl_pwrite: don't check buffer for sparse runs 2006-12-17 02:18:55 +00:00
szaka 13da6e3415 ntfs_attr_fill_hole: fix occasional high memory usage 2006-12-17 02:10:12 +00:00
szaka d9c2791bbd ntfs_attr_fill_hole(): factor out ntfs_attr_fill_zero() 2006-12-17 01:48:25 +00:00
yura 3c668b7d03 - O_EXCL already handled by MNT_NOT_EXCLUSIVE at more early stage
- fix comments
2006-12-15 17:00:02 +00:00
aia21 1fa522a0a1 - libntfs: Add support for FreeBSD 5.0+ sector aligned access
requirements.  (Max Khon)

With some modifications from me...
2006-12-15 15:21:27 +00:00
aia21 0911eb8b0d Make volumes created with mkntfs more compliant with Vista (still not finished). 2006-12-15 14:52:43 +00:00
szaka 4ae052cf3c fix: fuse 2.6.x kernel module detection wasn't reliable 2006-12-15 00:21:32 +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
szaka d0a2e7d3a2 ntfs_read/ntfs_write: use pread/pwrite => 2-8% speed increase (Henk, Szaka) 2006-12-12 23:16:43 +00:00
yura 914cf8f2be Workaround for this bogus s64 warnings. Thanks, Linus! 2006-12-12 20:27:32 +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
szaka 431ac5d40b update to version 0.20061212-BETA 2006-12-12 00:20:54 +00:00
szaka b0a44f5fad be a bit helpful if fuseblk is not available 2006-12-12 00:13:18 +00:00
szaka 94e892228f unclean_journal_msg: try to make it more understandable 2006-12-11 22:40:31 +00:00
szaka 107425736f update AUTHORS & CREDITS 2006-12-11 21:47:47 +00:00
szaka adc8caa033 parse_mount_options(): point to some help regards to locale setup 2006-12-11 21:15:45 +00:00
szaka a4317bed14 try_fuse_mount(): log why the FUSE mount point creation failed 2006-12-11 18:33:38 +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 2b611a1461 fix clusters per index block calculation (Szaka) 2006-12-11 03:16:22 +00:00
yura c616e29663 ntfsck by Yuval to extra dist with minor changes from me 2006-12-11 03:06:35 +00:00
yura 19089b08bd one place with mount option description 2006-12-11 03:03:30 +00:00
yura 03fabce6eb o fix magicNTFS defenition
o remove NTFS_SB_MAGIC because it is unusefull
o rename magicNTFS -> NTFS_SB_MAGIC
o make bootsect.c use NTFS_SB_MAGIC instead of hardcoded value
2006-12-11 03:02:23 +00:00
aia21 43b61b82e7 If pread/pwrite are not supported by the OS, set the device pread()/pwrite()
pointers to NULL so we automatically use seek() + read()/write() from now on.
2006-12-10 19:38:02 +00:00
aia21 f73d77d568 - Implement ntfs_pread() and ntfs_pwrite() in terms of device
operations pread() and pwrite() respectively and fall back to using
  seek() + read()/write() if no pread()/pwrite() device operation is
  supplied or the OS does not support the pread()/pwrite() system call.
  Adapt unix_io pread()/pwrite() device operations to use pread()/
  pwrite() system call and adapt win32_io device operations to not
  supply pread()/pwrite().  (Csaba Henk, Anton)
2006-12-09 14:01:12 +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
szaka 2bc71e4ee7 ntfs_boot_sector_parse: check sectors value & last sector seekability 2006-12-09 00:02:45 +00:00
szaka 45630fa43c ntfs_boot_sector_is_ntfs/ntfs_boot_sector_parse: log errors 2006-12-08 23:55:10 +00:00
szaka a65b19aa02 fix: 'make install' failed if ldconfig wasn't in the $PATH 2006-12-08 23:47:08 +00:00