Commit Graph

201 Commits

Author SHA1 Message Date
cantab.net!aia21
db7c9da42f Move NAttr{Sparse,Compressed,Encrypted} to inode struct preserving
the previous interface.  (Yura, with fixes from Anton)

(Logical change 1.645)
2004-12-22 14:04:41 +00:00
cantab.net!aia21
781e041a1f Change block to from unsigned long to unsigned long long in
append_to_bad_blocks() and mkntfs_fill_device_with_zeroes().

(Logical change 1.617)
2004-10-18 10:24:25 +00:00
cantab.net!aia21
8b3c03e173 Rename scpu_to_le{16,32,64}() to cpu_to_sle{16,32,64}() to match the kernel.
(Logical change 1.586)
2004-09-30 15:00:31 +00:00
cantab.net!aia21
1159ab3656 Cleanup the ntfs_mapping_pairs_build enhancement.
(Logical change 1.548)
2004-09-13 09:31:42 +00:00
(none)!yura
27e0e7a0c7 Add @stopped_at parameter to ntfs_mapping_pairs_build and adapt all callers.
(Logical change 1.547)
2004-09-12 18:46:04 +00:00
cantab.net!aia21
06086ae5c7 Add start_vcn parameter to ntfs_get_size_for_mapping_pairs() and
ntfs_mapping_pairs_build() and adapt all callers.

(Logical change 1.533)
2004-09-06 09:27:16 +00:00
cantab.net!aia21
abe69f1964 Fix memory leaks (Christophe).
(Logical change 1.516)
2004-08-30 20:41:14 +00:00
!uv
912044e09a printf format fixes.
(Logical change 1.507)
2004-08-20 12:18:22 +00:00
!uv
97df123793 Reorder struct members in order to align to 32 and 64 bit bounderies.
(Logical change 1.505)
2004-08-20 12:01:17 +00:00
!uv
27bf9c0ea0 Allow better compiler optimization/error checking.
(Logical change 1.504)
2004-08-20 11:58:24 +00:00
cantab.net!aia21
380f4f1ce1 Silence compiler warnings.
(Logical change 1.502)
2004-08-18 10:27:49 +00:00
cantab.net!aia21
dfde7adfd4 Add noreturn attribute to err_exit function. (Yuval)
(Logical change 1.453)
2004-07-13 13:04:02 +00:00
cantab.net!aia21
b2ce5e087c Update a forgotten comment.
(Logical change 1.406)
2004-06-01 16:29:45 +00:00
cantab.net!aia21
3423a8a909 Rename uchar_t to ntfschar.
(Logical change 1.392)
2004-05-14 13:02:33 +00:00
cantab.net!aia21
1e637d3709 Remove global rl as it was used only in one place. (Yuval, Anton)
(Logical change 1.382)
2004-04-23 14:27:09 +00:00
cantab.net!aia21
71c1fe3af8 Update
(Logical change 1.374)
2004-04-16 20:54:34 +00:00
cantab.net!aia21
4a5abe3242 Split up into multiple functions. (Yuval)
(Logical change 1.373)
2004-04-16 20:43:28 +00:00
cantab.net!aia21
c5a065d048 - Add new API device.[hc]::ntfs_device_heads_get() and make mkntfs use it.
- Provide a new command line option "-H" to mkntfs to allow the user to
  specify the number of heads manually.
- Add new API device.[hc]::ntfs_device_sectors_per_track_get() and make
  mkntfs use it.
- Provide a new command line option "-S" to mkntfs to allow the user to
  specify the number of sectors per track manually.

(Logical change 1.345)
2004-03-24 10:36:31 +00:00
cantab.net!aia21
d05932849c - Add new API device.[hc]::ntfs_device_partition_start_sector_get() and
make mkntfs use it.
- Provide a new command line option "-p" to allow the user to specify
  the partition start sector manually.
- Add include sys/ioctl.h to fix sector size detection.

(Logical change 1.336)
2004-03-17 12:22:03 +00:00
cantab.net!aia21
2bd298bc2d Add new API mft.[hc]::ntfs_mft_record_{layout,format}() and make
mkntfs use it.

(Logical change 1.335)
2004-03-15 12:50:18 +00:00
cantab.net!aia21
ab2da48e25 Use sizeof(MFT_RECORD_OLD) instead of sizeof(MFT_RECORD) as MFT_RECORD now
includes the NTFS 3.1+ specific fields.

(Logical change 1.333)
2004-03-15 11:34:30 +00:00
cantab.net!aia21
717484f223 Missed this one.
(Logical change 1.307)
2004-03-09 15:27:10 +00:00
cantab.net!aia21
ddeee65b8d Fix all occurences of printf with %ll length modifiers but 64 bit
arguments to typecast the arguments to (unsigned) long long to avoid
the warnings when compiling on 64 bit architectures.

(Logical change 1.306)
2004-03-09 14:47:34 +00:00
cantab.net!aia21
a6629ede03 And another compiler warning.
(Logical change 1.292)
2004-03-04 17:03:27 +00:00
cantab.net!aia21
852af74c58 Fix mkntfs for large volumes where the number of clusters would
exceed the maximum of 32 bits and mkntfs would segfault.  Now we
increase the cluster size until the number of clusters no longer
exceeds 32 bits or the maximum cluster size is reached.  We then
exit with an appropriate error message.  (Thanks to Szaka for the
bug report.)
Also fix some compiler warnings in mkntfs with --enable-maintainer-mode.

(Logical change 1.291)
2004-03-04 16:59:58 +00:00
cantab.net!aia21
6eb9812220 - Fix a duplicated free() in mkntfs. (Andras Erdei)
- Fix option display in mkntfs. (Andras Erdei)

(Logical change 1.285)
2004-02-26 13:48:16 +00:00
cantab.net!aia21
42e3faba21 Fix the fix. (-:
(Logical change 1.284)
2004-02-26 12:08:23 +00:00
cantab.net!aia21
6cecd0e726 Detect NO_NTFS_DEVICE_DEFAULT_IO_OPS and #error appropriately.
(Logical change 1.283)
2004-02-26 11:41:48 +00:00
cantab.net!aia21
536b80cb56 Fix bug in stoucs(). Thanks to Andras Erdei.
(Logical change 1.281)
2004-02-25 17:14:40 +00:00
cantab.net!aia21
c9076ef627 - Apply patch from Szaka to fix all %L to %ll.
- Fix remaining %L ti %ll (compress.c).
- Run ./autogen.sh on SuSE 9.0.

(Logical change 1.263)
2004-01-15 16:57:10 +00:00
cantab.net!aia21
a7a6c5cfe5 Fix the previous update...
2004/01/09 10:50:25+00:00 cantab.net!aia21
Update for newer glibc.

(Logical change 1.259)
2004-01-09 12:38:56 +00:00
cantab.net!aia21
0803017bb6 Fix warnings.
(Logical change 1.235)
2003-11-18 18:00:31 +00:00
cantab.net!aia21
f49930c0f4 ntfs_device_disk_io_ops is now ntfs_device_default_io_ops.
(Logical change 1.188)
2003-10-06 11:38:25 +00:00
cantab.net!aia21
c4c50f1270 __LINUX__ no longer works. Use linux instead.
(Logical change 1.166)
2003-07-31 14:12:36 +00:00
cantab.net!aia21
163d414c9f Can't use vol->dev->d_name before it is allocated! D'oh!
Thanks to Szaka for reporting this.

(Logical change 1.152)
2003-07-11 14:35:49 +00:00
cantab.net!aia21
e94dd2e634 Adapt to library changes.
(Logical change 1.139)
2003-06-03 11:07:54 +00:00
flatcap.org!flatcap
3987a55edd minor tidyup
(Logical change 1.117)
2003-02-09 22:55:20 +00:00
cantab.net!aia21
c8dae5156c cleanup flatcaps changes (reverting a few) as well as add new option
(Logical change 1.107)
2003-01-20 11:08:14 +00:00
flatcap.org!flatcap
4fb575b3cc comment blocks
standardise usage and version info

(Logical change 1.105)
2003-01-19 22:01:18 +00:00
flatcap.org!flatcap
563fc17118 start using utils
(Logical change 1.104)
2003-01-19 11:48:06 +00:00
cantab.net!aia21
ef273e8804 really final tidyings
(Logical change 1.102)
2003-01-18 16:02:37 +00:00
cantab.net!aia21
a3e3e66651 update from Szaka modified by me:
new API disk_io.[hc]: ntfs_device_size_get() ported from mkntfs.c

(Logical change 1.86)
2003-01-10 17:00:47 +00:00
flatcap.org!flatcap
4a763bc970 a typos left over from the big rename
(Logical change 1.82)
2003-01-09 16:30:59 +00:00
cantab.net!aia21
f8a7ee4a7e Typos.
(Logical change 1.58)
2002-12-26 20:36:52 +00:00
cantab.net!aia21
9fd51dde62 New API functions (mostly still WIP):
attrib.[hc]: ntfs_resident_attr_value_resize(), ntfs_attr_truncate()
   inode.[hc]: ntfs_inode_mark_dirty(), ntfs_inode_sync()
   lcnalloc.[hc]: ntfs_cluster_{alloc,free}()
Renamed ntfs_clusters_{read,write}() to ntfs_cluster_{read,write}().

(Logical change 1.55)
2002-12-26 00:44:57 +00:00
cantab.net!aia21
16e4e8717a New API function ntfs_ucsnlen() and removal of mkntfs.c/ucsnlen().
(Logical change 1.52)
2002-12-25 19:17:56 +00:00
cantab.net!aia21
69306cc493 new api renames to ntfs_object_action
(Logical change 1.36)
2002-12-10 11:53:41 +00:00
cantab.net!aia21
c4eb64a730 Auto merged
2002/12/08 20:15:29+00:00 cantab.net!aia21
rename run{ ,_,-}list to runlist

(Logical change 1.31)
2002-12-08 20:36:02 +00:00
flatcap.org!flatcap
d789fd8385 tidy whitespace
(Logical change 1.27)
2002-12-01 18:54:13 +00:00
cantab.net!aia21
cd29ef7745 mvdir
(Logical change 1.23)
2002-11-29 12:16:35 +00:00
cantab.net!aia21
df7cae02e7 Initial revision 2002-11-29 12:16:35 +00:00