OSDN Git Service

android-x86/external-exfat.git
11 years agoOS X: set deployment target to Mac OS X 10.5 Leopard.
resver [Sat, 8 Dec 2012 11:46:15 +0000 (11:46 +0000)]
OS X: set deployment target to Mac OS X 10.5 Leopard.

git-svn-id: http://exfat.googlecode.com/svn/trunk@301 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoOn Linux do BLKROGET ioctl to make sure the device is not read-only: after "blockdev...
resver [Tue, 4 Dec 2012 19:17:52 +0000 (19:17 +0000)]
On Linux do BLKROGET ioctl to make sure the device is not read-only: after "blockdev --setro" kernel still allows to open the device in read-write mode but fails writes.

git-svn-id: http://exfat.googlecode.com/svn/trunk@300 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoRefactored device access mode handling.
resver [Tue, 4 Dec 2012 18:34:01 +0000 (18:34 +0000)]
Refactored device access mode handling.

git-svn-id: http://exfat.googlecode.com/svn/trunk@299 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoOS X support:
resver [Tue, 4 Dec 2012 16:34:03 +0000 (16:34 +0000)]
OS X support:
 - use proper macro for inode numbers bitness management;
 - switch to 64-bit inode numbers (this requires Mac OS X 10.5 or later);
 - switch from unmaintained MacFUSE to OSXFUSE (http://osxfuse.github.com).

git-svn-id: http://exfat.googlecode.com/svn/trunk@298 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoOS X utilities report error if fchmod() fails. Added empty chmod() handler as a worka...
resver [Tue, 4 Dec 2012 16:14:38 +0000 (16:14 +0000)]
OS X utilities report error if fchmod() fails. Added empty chmod() handler as a workaround.

git-svn-id: http://exfat.googlecode.com/svn/trunk@297 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoImproved invalid clusters handling.
resver [Sun, 25 Nov 2012 12:03:51 +0000 (12:03 +0000)]
Improved invalid clusters handling.

git-svn-id: http://exfat.googlecode.com/svn/trunk@296 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoReorganized directories checking: check directory before its files, do not check...
resver [Sat, 24 Nov 2012 09:36:35 +0000 (09:36 +0000)]
Reorganized directories checking: check directory before its files, do not check files if directory is corrupt, check root directory.

git-svn-id: http://exfat.googlecode.com/svn/trunk@295 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoImproved error handling.
resver [Sun, 28 Oct 2012 15:14:25 +0000 (15:14 +0000)]
Improved error handling.

git-svn-id: http://exfat.googlecode.com/svn/trunk@294 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoBumped version to 0.9.8 and updated changelog.
resver [Thu, 9 Aug 2012 17:09:46 +0000 (17:09 +0000)]
Bumped version to 0.9.8 and updated changelog.

git-svn-id: http://exfat.googlecode.com/svn/trunk@292 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoAvoid integer truncation.
resver [Sat, 9 Jun 2012 18:32:49 +0000 (18:32 +0000)]
Avoid integer truncation.

git-svn-id: http://exfat.googlecode.com/svn/trunk@291 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoFixed erasing of label buffer.
resver [Sat, 9 Jun 2012 18:28:22 +0000 (18:28 +0000)]
Fixed erasing of label buffer.

git-svn-id: http://exfat.googlecode.com/svn/trunk@290 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoThe new mkfs rewritten in more declarative style.
resver [Sat, 2 Jun 2012 06:14:13 +0000 (06:14 +0000)]
The new mkfs rewritten in more declarative style.

git-svn-id: http://exfat.googlecode.com/svn/trunk@289 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoExplicitly require C99 and define _GNU_SOURCE to enable all needed functions.
resver [Fri, 18 May 2012 16:05:13 +0000 (16:05 +0000)]
Explicitly require C99 and define _GNU_SOURCE to enable all needed functions.

git-svn-id: http://exfat.googlecode.com/svn/trunk@288 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoDefine FUSE_USE_VERSION only before inclusion of fuse.h, no need to define it globally.
resver [Fri, 18 May 2012 15:52:30 +0000 (15:52 +0000)]
Define FUSE_USE_VERSION only before inclusion of fuse.h, no need to define it globally.

git-svn-id: http://exfat.googlecode.com/svn/trunk@287 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoFixed _FILE_OFFSET_BITS check for the case when it is not defined at all.
resver [Fri, 18 May 2012 15:45:38 +0000 (15:45 +0000)]
Fixed _FILE_OFFSET_BITS check for the case when it is not defined at all.

git-svn-id: http://exfat.googlecode.com/svn/trunk@286 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoFixed copyright years in SConscript.
resver [Fri, 18 May 2012 15:42:49 +0000 (15:42 +0000)]
Fixed copyright years in SConscript.

git-svn-id: http://exfat.googlecode.com/svn/trunk@285 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoRespect CPPFLAGS environment variable in SConscript.
resver [Thu, 17 May 2012 16:32:08 +0000 (16:32 +0000)]
Respect CPPFLAGS environment variable in SConscript.

Signed-off-by: Sven Hoexter <sven@timegate.de>
git-svn-id: http://exfat.googlecode.com/svn/trunk@284 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoFixed handling of characters beyond BMP: UTF-16 surrogate pairs encode Unicode charac...
resver [Mon, 14 May 2012 17:24:02 +0000 (17:24 +0000)]
Fixed handling of characters beyond BMP: UTF-16 surrogate pairs encode Unicode character minus 0x10000.

Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
git-svn-id: http://exfat.googlecode.com/svn/trunk@283 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoFixed file name in heading.
resver [Mon, 7 May 2012 07:32:43 +0000 (07:32 +0000)]
Fixed file name in heading.

git-svn-id: http://exfat.googlecode.com/svn/trunk@282 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoFix copyright years.
resver [Tue, 1 May 2012 09:46:02 +0000 (09:46 +0000)]
Fix copyright years.

git-svn-id: http://exfat.googlecode.com/svn/trunk@281 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoEcho messages to syslog only if stderr is not connected to a terminal.
resver [Tue, 3 Apr 2012 17:52:49 +0000 (17:52 +0000)]
Echo messages to syslog only if stderr is not connected to a terminal.

git-svn-id: http://exfat.googlecode.com/svn/trunk@280 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoSuggest valid cluster size if user specified too small value.
resver [Mon, 19 Mar 2012 17:27:34 +0000 (17:27 +0000)]
Suggest valid cluster size if user specified too small value.

git-svn-id: http://exfat.googlecode.com/svn/trunk@279 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoSelect suitable cluster size when creating a huge FS (128 TB or more).
resver [Mon, 19 Mar 2012 17:12:00 +0000 (17:12 +0000)]
Select suitable cluster size when creating a huge FS (128 TB or more).

git-svn-id: http://exfat.googlecode.com/svn/trunk@278 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoFail to create FS if specified cluster size is too small.
resver [Sun, 18 Mar 2012 13:24:37 +0000 (13:24 +0000)]
Fail to create FS if specified cluster size is too small.

git-svn-id: http://exfat.googlecode.com/svn/trunk@277 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoAdded constant for the last possible valid cluster number.
resver [Sun, 18 Mar 2012 13:05:04 +0000 (13:05 +0000)]
Added constant for the last possible valid cluster number.

git-svn-id: http://exfat.googlecode.com/svn/trunk@276 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoFixed huge sizes formatting.
resver [Sun, 18 Mar 2012 13:02:49 +0000 (13:02 +0000)]
Fixed huge sizes formatting.

git-svn-id: http://exfat.googlecode.com/svn/trunk@275 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoBumped version to 0.9.7 and updated changelog.
resver [Thu, 8 Mar 2012 07:28:21 +0000 (07:28 +0000)]
Bumped version to 0.9.7 and updated changelog.

git-svn-id: http://exfat.googlecode.com/svn/trunk@274 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoFixed format warnings produced by clang.
resver [Sun, 4 Mar 2012 07:39:49 +0000 (07:39 +0000)]
Fixed format warnings produced by clang.

git-svn-id: http://exfat.googlecode.com/svn/trunk@273 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoCorrected error message about device type.
resver [Sun, 4 Mar 2012 07:37:43 +0000 (07:37 +0000)]
Corrected error message about device type.

git-svn-id: http://exfat.googlecode.com/svn/trunk@272 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoAdded ublio support for FreeBSD.
resver [Sun, 4 Mar 2012 07:04:53 +0000 (07:04 +0000)]
Added ublio support for FreeBSD.

git-svn-id: http://exfat.googlecode.com/svn/trunk@271 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoUse a list of libraries in SConscript.
resver [Sat, 3 Mar 2012 18:11:09 +0000 (18:11 +0000)]
Use a list of libraries in SConscript.

git-svn-id: http://exfat.googlecode.com/svn/trunk@270 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoRepresent device as an extensible structure instead of a plain Unix descriptor.
resver [Sat, 3 Mar 2012 07:39:07 +0000 (07:39 +0000)]
Represent device as an extensible structure instead of a plain Unix descriptor.

git-svn-id: http://exfat.googlecode.com/svn/trunk@269 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoSupport building on FreeBSD.
resver [Sat, 3 Mar 2012 06:53:02 +0000 (06:53 +0000)]
Support building on FreeBSD.

git-svn-id: http://exfat.googlecode.com/svn/trunk@268 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoMoved platform-specific configuration code after common.
resver [Sat, 3 Mar 2012 06:16:08 +0000 (06:16 +0000)]
Moved platform-specific configuration code after common.

git-svn-id: http://exfat.googlecode.com/svn/trunk@267 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoFixed use of write() missed in r262.
resver [Thu, 1 Mar 2012 17:23:04 +0000 (17:23 +0000)]
Fixed use of write() missed in r262.

git-svn-id: http://exfat.googlecode.com/svn/trunk@265 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoAdded exfat_seek() interface (wrapper for lseek()).
resver [Thu, 1 Mar 2012 17:01:44 +0000 (17:01 +0000)]
Added exfat_seek() interface (wrapper for lseek()).

git-svn-id: http://exfat.googlecode.com/svn/trunk@264 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoFixed double close on failure to convert volume label to UTF-16.
resver [Mon, 20 Feb 2012 06:33:08 +0000 (06:33 +0000)]
Fixed double close on failure to convert volume label to UTF-16.

git-svn-id: http://exfat.googlecode.com/svn/trunk@263 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoUse exfat_read() and exfat_write() interfaces.
resver [Mon, 20 Feb 2012 06:15:49 +0000 (06:15 +0000)]
Use exfat_read() and exfat_write() interfaces.

git-svn-id: http://exfat.googlecode.com/svn/trunk@262 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoAdded exfat_read() and exfat_write() interfaces (currently just wrappers for read...
resver [Mon, 20 Feb 2012 06:14:18 +0000 (06:14 +0000)]
Added exfat_read() and exfat_write() interfaces (currently just wrappers for read() and write()).

git-svn-id: http://exfat.googlecode.com/svn/trunk@261 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoUse appropriate feature test macro to enable pread() and pwrite() declarations.
resver [Tue, 14 Feb 2012 18:09:51 +0000 (18:09 +0000)]
Use appropriate feature test macro to enable pread() and pwrite() declarations.

git-svn-id: http://exfat.googlecode.com/svn/trunk@260 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoAdded exfat_fsync() function that performs fsync against the specified descriptor.
resver [Tue, 14 Feb 2012 18:05:59 +0000 (18:05 +0000)]
Added exfat_fsync() function that performs fsync against the specified descriptor.

git-svn-id: http://exfat.googlecode.com/svn/trunk@259 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoAdded exfat_close() function that closes the device descriptor.
resver [Tue, 14 Feb 2012 17:53:17 +0000 (17:53 +0000)]
Added exfat_close() function that closes the device descriptor.

git-svn-id: http://exfat.googlecode.com/svn/trunk@258 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoRenamed read/write functions:
resver [Sun, 12 Feb 2012 07:49:26 +0000 (07:49 +0000)]
Renamed read/write functions:

exfat_read_raw()  => exfat_pread()
exfat_write_raw() => exfat_pwrite()
exfat_read()      => exfat_generic_pread()
exfat_write()     => exfat_generic_pwrite()

git-svn-id: http://exfat.googlecode.com/svn/trunk@257 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoFixed mtime centiseconds field initialization for newly created file/directory.
resver [Sat, 4 Feb 2012 08:07:17 +0000 (08:07 +0000)]
Fixed mtime centiseconds field initialization for newly created file/directory.

git-svn-id: http://exfat.googlecode.com/svn/trunk@255 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoUse a more portable way to obtain timezone offset.
resver [Sat, 4 Feb 2012 08:02:08 +0000 (08:02 +0000)]
Use a more portable way to obtain timezone offset.

git-svn-id: http://exfat.googlecode.com/svn/trunk@254 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoMoved time-related stuff into a separate file.
resver [Thu, 2 Feb 2012 20:36:17 +0000 (20:36 +0000)]
Moved time-related stuff into a separate file.

git-svn-id: http://exfat.googlecode.com/svn/trunk@253 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoRemove _XOPEN_SOURCE define since it looks to be not required for Linux.
resver [Wed, 1 Feb 2012 17:30:16 +0000 (17:30 +0000)]
Remove _XOPEN_SOURCE define since it looks to be not required for Linux.

git-svn-id: http://exfat.googlecode.com/svn/trunk@252 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoPut _XOPEN_SOURCE define before any includes as recommended in documentation.
resver [Tue, 31 Jan 2012 16:06:37 +0000 (16:06 +0000)]
Put _XOPEN_SOURCE define before any includes as recommended in documentation.

git-svn-id: http://exfat.googlecode.com/svn/trunk@251 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoFixed minutes field extraction.
resver [Tue, 31 Jan 2012 16:00:58 +0000 (16:00 +0000)]
Fixed minutes field extraction.

git-svn-id: http://exfat.googlecode.com/svn/trunk@250 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoIncreased comments indentation.
resver [Tue, 31 Jan 2012 15:57:52 +0000 (15:57 +0000)]
Increased comments indentation.

git-svn-id: http://exfat.googlecode.com/svn/trunk@249 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoRemoved obsolete FIXME comment.
resver [Sun, 29 Jan 2012 10:14:45 +0000 (10:14 +0000)]
Removed obsolete FIXME comment.

git-svn-id: http://exfat.googlecode.com/svn/trunk@248 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoRemoved obsolete FIXME comment.
resver [Sun, 29 Jan 2012 10:11:43 +0000 (10:11 +0000)]
Removed obsolete FIXME comment.

git-svn-id: http://exfat.googlecode.com/svn/trunk@247 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoAdded default compiler flags for clang.
resver [Sun, 29 Jan 2012 08:50:52 +0000 (08:50 +0000)]
Added default compiler flags for clang.

git-svn-id: http://exfat.googlecode.com/svn/trunk@246 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoRespect CC, CCFLAGS and LDFLAGS environment variables in SConscript.
resver [Sun, 29 Jan 2012 08:48:39 +0000 (08:48 +0000)]
Respect CC, CCFLAGS and LDFLAGS environment variables in SConscript.

git-svn-id: http://exfat.googlecode.com/svn/trunk@245 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoRemove EOD entry handling. The end of a directory should be determined by directory...
resver [Sat, 28 Jan 2012 10:23:27 +0000 (10:23 +0000)]
Remove EOD entry handling. The end of a directory should be determined by directory size.

git-svn-id: http://exfat.googlecode.com/svn/trunk@244 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoBumped version to 0.9.6 and updated changelog.
resver [Sat, 14 Jan 2012 09:23:59 +0000 (09:23 +0000)]
Bumped version to 0.9.6 and updated changelog.

git-svn-id: http://exfat.googlecode.com/svn/trunk@243 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoErase disk in pages instead of sectors. This can speed up mkfs on systems that do...
resver [Sat, 14 Jan 2012 08:29:33 +0000 (08:29 +0000)]
Erase disk in pages instead of sectors. This can speed up mkfs on systems that do not cache access to block devices.

git-svn-id: http://exfat.googlecode.com/svn/trunk@242 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoMore precise rounding for exfat_humanize_bytes().
resver [Sun, 8 Jan 2012 07:58:03 +0000 (07:58 +0000)]
More precise rounding for exfat_humanize_bytes().

git-svn-id: http://exfat.googlecode.com/svn/trunk@241 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoSet ctime to mtime to ensure we don't break programs that rely on ctime (e.g. rsync).
resver [Mon, 2 Jan 2012 19:36:29 +0000 (19:36 +0000)]
Set ctime to mtime to ensure we don't break programs that rely on ctime (e.g. rsync).

Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
git-svn-id: http://exfat.googlecode.com/svn/trunk@240 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoUpdate allocated space percent on unmount.
resver [Sun, 4 Dec 2011 10:32:04 +0000 (10:32 +0000)]
Update allocated space percent on unmount.

git-svn-id: http://exfat.googlecode.com/svn/trunk@238 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoSet "mounted" flag on mount and clear it on unmount (only in RW mode).
resver [Sun, 4 Dec 2011 10:20:02 +0000 (10:20 +0000)]
Set "mounted" flag on mount and clear it on unmount (only in RW mode).

The user will be warned when the volume was not unmounted cleanly.

git-svn-id: http://exfat.googlecode.com/svn/trunk@237 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoRetry to mount FS in read-only mode if device is write-protected.
resver [Sun, 27 Nov 2011 10:07:11 +0000 (10:07 +0000)]
Retry to mount FS in read-only mode if device is write-protected.

This behavior is enabled by "ro_fallback" option. When an attempt to mount in RW mode fails and "ro_fallback" option is present, we try to mount in RO mode. If this succeeds, we set ro_fallback flag so that the caller could add "ro" option for FUSE.

git-svn-id: http://exfat.googlecode.com/svn/trunk@236 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoOn failure to open device print mode we attempted to open it in.
resver [Sun, 27 Nov 2011 09:49:37 +0000 (09:49 +0000)]
On failure to open device print mode we attempted to open it in.

git-svn-id: http://exfat.googlecode.com/svn/trunk@235 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoMore concrete error message on failure to allocate memory for the super block.
resver [Sun, 27 Nov 2011 09:43:53 +0000 (09:43 +0000)]
More concrete error message on failure to allocate memory for the super block.

git-svn-id: http://exfat.googlecode.com/svn/trunk@234 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoParse options and open device before super block allocation.
resver [Sun, 27 Nov 2011 09:42:41 +0000 (09:42 +0000)]
Parse options and open device before super block allocation.

git-svn-id: http://exfat.googlecode.com/svn/trunk@233 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoGet rid of realpath() in mkfs.
resver [Sat, 19 Nov 2011 14:09:01 +0000 (14:09 +0000)]
Get rid of realpath() in mkfs.

git-svn-id: http://exfat.googlecode.com/svn/trunk@232 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoErase whole clusters instead of sectors. This fixes write performance regression...
resver [Sat, 12 Nov 2011 21:27:00 +0000 (21:27 +0000)]
Erase whole clusters instead of sectors. This fixes write performance regression caused by r207.

git-svn-id: http://exfat.googlecode.com/svn/trunk@231 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoFixed possible memory leak in readdir() when it detects file system corruption.
resver [Wed, 31 Aug 2011 16:35:31 +0000 (16:35 +0000)]
Fixed possible memory leak in readdir() when it detects file system corruption.

git-svn-id: http://exfat.googlecode.com/svn/trunk@228 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoCheck EOD entry presence.
resver [Wed, 31 Aug 2011 16:30:41 +0000 (16:30 +0000)]
Check EOD entry presence.

git-svn-id: http://exfat.googlecode.com/svn/trunk@227 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoBumped version to 0.9.5 and updated changelog.
resver [Sun, 15 May 2011 10:37:42 +0000 (10:37 +0000)]
Bumped version to 0.9.5 and updated changelog.

git-svn-id: http://exfat.googlecode.com/svn/trunk@226 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoClean up meta2 flags.
resver [Sat, 14 May 2011 11:36:15 +0000 (11:36 +0000)]
Clean up meta2 flags.

git-svn-id: http://exfat.googlecode.com/svn/trunk@225 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoFixed memory leak on an error handling path in fsck.
resver [Wed, 4 May 2011 20:52:07 +0000 (20:52 +0000)]
Fixed memory leak on an error handling path in fsck.

git-svn-id: http://exfat.googlecode.com/svn/trunk@224 60bc1c72-a15a-11de-b98f-4500b42dc123

12 years agoFixed memory leak on error handling paths in mkfs.
resver [Wed, 4 May 2011 20:50:53 +0000 (20:50 +0000)]
Fixed memory leak on error handling paths in mkfs.

git-svn-id: http://exfat.googlecode.com/svn/trunk@223 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoUse exfat_open() instead of calling open() directly.
resver [Fri, 22 Apr 2011 19:27:00 +0000 (19:27 +0000)]
Use exfat_open() instead of calling open() directly.

git-svn-id: http://exfat.googlecode.com/svn/trunk@222 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoAdded exfat_open() function that opens the special file and ensures that this is...
resver [Fri, 22 Apr 2011 19:24:08 +0000 (19:24 +0000)]
Added exfat_open() function that opens the special file and ensures that this is either a block device or a regular file.

git-svn-id: http://exfat.googlecode.com/svn/trunk@221 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoTake structures alignment into consideraion while erasing the device.
resver [Sat, 2 Apr 2011 08:28:48 +0000 (08:28 +0000)]
Take structures alignment into consideraion while erasing the device.

git-svn-id: http://exfat.googlecode.com/svn/trunk@220 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoFixed root directory creation: EOD entry was missing.
resver [Thu, 31 Mar 2011 18:21:09 +0000 (18:21 +0000)]
Fixed root directory creation: EOD entry was missing.

git-svn-id: http://exfat.googlecode.com/svn/trunk@219 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoFixed error message format.
resver [Thu, 31 Mar 2011 18:12:46 +0000 (18:12 +0000)]
Fixed error message format.

git-svn-id: http://exfat.googlecode.com/svn/trunk@218 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoCheck that either a block device or a regular file is opened.
resver [Sat, 19 Mar 2011 15:35:55 +0000 (15:35 +0000)]
Check that either a block device or a regular file is opened.

git-svn-id: http://exfat.googlecode.com/svn/trunk@217 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoDo not link utils with libfuse.
resver [Sat, 12 Mar 2011 08:16:41 +0000 (08:16 +0000)]
Do not link utils with libfuse.

git-svn-id: http://exfat.googlecode.com/svn/trunk@216 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoBumped version to 0.9.4 and updated changelog.
resver [Sat, 5 Mar 2011 17:05:44 +0000 (17:05 +0000)]
Bumped version to 0.9.4 and updated changelog.

git-svn-id: http://exfat.googlecode.com/svn/trunk@215 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoUpdated man pages.
resver [Tue, 1 Mar 2011 05:41:43 +0000 (05:41 +0000)]
Updated man pages.

git-svn-id: http://exfat.googlecode.com/svn/trunk@214 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoAdded -v option that prints version and copyright.
resver [Tue, 1 Mar 2011 05:35:14 +0000 (05:35 +0000)]
Added -v option that prints version and copyright.

git-svn-id: http://exfat.googlecode.com/svn/trunk@213 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoAdded partition first sector parameter to mkfs.
resver [Sat, 26 Feb 2011 14:04:58 +0000 (14:04 +0000)]
Added partition first sector parameter to mkfs.

git-svn-id: http://exfat.googlecode.com/svn/trunk@212 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoAdded missing endianness conversion in VBR verification function.
resver [Wed, 23 Feb 2011 09:27:36 +0000 (09:27 +0000)]
Added missing endianness conversion in VBR verification function.

git-svn-id: http://exfat.googlecode.com/svn/trunk@211 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoRenamed block to sector to avoid confusion.
resver [Wed, 23 Feb 2011 08:38:53 +0000 (08:38 +0000)]
Renamed block to sector to avoid confusion.

git-svn-id: http://exfat.googlecode.com/svn/trunk@210 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoKeep cache on file open. This slightly improves read performance by avoiding extra...
resver [Tue, 22 Feb 2011 19:20:47 +0000 (19:20 +0000)]
Keep cache on file open. This slightly improves read performance by avoiding extra read requests.

git-svn-id: http://exfat.googlecode.com/svn/trunk@209 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoMoved FUSE arguments construction into a separate function to simplify error handling.
resver [Sun, 20 Feb 2011 11:57:46 +0000 (11:57 +0000)]
Moved FUSE arguments construction into a separate function to simplify error handling.

git-svn-id: http://exfat.googlecode.com/svn/trunk@208 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoAdded blksize option that should solve "Invalid argument" error while mounting a...
resver [Sun, 20 Feb 2011 10:32:39 +0000 (10:32 +0000)]
Added blksize option that should solve "Invalid argument" error while mounting a volume from a disk with sector size greater than 512 bytes.

git-svn-id: http://exfat.googlecode.com/svn/trunk@207 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoInitialize libexfat before FUSE arguments construction.
resver [Sun, 20 Feb 2011 10:24:27 +0000 (10:24 +0000)]
Initialize libexfat before FUSE arguments construction.

git-svn-id: http://exfat.googlecode.com/svn/trunk@206 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoAdded dumpexfat man page.
resver [Sat, 19 Feb 2011 14:30:22 +0000 (14:30 +0000)]
Added dumpexfat man page.

git-svn-id: http://exfat.googlecode.com/svn/trunk@205 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoAdded exfatlabel man page.
resver [Sat, 19 Feb 2011 14:14:25 +0000 (14:14 +0000)]
Added exfatlabel man page.

git-svn-id: http://exfat.googlecode.com/svn/trunk@204 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoAdded exfatfsck man page.
resver [Sat, 19 Feb 2011 13:53:16 +0000 (13:53 +0000)]
Added exfatfsck man page.

git-svn-id: http://exfat.googlecode.com/svn/trunk@203 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoAdded -u option for dumpexfat that prints used sectors (useful for fast FS cloning).
resver [Sat, 5 Feb 2011 14:36:45 +0000 (14:36 +0000)]
Added -u option for dumpexfat that prints used sectors (useful for fast FS cloning).

git-svn-id: http://exfat.googlecode.com/svn/trunk@202 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoReorganized SConstruct, added install targets for utils.
resver [Sat, 29 Jan 2011 20:56:35 +0000 (20:56 +0000)]
Reorganized SConstruct, added install targets for utils.

git-svn-id: http://exfat.googlecode.com/svn/trunk@201 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoCheck that volume size is sufficient to contain file system.
resver [Wed, 26 Jan 2011 18:53:35 +0000 (18:53 +0000)]
Check that volume size is sufficient to contain file system.

git-svn-id: http://exfat.googlecode.com/svn/trunk@200 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoRenamed block to sector in the output of mkexfatfs, exfatfsck and dumpexfat utilities...
resver [Mon, 24 Jan 2011 18:13:41 +0000 (18:13 +0000)]
Renamed block to sector in the output of mkexfatfs, exfatfsck and dumpexfat utilities to avoid confusion.

git-svn-id: http://exfat.googlecode.com/svn/trunk@199 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoImproved dumpexfat: now it also prints volume label, free sectors and free clusters...
resver [Mon, 24 Jan 2011 17:57:38 +0000 (17:57 +0000)]
Improved dumpexfat: now it also prints volume label, free sectors and free clusters count.

git-svn-id: http://exfat.googlecode.com/svn/trunk@198 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoFixed alignment of big numbers in exfat_print_info().
resver [Sat, 22 Jan 2011 18:55:56 +0000 (18:55 +0000)]
Fixed alignment of big numbers in exfat_print_info().

git-svn-id: http://exfat.googlecode.com/svn/trunk@197 60bc1c72-a15a-11de-b98f-4500b42dc123

13 years agoFixed alignment of big numbers in dumpexfat.
resver [Sat, 22 Jan 2011 18:51:17 +0000 (18:51 +0000)]
Fixed alignment of big numbers in dumpexfat.

git-svn-id: http://exfat.googlecode.com/svn/trunk@196 60bc1c72-a15a-11de-b98f-4500b42dc123