OSDN Git Service

android-x86/external-exfat.git
8 years agoUnify CLI help syntax.
relan [Sat, 15 Jan 2011 14:25:50 +0000 (14:25 +0000)]
Unify CLI help syntax.

8 years agoRemove extra includes in sbdump.
relan [Sat, 15 Jan 2011 14:19:31 +0000 (14:19 +0000)]
Remove extra includes in sbdump.

8 years agoDuplicate errors and warnings to syslog.
relan [Sat, 15 Jan 2011 14:16:54 +0000 (14:16 +0000)]
Duplicate errors and warnings to syslog.

8 years agoVerify VBR checksum on mount.
relan [Wed, 29 Dec 2010 20:52:59 +0000 (20:52 +0000)]
Verify VBR checksum on mount.

8 years agoMove VBR checksum calculation functions to libexfat.
relan [Wed, 29 Dec 2010 20:51:15 +0000 (20:51 +0000)]
Move VBR checksum calculation functions to libexfat.

8 years agoFix FAT size calculation.
relan [Wed, 24 Nov 2010 20:09:25 +0000 (20:09 +0000)]
Fix FAT size calculation.

8 years agoAdd mkexfatfs (utility that creates an exFAT file system).
relan [Tue, 23 Nov 2010 20:49:38 +0000 (20:49 +0000)]
Add mkexfatfs (utility that creates an exFAT file system).

8 years agoAdd fsync() on unmount.
relan [Fri, 12 Nov 2010 19:12:24 +0000 (19:12 +0000)]
Add fsync() on unmount.

8 years agoAdd (senseless) check of close() return code.
relan [Fri, 12 Nov 2010 19:08:58 +0000 (19:08 +0000)]
Add (senseless) check of close() return code.

8 years agoUse exfat_print_info() in exfatfsck.
relan [Tue, 9 Nov 2010 19:04:18 +0000 (19:04 +0000)]
Use exfat_print_info() in exfatfsck.

8 years agoAdd a function that prints basic information about FS to stdout.
relan [Tue, 9 Nov 2010 19:02:51 +0000 (19:02 +0000)]
Add a function that prints basic information about FS to stdout.

8 years agoInterpret version field as a structure for convenience.
relan [Tue, 9 Nov 2010 18:58:13 +0000 (18:58 +0000)]
Interpret version field as a structure for convenience.

8 years agoexfat_count_free_clusters() should not modify the argument.
relan [Tue, 9 Nov 2010 18:42:35 +0000 (18:42 +0000)]
exfat_count_free_clusters() should not modify the argument.

8 years agoAdd facilities for printing byte values in human-readable form.
relan [Tue, 9 Nov 2010 18:13:41 +0000 (18:13 +0000)]
Add facilities for printing byte values in human-readable form.

I.e. with the SI prefixes.

8 years agoMove bitmap macros to header to be used by other units.
relan [Tue, 9 Nov 2010 15:16:29 +0000 (15:16 +0000)]
Move bitmap macros to header to be used by other units.

8 years agoClean up FS info printing in exfatfsck.
relan [Mon, 8 Nov 2010 17:16:10 +0000 (17:16 +0000)]
Clean up FS info printing in exfatfsck.

8 years agoRemove from exfatfsck code that prints low-level info about FS.
relan [Mon, 8 Nov 2010 17:10:01 +0000 (17:10 +0000)]
Remove from exfatfsck code that prints low-level info about FS.

Now there is a separate utility for this (sbdump).

8 years agoAdd a small utility sbdump.
relan [Mon, 8 Nov 2010 17:01:44 +0000 (17:01 +0000)]
Add a small utility sbdump.

It prints exFAT super block contents in human-readable form.

8 years agoRename exfatck to exfatfsck.
relan [Mon, 8 Nov 2010 16:51:36 +0000 (16:51 +0000)]
Rename exfatck to exfatfsck.

8 years agoBump version to 0.9.3 and update changelog.
relan [Sat, 25 Sep 2010 09:45:29 +0000 (09:45 +0000)]
Bump version to 0.9.3 and update changelog.

8 years agoAdd changelog under source control.
relan [Sat, 25 Sep 2010 09:34:14 +0000 (09:34 +0000)]
Add changelog under source control.

8 years agoReport block size = fragment size = cluster size.
relan [Sun, 19 Sep 2010 10:40:40 +0000 (10:40 +0000)]
Report block size = fragment size = cluster size.

This fixes displaying of FS size under Mac OS X.

8 years agoAdd mount.exfat-fuse man page under source control.
relan [Tue, 7 Sep 2010 18:20:12 +0000 (18:20 +0000)]
Add mount.exfat-fuse man page under source control.

8 years agoDefine __DARWIN_UNIX03=1.
relan [Tue, 7 Sep 2010 18:01:37 +0000 (18:01 +0000)]
Define __DARWIN_UNIX03=1.

This makes timezone variable available (it can be used instead of the
deprecated timezone() function).

8 years agoImprove comment about __DARWIN_64_BIT_INO_T.
relan [Tue, 7 Sep 2010 17:54:52 +0000 (17:54 +0000)]
Improve comment about __DARWIN_64_BIT_INO_T.

8 years agoImprove timestamps resolution from 2 sec to 1 sec.
relan [Sun, 5 Sep 2010 09:10:18 +0000 (09:10 +0000)]
Improve timestamps resolution from 2 sec to 1 sec.

8 years agoImplement directories shrinking.
relan [Sat, 21 Aug 2010 09:41:10 +0000 (09:41 +0000)]
Implement directories shrinking.

8 years agoModify entry offset meaning.
relan [Sat, 21 Aug 2010 08:07:50 +0000 (08:07 +0000)]
Modify entry offset meaning.

Now it's not offset within a cluster, but offset from the beginning of
a directory.

8 years agoAdd assertion.
relan [Sat, 21 Aug 2010 08:02:07 +0000 (08:02 +0000)]
Add assertion.

8 years agoFix debug message.
relan [Sun, 25 Jul 2010 09:26:14 +0000 (09:26 +0000)]
Fix debug message.

8 years agoBump version to 0.9.2.
relan [Sat, 24 Jul 2010 10:10:00 +0000 (10:10 +0000)]
Bump version to 0.9.2.

8 years agoImprove allowed file name characters filter.
relan [Sat, 24 Jul 2010 10:06:26 +0000 (10:06 +0000)]
Improve allowed file name characters filter.

8 years agoAdd #include guard for version.h.
relan [Sun, 11 Jul 2010 09:28:11 +0000 (09:28 +0000)]
Add #include guard for version.h.

8 years agoUnify error messages.
relan [Sun, 11 Jul 2010 09:22:41 +0000 (09:22 +0000)]
Unify error messages.

8 years agoCheck upcase table and clusters bitmap presence on mount.
relan [Sun, 11 Jul 2010 09:20:40 +0000 (09:20 +0000)]
Check upcase table and clusters bitmap presence on mount.

8 years agoCopy the whole name buffer on renaming.
relan [Tue, 6 Jul 2010 18:59:39 +0000 (18:59 +0000)]
Copy the whole name buffer on renaming.

Avoid garbage after null character.

8 years agoAlways erase output name buffer in exfat_split().
relan [Tue, 6 Jul 2010 18:54:36 +0000 (18:54 +0000)]
Always erase output name buffer in exfat_split().

Avoid garbage after null character.

8 years agoAdd byte order macros for *BSD and Solaris.
relan [Sat, 26 Jun 2010 15:04:07 +0000 (15:04 +0000)]
Add byte order macros for *BSD and Solaris.

Signed-off-by: Albert Lee <triskelios@gmail.com>
8 years agoDo not assume that compiler is GCC.
relan [Sat, 26 Jun 2010 14:59:13 +0000 (14:59 +0000)]
Do not assume that compiler is GCC.

Add GCC-specific options only when CCFLAGS is not set and compiler is
actually GCC.

8 years agoBump version to 0.9.1.
relan [Sat, 12 Jun 2010 10:59:52 +0000 (10:59 +0000)]
Bump version to 0.9.1.

8 years agoMove version constants into a separate header.
relan [Sat, 12 Jun 2010 10:38:35 +0000 (10:38 +0000)]
Move version constants into a separate header.

8 years agoDo not use unions for date and time conversion.
relan [Thu, 10 Jun 2010 16:49:21 +0000 (16:49 +0000)]
Do not use unions for date and time conversion.

This helps to avoid byte order problems.

8 years agoFix byte order macros for Mac OS X.
relan [Thu, 10 Jun 2010 16:38:20 +0000 (16:38 +0000)]
Fix byte order macros for Mac OS X.

Big-endian machines were erroneously detected as little-endian ones on
Mac OS X.

8 years agoAdd __packed__ attribute to all on-disk structures definitions.
relan [Wed, 9 Jun 2010 20:45:38 +0000 (20:45 +0000)]
Add __packed__ attribute to all on-disk structures definitions.

8 years agoMake fsck open volume in read-only mode.
relan [Wed, 9 Jun 2010 19:40:06 +0000 (19:40 +0000)]
Make fsck open volume in read-only mode.

It should not make any changes to FS.

8 years agoAllow clusters bitmap size to exceed minimum value.
relan [Tue, 1 Jun 2010 17:11:16 +0000 (17:11 +0000)]
Allow clusters bitmap size to exceed minimum value.

8 years agoParse root directory on mount to catch FS errors earlier.
relan [Thu, 27 May 2010 19:14:33 +0000 (19:14 +0000)]
Parse root directory on mount to catch FS errors earlier.

8 years agoAdd cluster number endianness conversion when writing it to FAT.
relan [Fri, 21 May 2010 16:36:45 +0000 (16:36 +0000)]
Add cluster number endianness conversion when writing it to FAT.

8 years agoAdd missing endianness conversion for cluster number.
relan [Sun, 16 May 2010 09:02:27 +0000 (09:02 +0000)]
Add missing endianness conversion for cluster number.

8 years agoUse b2o() in exfat_c2o() for consistency.
relan [Sun, 16 May 2010 08:54:06 +0000 (08:54 +0000)]
Use b2o() in exfat_c2o() for consistency.

8 years agoCreate symlink mount.exfat -> mount.exfat-fuse on install.
relan [Sat, 24 Apr 2010 07:26:53 +0000 (07:26 +0000)]
Create symlink mount.exfat -> mount.exfat-fuse on install.

This is required for udev.

8 years agoCheck FAT count on mount.
relan [Sat, 24 Apr 2010 07:13:05 +0000 (07:13 +0000)]
Check FAT count on mount.

8 years agoCheck FS version on mount.
relan [Sat, 24 Apr 2010 07:08:37 +0000 (07:08 +0000)]
Check FS version on mount.

8 years agoFix integer overflow in block number calculation code.
relan [Tue, 20 Apr 2010 19:05:18 +0000 (19:05 +0000)]
Fix integer overflow in block number calculation code.

8 years agoAdd fsname option (required for automounting).
relan [Tue, 13 Apr 2010 17:48:06 +0000 (17:48 +0000)]
Add fsname option (required for automounting).

8 years agoImplement dynamic allocation of mount options string.
relan [Tue, 13 Apr 2010 17:39:41 +0000 (17:39 +0000)]
Implement dynamic allocation of mount options string.

Also enable allow_other and blkdev options by default.

8 years agoUpdate superblock format definition.
relan [Sun, 11 Apr 2010 07:34:39 +0000 (07:34 +0000)]
Update superblock format definition.

8 years agoBump version to 0.9.0.
relan [Mon, 22 Feb 2010 08:47:39 +0000 (08:47 +0000)]
Bump version to 0.9.0.

8 years agoImplement dynamic calculation of free clusters count.
relan [Mon, 15 Feb 2010 19:22:23 +0000 (19:22 +0000)]
Implement dynamic calculation of free clusters count.

Now df utility behaves properly.

8 years agoFix truncate().
relan [Sat, 13 Feb 2010 09:53:01 +0000 (09:53 +0000)]
Fix truncate().

Rollback clusters allocation when FS runs out of space.

8 years agoFix truncate(): it always returned 0 instead of actual result.
relan [Sat, 13 Feb 2010 08:57:16 +0000 (08:57 +0000)]
Fix truncate(): it always returned 0 instead of actual result.

8 years agoPass actual return code from lookup_name() instead of -ENOENT.
relan [Wed, 10 Feb 2010 18:16:39 +0000 (18:16 +0000)]
Pass actual return code from lookup_name() instead of -ENOENT.

8 years agoFix rename(): replace target if it exists.
relan [Sun, 7 Feb 2010 07:26:10 +0000 (07:26 +0000)]
Fix rename(): replace target if it exists.

8 years agoFix fsck: now it can handle paths or any length.
relan [Sat, 30 Jan 2010 10:23:03 +0000 (10:23 +0000)]
Fix fsck: now it can handle paths or any length.

8 years agoAdd cluster size check on mount.
relan [Sun, 24 Jan 2010 10:36:40 +0000 (10:36 +0000)]
Add cluster size check on mount.

It must not be greater than 32 MB.

8 years agoDo not write EOD when growing directory.
relan [Sun, 24 Jan 2010 10:23:08 +0000 (10:23 +0000)]
Do not write EOD when growing directory.

No need to do it because freshly allocated space is erased on truncate.

8 years agoErase allocated space when growing a file.
relan [Sun, 24 Jan 2010 10:21:06 +0000 (10:21 +0000)]
Erase allocated space when growing a file.

8 years agoRename entries structures for consistency.
relan [Thu, 14 Jan 2010 19:48:42 +0000 (19:48 +0000)]
Rename entries structures for consistency.

8 years agoCheck file name for characters that are not allowed.
relan [Thu, 14 Jan 2010 19:38:50 +0000 (19:38 +0000)]
Check file name for characters that are not allowed.

8 years agoFix Mac OS X support.
relan [Thu, 14 Jan 2010 19:15:09 +0000 (19:15 +0000)]
Fix Mac OS X support.

8 years agoMove endianness stuff into a separate header.
relan [Tue, 12 Jan 2010 20:08:03 +0000 (20:08 +0000)]
Move endianness stuff into a separate header.

8 years agoAdd file with GPLv3 text.
relan [Sun, 10 Jan 2010 20:01:04 +0000 (20:01 +0000)]
Add file with GPLv3 text.

8 years agoChange source files headings to meet FSF recommendations.
relan [Sun, 10 Jan 2010 19:53:49 +0000 (19:53 +0000)]
Change source files headings to meet FSF recommendations.

8 years agoAdd patchlevel constant.
relan [Sun, 10 Jan 2010 08:40:11 +0000 (08:40 +0000)]
Add patchlevel constant.

8 years agoReturn non-zero code from fsck if errors were found.
relan [Sun, 10 Jan 2010 08:34:44 +0000 (08:34 +0000)]
Return non-zero code from fsck if errors were found.

8 years agoImplement rename in FUSE driver.
relan [Sun, 10 Jan 2010 08:19:18 +0000 (08:19 +0000)]
Implement rename in FUSE driver.

8 years agoImplement rename in libexfat.
relan [Sun, 10 Jan 2010 08:18:49 +0000 (08:18 +0000)]
Implement rename in libexfat.

8 years agoMove nodes tree manipulation code into separate functions.
relan [Fri, 8 Jan 2010 09:23:42 +0000 (09:23 +0000)]
Move nodes tree manipulation code into separate functions.

8 years agoBig-endian machines support.
relan [Fri, 8 Jan 2010 09:18:07 +0000 (09:18 +0000)]
Big-endian machines support.

8 years agoAdd noatime mount option.
relan [Fri, 8 Jan 2010 09:08:41 +0000 (09:08 +0000)]
Add noatime mount option.

8 years agoCheck that FS is mounted in read-write mode on node flush.
relan [Fri, 8 Jan 2010 09:06:55 +0000 (09:06 +0000)]
Check that FS is mounted in read-write mode on node flush.

8 years agoClean up mtime updating.
relan [Fri, 8 Jan 2010 09:05:22 +0000 (09:05 +0000)]
Clean up mtime updating.

Call exfat_update_mtime() instead of updating node mtime and setting
dirty bit manually all over the code.

8 years agoAdd function that updates node mtime.
relan [Fri, 8 Jan 2010 09:02:55 +0000 (09:02 +0000)]
Add function that updates node mtime.

8 years agoUpdate atime on read.
relan [Fri, 8 Jan 2010 09:01:24 +0000 (09:01 +0000)]
Update atime on read.

8 years agoAdd function that updates node atime.
relan [Fri, 8 Jan 2010 08:56:44 +0000 (08:56 +0000)]
Add function that updates node atime.

8 years agoAdd additional check of cluster index on freeing.
relan [Fri, 8 Jan 2010 08:55:40 +0000 (08:55 +0000)]
Add additional check of cluster index on freeing.

8 years agoUpdate parent directory mtime when file is removed.
relan [Fri, 8 Jan 2010 08:54:32 +0000 (08:54 +0000)]
Update parent directory mtime when file is removed.

8 years agoOpen special file in RO mode if FS was mounted with the ro option.
relan [Fri, 8 Jan 2010 08:53:20 +0000 (08:53 +0000)]
Open special file in RO mode if FS was mounted with the ro option.

8 years agoImplement uid and gid mount options.
relan [Fri, 8 Jan 2010 08:50:08 +0000 (08:50 +0000)]
Implement uid and gid mount options.

8 years agoFix options string parsing.
relan [Tue, 22 Dec 2009 21:53:00 +0000 (21:53 +0000)]
Fix options string parsing.

8 years agoFix format strings warnings.
relan [Tue, 22 Dec 2009 21:49:56 +0000 (21:49 +0000)]
Fix format strings warnings.

8 years agoImplement utimens (file time stamps updating).
relan [Mon, 21 Dec 2009 20:20:47 +0000 (20:20 +0000)]
Implement utimens (file time stamps updating).

8 years agoUpdate mtime of parent directory when file is created.
relan [Mon, 21 Dec 2009 19:56:19 +0000 (19:56 +0000)]
Update mtime of parent directory when file is created.

8 years agoUpdate mtime on file truncation.
relan [Mon, 21 Dec 2009 18:53:33 +0000 (18:53 +0000)]
Update mtime on file truncation.

8 years agoSet st_blocks field in struct stat.
relan [Sun, 20 Dec 2009 16:44:47 +0000 (16:44 +0000)]
Set st_blocks field in struct stat.

Now du utility behaves properly.

8 years agoFix format string.
relan [Sun, 20 Dec 2009 16:17:57 +0000 (16:17 +0000)]
Fix format string.

8 years agoFix format strings warnings.
relan [Sun, 20 Dec 2009 16:14:10 +0000 (16:14 +0000)]
Fix format strings warnings.

8 years agoAdd attributes for printf-style functions.
relan [Sun, 20 Dec 2009 16:05:30 +0000 (16:05 +0000)]
Add attributes for printf-style functions.

8 years agoImplement umask, dmask and fmask mount options.
relan [Sun, 20 Dec 2009 15:44:42 +0000 (15:44 +0000)]
Implement umask, dmask and fmask mount options.

8 years agoPass struct exfat to exfat_stat().
relan [Sun, 20 Dec 2009 15:31:29 +0000 (15:31 +0000)]
Pass struct exfat to exfat_stat().