Commit Graph

2643 Commits (1ce16eddb79c3ae14880f0839382f79c0bb66bee)
 

Author SHA1 Message Date
cha0smaster 1ce16eddb7 minor cleanup 2005-10-27 20:42:10 +00:00
szaka 8b1263c217 Working with regular files needs no longer --force, except for mkntfs 2005-10-27 18:45:45 +00:00
cha0smaster 01585fd7cd Always pass "use_ino" to fuse_new, since it's ok to have several files with sameinode number. 2005-10-27 13:01:58 +00:00
cha0smaster 9fb63e797e Pass use_ino to fuse_new if named data streams access is not 'windows'. 2005-10-27 11:37:49 +00:00
flatcap 8a584700c5 whitespace fixes - no code changes 2005-10-26 22:54:57 +00:00
flatcap c59d76aed2 missing include 2005-10-26 20:52:53 +00:00
flatcap 1ee8d8b9e2 restore call to ntfs_set_locale
(utils only uses stderr, now)
2005-10-26 20:48:38 +00:00
flatcap 5bd198d66e logging renames
utils only uses stderr, now
whitespace fixes
2005-10-26 20:48:00 +00:00
flatcap a244edbe1c tidy up
wrap lines
2005-10-26 20:47:14 +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
szaka 0dc3b0597c fflush() ntfs_log_ streams. (Christophe) 2005-10-26 19:24:45 +00:00
antona 98e5cda13e Add some debugging to ntfsdecrypt.c to allow printing of the private
key after it is decrypted (this is ifdeffed out by default).  (Anton)
2005-10-25 22:12:25 +00:00
uvman ef7bda1d7b Update changelog about Dputs, Dprintf, ..., Sprintf 2005-10-25 18:34:18 +00:00
cha0smaster c84e54a441 fix build 2005-10-25 11:54:26 +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
szaka f9cdaed3db temporary fix for the corrupted stdout due to the recent logging changes 2005-10-24 21:20: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
szaka 9be56ad848 ntfscat can display named attributes, streams too 2005-10-23 14:00:37 +00:00
cha0smaster 8980ec6d76 ntfsmount: Add 'streams_interface=' option to select named data streams access interface. Currently supported interfaces are 'none' and 'windows'. 2005-10-23 11:54:00 +00:00
cha0smaster b7aaeece53 documment need ea flag 2005-10-22 20:22:21 +00:00
szaka dd3ce28cd2 Factor out fix_mount() and fix_mftmirr() from main()
Avoid freeing NULL's to end non-constuctive discussion about its usage
2005-10-22 19:54:01 +00:00
flatcap 0c2247c7ca new header files to tidy build process 2005-10-21 18:08:28 +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
cha0smaster 8c53ea8d4f *** empty log message *** 2005-10-20 15:38:21 +00:00
flatcap a2c8e7befe fix a few build warnings 2005-10-20 13:49:56 +00:00
uvman 705814c9d7 Allow building libntfs as a shared library on Cygwin. This should not disturb non-Cygwin enviroments, but not tested. As a side-effect it generates ugly informational messages about importing extern variables. These are not errors or warnings, just info. 2005-10-20 00:59:22 +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 24cb1ec6e8 fix warnings 2005-10-19 22:10:57 +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
antona a7fd01e543 $EA can be resident and non-resident. Fix libntfs/attrib.c::
ntfs_attr_can_be_resident() apropriately.  (Anton)
2005-10-19 08:13:44 +00:00
cha0smaster fe408380c7 typo fix 2005-10-17 20:21:22 +00:00
flatcap ea2c4c6c61 fix build warning - duplicate definition 2005-10-17 14:07:28 +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 139f6c6603 prevent a few name clashes with the new rm code 2005-10-16 22:37:48 +00:00
flatcap bde3e0063b centralised logging system 2005-10-16 21:57:00 +00:00
flatcap 2436151e59 fix warning (uninitialised variable) 2005-10-16 21:37:12 +00:00
flatcap 8fa46025d5 trailing whitespace 2005-10-16 19:21:47 +00:00
szaka 27a9764d3a Check and report bad sectors before cluster allocation check because
chkdsk doesn't always fix $Bitmap with bad sectors
2005-10-16 18:50:56 +00:00
szaka 48feb16fa9 Factor out cluster allocation check 2005-10-16 11:12:08 +00:00
antona a570ee7b37 Fix endiannes bug in libntfs/index.c. (Anton) 2005-10-16 00:07:14 +00:00
antona 85c866fcea More endianness fixes! 2005-10-15 23:51:13 +00:00
antona 6803fa4b76 Fix endianness bug in ntfsinfo. (Anton) 2005-10-15 23:44:57 +00:00
antona 1d4958d38c Fix endianness bug (le16 instead of le32 when accessing mft record
bytes_in_use) in volume.c::ntfs_volume_write_flags() and
ntfsfix.c::OLD_ntfs_volume_set_flags().  (Anton)
2005-10-15 23:13:49 +00:00
antona 3adf923766 Fix compilation and warnings in ntfsdecrypt.c on OSX/gcc4.0.1. The
compilation failure was because we use strnlen() which is gnu
specific and not present on my current version of OSX so ntfsdecrypt
now provides own version if it is not present on system.  (Anton)
2005-10-15 22:30:20 +00:00
antona da1495a11d Fix compilation on OSX in ntfscmp.c where stderr = stdout is not legal (but
happens to work on Linux) to do portable low-level file descriptor mangling.
2005-10-15 21:48:37 +00:00
antona f5961c075e - Fix compilation on OSX in ntfsclone.c where stderr = stdout
is not legal (but happens to work on Linux) to do proper
  low-level file descriptor mangling which is portable.  (Anton)
- Add test/runlist-data to EXTRA_DIST so it gets included in the
  distribution otherwise make test fails on released sources.  Solution
  is not perfect as it also adds the test/runlist-data/CVS directory
  but it will do at least for me.  (Anton)
2005-10-15 21:44:17 +00:00
antona b9422552da Fix compilation on OSX in ntfsresize.c where stderr = stdout is not
legal (but happens to work on Linux) to do proper low-level file
descriptor mangling which is portable.  (Anton)
2005-10-15 21:26:16 +00:00
antona e46d4e8959 Fix silly bug introduced in 1.12.0 which breaks ntfsfix (and others
possibly) when calling ntfs_attr_lookup() with AT_UNNAMED name and
no ntfs inode in the search context.  (Anton)
2005-10-15 20:52:41 +00:00