Commit Graph

2850 Commits

Author SHA1 Message Date
szaka
94e1647414 More comments on SDH_INDEX_DATA's reserved_II field 2005-11-16 00:17:53 +00:00
szaka
1b856b5451 Dump $Secure $SDH and $SII, $Quota $O and $R index attribute data;
Fix printf field width specifiers
2005-11-16 00:13:10 +00:00
cha0smaster
5266967632 ntfsmount: pass MS_NOATIME flag to ntfs_mount, let VFS care about access time. 2005-11-15 16:41:39 +00:00
cha0smaster
e58a468d0c * Fix bug with updating atime on read-only volumes. (Thanks to Szaka and Anton)
* Add MS_NOATIME to ntfs_mount. (By Yuval's request)
2005-11-15 16:31:40 +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
ae643af3cd Update QUOTA_CONTROL_ENTRY and QUOTA_O_INDEX_DATA description 2005-11-15 01:00:22 +00:00
cha0smaster
f7fe30a0aa Automatically update access and change time in ntfs_attr_p{read,write} and ntfs_attr_truncate. 2005-11-14 15:31:23 +00:00
cha0smaster
0e808deef1 * update ntfsmount to new logging, remove all #ifdef #DEBUG, add debug option
* ntfsmount: enable kernel_cache for fuse >= 2.4.0 by default
* ntfscp fix style in code introduced by Rich
2005-11-14 12:19:39 +00:00
cha0smaster
632b146410 Add @from_vcn parameter to ntfs_attr_update_mapping_pairs, update all
users to submit it, thus write speed to very fragmented files
dramatically increased, while write speed to low fragmented files
stayed at approximately same level.
2005-11-14 00:17:19 +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
2db620bda1 ntfsclone: check the available free space for --save-image too 2005-11-13 21:48:35 +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
szaka
6cd1ea6e75 ntfs_device_mount(): explain a bit better what fails and how 2005-11-13 19:25:05 +00:00
szaka
3e459eb923 mkntfs: fix segfault when volume has more than 2^31 clusters 2005-11-13 02:38:17 +00:00
szaka
f480d3f8ad Log also what actually fails, not only the reason 2005-11-12 20:52:38 +00:00
szaka
7b68432c72 Name consistently the same $SDS, $SDH and $SII fields 2005-11-12 15:35:51 +00:00
szaka
fc103ec4b0 output cosmetic change; explicit check for /$Extend/$ObjId in get_index_attr_type() 2005-11-12 12:59:20 +00:00
uvman
4137f63c7a Report the MFT record flags properly in ntfsinfo. 2005-11-11 23:55:14 +00:00
uvman
0d651e54d3 Give a better name to MFT_RECORD_IS_8 and rename FILE_ATTR_DUP_* to match this meaning. 2005-11-11 23:35:56 +00:00
cha0smaster
3c2c988f96 That was ntfsmount bug with '.' and '..', no need for a workaround. 2005-11-10 21:26:41 +00:00
szaka
77a5597521 Restore correct V3.1 $AttrDef creation which got last by the recent command
line parsing rewrite. Thanks to ntfscmp for catching this! :)
2005-11-10 20:54:00 +00:00
szaka
c832d4b2e2 remove ObjectID creation and all related code: ObjectID's are created and
managed based on (mostly) DLT Service requests, format doesn't care about them
2005-11-10 20:24:07 +00:00
cha0smaster
4652ad72c6 * implement symblic link creation in ntfs_create
* rename ntfs_create -> __ntfs_create. add wrapers ntfs_create{_symlink,_device}
* ntfsmount: implement .symlink
* ntfsmount: fix readdir to emulate . and .. when needed
2005-11-10 18:13:15 +00:00
flatcap
f45436a9df send progress bar to the progress log (quietable by --quiet) 2005-11-10 05:28:33 +00:00
flatcap
1b49db1f65 turn on progress logging by default 2005-11-10 05:27:45 +00:00
flatcap
247753251d quiet, verbose, debug don't need to be options
num_clusters, index_block_size, attr_defs(_len) moved to volume
2005-11-10 05:13:57 +00:00
flatcap
3666ce3d2c ntfsundelete options fix 2005-11-10 03:22:42 +00:00
flatcap
1b55906132 -u now just means undelete
-i, --inodes takes a range of inodes to be recovered
remove interactive option (it wasn't implemented)
2005-11-10 03:20:47 +00:00
flatcap
6e9be81f55 -u now just means undelete
-i, --inodes takes a range of inodes to be recovered
tidy usage
remove interactive option (it wasn't implemented)
2005-11-10 03:20:27 +00:00
cha0smaster
1254b2951c Fix stupidness introduced in latest changesets. Thanks to Yuval for comments. 2005-11-08 19:49:52 +00:00
cha0smaster
2c3dfcba27 Teech ntfs_create() to create Interix charcter and block devices. Add @dev parameter to ntfs_create() for this. 2005-11-08 16:13:17 +00:00
cha0smaster
53446b07f8 - Change @type parameter for ntfs_create() to be dev_t rather than internal NTFS_DT_* constants.
- Teech ntfs_create() to create FIFOs and sockets.
2005-11-08 15:15:37 +00:00
szaka
c1fb378985 VIEW_INDEX is also present in $STANDARD_INFORMATION 2005-11-07 22:28:46 +00:00
szaka
1e3ce5d1dd FILE_ATTR_DUP_VIEW_INDEX_PRESENT is also present in $STANDARD_INFORMATION
on 3.x volumes
2005-11-07 22:22:43 +00:00
szaka
caa0bf5c4b metadata cloning: wipe metadata timestamps too 2005-11-07 21:38:58 +00:00
szaka
da654b4207 shortened opt.metadata_only to opt.metadata 2005-11-07 21:13:31 +00:00
szaka
594c23aff0 ntfsclone: check available free space on the destination 2005-11-07 20:49:18 +00:00
cha0smaster
a732881c5e see changelog 2005-11-07 20:37:07 +00:00
flatcap
23a84fe825 use ntfs_mbstoucs and ntfs_ucstombs (library) instead of stoucs and ucstos (local)
fix a few latent bugs where unicode string lengths were handled
2005-11-07 04:53:28 +00:00
flatcap
2a2ecd2abd parse_options - make sure it always spots missing options
fix mem leak in upgrade_to_large_index
fix bug - srandom called before options parsed
start separating user-type things from lib-type things
(e-22)
2005-11-06 21:40:26 +00:00
flatcap
d605234a3a document new options 2005-11-06 21:26:23 +00:00
uvman
a0665cf5bd Add myself to the copyright list on ntfsinfo.c 2005-11-06 14:18:12 +00:00
uvman
c09fc7ac81 Add myself to the copyright list on win32_io.c 2005-11-06 14:16:24 +00:00
uvman
09c562fdd3 Disclaim any copyright holding on layout.h 2005-11-06 14:15:38 +00:00
flatcap
ef9d593949 replace the command line parsing
mkntfs now supports long options
(e-11)
2005-11-06 02:19:19 +00:00
cha0smaster
300f86ac21 * layout.h: update about special INTX files.
* ntfsmount: implement readlink() and add support of symlinks, charcter and block devices to stat().
2005-11-05 22:54:43 +00:00
flatcap
de5de5a9c3 global variables don't belong in opts
highlight the global nature of the variables in their name
2005-11-05 06:11:42 +00:00