Commit Graph

323 Commits (ac67e7dce2b91ff029ac7eec9b25fa83b74cdae9)

Author SHA1 Message Date
cantab.net!aia21 1ab9841661 Update a little for the new ntfsinfo functionality.
(Logical change 1.390)
2004-05-11 09:21:24 +00:00
cantab.net!aia21 dd001233ff Minor off by one bug fix.
(Logical change 1.390)
2004-05-11 09:21:24 +00:00
elisa-laajakaista.fi!szaka aadb68f43e eliminated the global ntfs_volume variable
(Logical change 1.389)
2004-05-09 01:43:45 +00:00
elisa-laajakaista.fi!szaka 6e0b4d5d32 remove not-used-anymore last_unsafe member from ntfs_resize_t
(Logical change 1.388)
2004-05-08 23:29:54 +00:00
elisa-laajakaista.fi!szaka 0d541c6791 prepare truncate_badclust_file() for global variables elimination
(Logical change 1.387)
2004-05-08 23:25:46 +00:00
cantab.net!aia21 eb6c561683 Add inode selection by path/filename to ntfsinfo. (Yuval)
(Logical change 1.386)
2004-05-02 08:46:37 +00:00
cantab.net!aia21 411835bca3 Fix warnings by renaming some variables. (Yuval)
(Logical change 1.383)
2004-04-24 20:24:28 +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 123b1028ec Fix lots of warnings about no prototypes by adding
the 'static' keyword.  (Yuval)

(Logical change 1.381)
2004-04-23 13:55:49 +00:00
cantab.net!aia21 f90c2cd5b9 Fix some compiler warnings. (Yuval)
(Logical change 1.379)
2004-04-23 10:12:49 +00:00
cantab.net!aia21 d990c89479 - Make endian safe. (Anton)
- Fix some compiler warnings.  (Yuval)

(Logical change 1.379)
2004-04-23 10:12:49 +00:00
elisa-laajakaista.fi!szaka 62a4991b9a Renamed the last ntfstools reference to ntfsprogs
(Logical change 1.378)
2004-04-20 21:19:45 +00:00
elisa-laajakaista.fi!szaka fbd9efac4e Auto merged
2004/04/17 04:01:46+03:00 elisa-laajakaista.fi!szaka
Detached ntfs_fsck_t from ntfs_resize_t and use it for check_allocation_bitmap() [in progress]

(Logical change 1.377)
2004-04-17 01:02:42 +00:00
cantab.net!aia21 12639f64b7 Update
(Logical change 1.376)
2004-04-16 21:00:27 +00:00
cantab.net!aia21 b1a398abfb Update
(Logical change 1.375)
2004-04-16 20:58:20 +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
elisa-laajakaista.fi!szaka 49bc22ac54 split walk_inodes() into check_allocation_bitmap() and set_resize_constrains() [in progress]
(Logical change 1.372)
2004-04-16 19:25:24 +00:00
cantab.net!aia21 e39688c9ab Big update from Yuval with some bits modified by me.
(Logical change 1.369)
2004-04-15 11:55:46 +00:00
elisa-laajakaista.fi!szaka 8c67ce1c36 Fix incorrect getopt_long() usage: converted argv[optind-1] to optarg
so utilities won't do bogus and unexpected things

(Logical change 1.366)
2004-04-15 00:42:33 +00:00
elisa-laajakaista.fi!szaka 61ea0f59d8 ntfsclone --metadata also saves at least the first 8 KiB of the $LogFile
(Logical change 1.365)
2004-04-14 23:31:11 +00:00
elisa-laajakaista.fi!szaka cb7d91eb16 got rid of the global struct bitmap lcn_bitmap (some work towards code reuse)
(Logical change 1.364)
2004-04-14 01:23:36 +00:00
elisa-laajakaista.fi!szaka 443662a5d6 destination device must be opened O_RDWR because device_size_get() might need to read()
(Logical change 1.363)
2004-04-13 22:56:11 +00:00
elisa-laajakaista.fi!szaka 2a97938898 Fix the incorrect usage example.
(Logical change 1.360)
2004-04-08 08:00:53 +00:00
cantab.net!aia21 5e56debf45 Mostly rewrite ntfsinfo. (Yuval Fledel and some fixes by me)
(Logical change 1.356)
2004-04-05 08:44:32 +00:00
cantab.net!aia21 80cb606d36 Big update. (Not finished yet.)
(Logical change 1.355)
2004-04-05 08:42:10 +00:00
omakaista.fi!szaka 1d17c6e429 Update, corrections and removed all mentions of the buggy cp --sparse=always that could corrupt data
if the destination is block device (though GNU cp was fixed after we reported the problem).

(Logical change 1.354)
2004-04-01 21:30:42 +00:00
omakaista.fi!szaka 37cf1d9b38 Added some diagnostic and explanatory messages to ntfsclone.
(Logical change 1.354)
2004-04-01 21:30:42 +00:00
cantab.net!aia21 527d7780cb Make it compile...
(Logical change 1.353)
2004-03-31 15:01:05 +00:00
cantab.net!aia21 a111528d7c Add ability to use a file as the logfile source rather than a ntfs volume
containing device, i.e. you can now grab a copy of $LogFile and use
ntfsdump_logfile -f mylogfilecopy.

(Logical change 1.352)
2004-03-31 14:47:08 +00:00
cantab.net!aia21 7e2b0aad08 Move declaration of variable to beginning of block. Thanks to Alexei Alexandrov for the fix.
(Logical change 1.350)
2004-03-30 14:00:35 +00:00
cantab.net!aia21 78922e89fa Update to automake 1.8.3.
(Logical change 1.349)
2004-03-26 14:50:33 +00:00
cantab.net!aia21 d224481da9 Make it compile with changes in logfile.h.
(Logical change 1.348)
2004-03-26 14:42:21 +00:00
cantab.net!aia21 61fe186d21 Use more libntfs APIs and other cleanups.
(Logical change 1.346)
2004-03-24 17:38:31 +00:00
cantab.net!aia21 ad18c0bac9 Update
(Logical change 1.346)
2004-03-24 17:38:31 +00:00
cantab.net!aia21 163f9002b7 Remove dumplog utility as it was unnecessary and duplicated the
functionality of ntfsdump_logfile.

(Logical change 1.346)
2004-03-24 17:38:31 +00:00
cantab.net!aia21 d37f75cfde Delete: ntfsprogs/dumplog.c
}(Logical change 1.346)
2004-03-24 17:38:31 +00:00
cantab.net!aia21 16bc6199a6 - Provide a new command line option "-H" to mkntfs to allow the user to
specify the number of heads manually.
- 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 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
omakaista.fi!szaka 5154256c62 - Check the mount state of the output device in ntfsclone.
- Correct a too strong sanity check in ntfsclone that prevented
  cloning from larger device to a smaller one but the NTFS image
  could have fit fully.

(Logical change 1.344)
2004-03-23 02:00:56 +00:00
omakaista.fi!szaka 8f77300f3a - recommend chkdsk /f if mapping pairs decoding fails with EIO (Kent B. Larsen)
- use corrupt_volume_msg in all relevant cases
- explain "bad sectors" a bit better

(Logical change 1.342)
2004-03-22 09:09:44 +00:00
cantab.net!aia21 ae7789dcd0 Support the case where $Volume does not have a $VOLUME_NAME
attribute in ntfs_device_mount() and let ntfslabel create the
attribute when it is not present.

(Logical change 1.339)
2004-03-19 10:21:05 +00:00
cantab.net!aia21 93acd345a7 Update
(Logical change 1.338)
2004-03-17 16:53:29 +00:00
cantab.net!aia21 08bd36ca62 Provide a new command line option "-p" to allow the user to specify
the partition start sector manually.

(Logical change 1.336)
2004-03-17 12:22:03 +00:00
cantab.net!aia21 60231ba412 - Fix to include sys/ioctl.h.
- Define the ioctls we use if they are not defined, as it is done
  in device.c.

(Logical change 1.336)
2004-03-17 12:22:03 +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 9bb30a0601 Ooops, forgot to test make extra when changing ntfs_get_attribute_value().
(Logical change 1.334)
2004-03-15 11:36:21 +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 cf419787bd Use sizeof(MFT_RECORD) instead of sizeof(MFT_RECORD) + 6 as MFT_RECORD now
includes the NTFS 3.1+ specific fields.

(Logical change 1.333)
2004-03-15 11:34:30 +00:00