Commit Graph

154 Commits

Author SHA1 Message Date
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
uvman
87d87073c7 The periodic 'int is not neccessarily 32bit' fixes. 2006-10-28 23:45:22 +00:00
uvman
ff55ecb513 Whitespace cleanup 2006-10-27 12:24:29 +00:00
aia21
ff289408c5 fix for large sector sizes 2006-10-20 19:55:50 +00:00
uvman
a117a21941 Comment documentation fixes. 2006-09-25 16:58:38 +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
uvman
02194004ab mkntfs.c refactoring and compile fix for Cygwin 2006-05-16 12:12:45 +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
c7a53338c0 Fix all incorrect getopt_long() return value usages. 2006-04-05 12:43:06 +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
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
a8a29084b5 Remove old, redundant g_mft_size calculation 2006-02-04 19:53:22 +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
antona
e236c14c4a Prepare for next release. 2006-02-02 14:40:53 +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
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
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
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
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
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
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
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
szaka
f7f2bf570d initialize_secure(): fix segfault when non-allocated objects were referenced
(thanks to ef)
2005-11-13 22:40:19 +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