Commit Graph

368 Commits (2bc1f13f996687435c11bc1f95ac15509315901f)

Author SHA1 Message Date
cha0smaster 2367a06b6e Rework time updates, more close to like windows does. Still do not update for / because of sync problems. 2005-11-17 18:00:58 +00:00
szaka 94e1647414 More comments on SDH_INDEX_DATA's reserved_II field 2005-11-16 00:17:53 +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
szaka ae643af3cd Update QUOTA_CONTROL_ENTRY and QUOTA_O_INDEX_DATA description 2005-11-15 01:00:22 +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 7b68432c72 Name consistently the same $SDS, $SDH and $SII fields 2005-11-12 15:35:51 +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 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
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 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
cha0smaster a732881c5e see changelog 2005-11-07 20:37:07 +00:00
uvman 09c562fdd3 Disclaim any copyright holding on layout.h 2005-11-06 14:15:38 +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
uvman 9e9179b307 Comment format improvements 2005-11-03 19:20:14 +00:00
szaka c10f046225 simplified ntfs_generate_guid() 2005-11-01 21:09:52 +00:00
szaka 987f33e5df ntfs_ prefix generate_guid() 2005-11-01 20:24:37 +00:00
szaka c21d01fe7f fix type of owner_id in QUOTA_O_INDEX_DATA 2005-11-01 20:18:27 +00:00
szaka 1a40e3d4cd Add missing full stops; rename SDS to $SDS 2005-11-01 20:01:03 +00:00
szaka 80923d64dd Fix type of reserved_II in SDH_INDEX_DATA; resolve some magic constants 2005-11-01 19:56:08 +00:00
flatcap 9c2e3a8206 add/update function comment blocks
(ok, they need words, but it's a start)
2005-10-31 01:15:12 +00:00
szaka 370bea1395 ntfsinfo: figure out and dump index attribute types 2005-10-30 22:53:38 +00:00
szaka e677d9ebf9 Fix GUID example 2005-10-30 22:42:00 +00:00
uvman 5b949d07fa Fix comment formats. 2005-10-28 12:55:41 +00:00
uvman 8f43f0ef4c Match parameter names between .h and .c files 2005-10-28 12:47:49 +00:00
flatcap 8892ba7ac6 remove some colour hacks
remove a few #ifdef DEBUGs and RM_WRITEs
throw in lots of extra traces
2005-10-28 04:32:21 +00:00
flatcap 4e5c1c6efa rebuild logging again.
today's arrangement has five handlers:
ntfs_log_handler_fprintf (renamed from printf)
ntfs_log_handler_null (does nothing, default)
ntfs_log_handler_stdout (everything to stdout)
ntfs_log_handler_outerr (info to stdout, errors to stderr)
ntfs_log_handler_stderr (everything to stderr)
the colour handler has gone away to be replaced by a flag:
NTFS_LOG_FLAG_COLOUR
2005-10-28 04:12:22 +00:00
flatcap 8a584700c5 whitespace fixes - no code changes 2005-10-26 22:54:57 +00:00
flatcap 1f68df3f69 shorten ntfs_logging_* to ntfs_log_* 2005-10-26 20:46:37 +00:00
flatcap c27c1a40cb explain rm's elements in ntfs_inode, ntfs_volume 2005-10-26 20:45:58 +00:00
uvman 0dd0cdc6be Remove {Dputs, Dprintf, Dperror} and convert callers to ntfs_log_*. Make ntfsinfo use ntfs_logging_parse_option(). 2005-10-25 01:28:10 +00:00
uvman 7cbc0a6cb6 Remove any uses of the old logging system (Dputs, Dprintf, ...) from libntfs. 2005-10-24 20:50:05 +00:00
szaka 746dff1a24 NTFS_INDEX_ prefix $I30, $SII, $SDH, $O and $Q indexes 2005-10-23 18:35:58 +00:00
cha0smaster b7aaeece53 documment need ea flag 2005-10-22 20:22:21 +00:00
flatcap f4e427e91a implement logging in libntfs
fix whitespace
fix build problems
tidy source code
and more...
2005-10-21 18:05:13 +00:00
uvman 570705dcab Add a comment to some typedefs per discussion on linux-ntfs-dev 2005-10-20 00:56:11 +00:00
szaka 8f03f5a6ca Optionally create NTFS version 3.0 (W2K) or 3.1 (XP, W2K3, Vista).
Contributed by Erik Sornes. No side-effect for v1.2 NTFS which is still
the default. The implementation needs some minor work: see e.g. the chkdsk
messages and the result of ntfscmp'ing the two images.
2005-10-19 22:04:46 +00:00
flatcap 2a8d602d9f ntfsrm has been split up and merged into libntfs.
currently it's #ifdef'd out.
tree.c - code for handling directory trees
rich.c - a few helpers without a home (this file will go away soon)
Note: ntfsrm isn't in the build any more (you need to ./configure --enable-rich; make extras).  When rm is less intrusive, again, I'll put it back in the build.
2005-10-16 23:33:03 +00:00
flatcap bde3e0063b centralised logging system 2005-10-16 21:57:00 +00:00
flatcap 8fa46025d5 trailing whitespace 2005-10-16 19:21:47 +00:00
antona 6803fa4b76 Fix endianness bug in ntfsinfo. (Anton) 2005-10-15 23:44:57 +00:00
antona b67fb5e78f Add a comment about the valid size for $EFS attribute value. 2005-10-15 09:15:46 +00:00
antona 62f9636080 Temporarily disable use of the legal ansi character checking in
libntfs/unistr.c::ntfs_names_collate() pending a proper fix at some
point.  (Anton)
2005-10-13 08:26:02 +00:00
antona 0c293d0407 - Add API (actually renamed from what Rich/FlatCap did):
volume.[hc]::ntfs_libntfs_version() which returns a pointer to a
  static const string of the libntfs verion, i.e. at the moment this is
  "8.0.0".  This required moving the version specifications from
  libntfs/Makefile.am to configure.ac.  This should hopefully have the
  sideeffect that I will remember to increment it when incrementing the
  ntfsprogs version number when making a release given the two are
  right under one another.  (Anton)
- Change ALL utilities to display the libntfs version they are running
  on.  This should make debugging easier in the case that people are
  running mismatched utilities/library.  (Anton)
2005-10-07 14:10:56 +00:00
antona 4b1b89109d Fix the definition of the CHKD ntfs record magic. It had an off by
two error causing it to be CHKB instead of CHKD.
2005-09-26 13:11:00 +00:00
antona 2a104d8eda Megapatch!!! Check evecrything!!! I probably broke everything!!! 2005-09-24 22:54:55 +00:00
szaka 24de91b8fa - Support journals which have been modified by chkdsk. (Anton, Szaka)
- Support journals ($LogFile) with only one restart page as well as
  journals with two different restart pages.  (Anton, Szaka)
2005-09-24 15:59:53 +00:00
cha0smaster 464eab4178 add ntfs_link, update ntfsmount to use it 2005-09-24 15:20:49 +00:00
flatcap 531305cc1e Christophe: add easily accessible version info to libntfs 2005-09-22 16:41:43 +00:00
cha0smaster 3629d931c6 Fix resident attribute adding: Add @val to ntfs_attr_add and @val and @size to ntfs_resident_attr_record_add.
Still need to fix attribute lis entry adding. :-(
2005-09-16 14:28:18 +00:00