OSDN Git Service
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.
relan [Wed, 9 Jun 2010 20:45:38 +0000 (20:45 +0000)]
Add __packed__ attribute to all on-disk structures definitions.
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.
relan [Tue, 1 Jun 2010 17:11:16 +0000 (17:11 +0000)]
Allow clusters bitmap size to exceed minimum value.
relan [Thu, 27 May 2010 19:14:33 +0000 (19:14 +0000)]
Parse root directory on mount to catch FS errors earlier.
relan [Fri, 21 May 2010 16:36:45 +0000 (16:36 +0000)]
Add cluster number endianness conversion when writing it to FAT.
relan [Sun, 16 May 2010 09:02:27 +0000 (09:02 +0000)]
Add missing endianness conversion for cluster number.
relan [Sun, 16 May 2010 08:54:06 +0000 (08:54 +0000)]
Use b2o() in exfat_c2o() for consistency.
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.
relan [Sat, 24 Apr 2010 07:13:05 +0000 (07:13 +0000)]
Check FAT count on mount.
relan [Sat, 24 Apr 2010 07:08:37 +0000 (07:08 +0000)]
Check FS version on mount.
relan [Tue, 20 Apr 2010 19:05:18 +0000 (19:05 +0000)]
Fix integer overflow in block number calculation code.
relan [Tue, 13 Apr 2010 17:48:06 +0000 (17:48 +0000)]
Add fsname option (required for automounting).
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.
relan [Sun, 11 Apr 2010 07:34:39 +0000 (07:34 +0000)]
Update superblock format definition.
relan [Mon, 22 Feb 2010 08:47:39 +0000 (08:47 +0000)]
Bump version to 0.9.0.
relan [Mon, 15 Feb 2010 19:22:23 +0000 (19:22 +0000)]
Implement dynamic calculation of free clusters count.
Now df utility behaves properly.
relan [Sat, 13 Feb 2010 09:53:01 +0000 (09:53 +0000)]
Fix truncate().
Rollback clusters allocation when FS runs out of space.
relan [Sat, 13 Feb 2010 08:57:16 +0000 (08:57 +0000)]
Fix truncate(): it always returned 0 instead of actual result.
relan [Wed, 10 Feb 2010 18:16:39 +0000 (18:16 +0000)]
Pass actual return code from lookup_name() instead of -ENOENT.
relan [Sun, 7 Feb 2010 07:26:10 +0000 (07:26 +0000)]
Fix rename(): replace target if it exists.
relan [Sat, 30 Jan 2010 10:23:03 +0000 (10:23 +0000)]
Fix fsck: now it can handle paths or any length.
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.
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.
relan [Sun, 24 Jan 2010 10:21:06 +0000 (10:21 +0000)]
Erase allocated space when growing a file.
relan [Thu, 14 Jan 2010 19:48:42 +0000 (19:48 +0000)]
Rename entries structures for consistency.
relan [Thu, 14 Jan 2010 19:38:50 +0000 (19:38 +0000)]
Check file name for characters that are not allowed.
relan [Thu, 14 Jan 2010 19:15:09 +0000 (19:15 +0000)]
Fix Mac OS X support.
relan [Tue, 12 Jan 2010 20:08:03 +0000 (20:08 +0000)]
Move endianness stuff into a separate header.
relan [Sun, 10 Jan 2010 20:01:04 +0000 (20:01 +0000)]
Add file with GPLv3 text.
relan [Sun, 10 Jan 2010 19:53:49 +0000 (19:53 +0000)]
Change source files headings to meet FSF recommendations.
relan [Sun, 10 Jan 2010 08:40:11 +0000 (08:40 +0000)]
Add patchlevel constant.
relan [Sun, 10 Jan 2010 08:34:44 +0000 (08:34 +0000)]
Return non-zero code from fsck if errors were found.
relan [Sun, 10 Jan 2010 08:19:18 +0000 (08:19 +0000)]
Implement rename in FUSE driver.
relan [Sun, 10 Jan 2010 08:18:49 +0000 (08:18 +0000)]
Implement rename in libexfat.
relan [Fri, 8 Jan 2010 09:23:42 +0000 (09:23 +0000)]
Move nodes tree manipulation code into separate functions.
relan [Fri, 8 Jan 2010 09:18:07 +0000 (09:18 +0000)]
Big-endian machines support.
relan [Fri, 8 Jan 2010 09:08:41 +0000 (09:08 +0000)]
Add noatime mount option.
relan [Fri, 8 Jan 2010 09:06:55 +0000 (09:06 +0000)]
Check that FS is mounted in read-write mode on node flush.
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.
relan [Fri, 8 Jan 2010 09:02:55 +0000 (09:02 +0000)]
Add function that updates node mtime.
relan [Fri, 8 Jan 2010 09:01:24 +0000 (09:01 +0000)]
Update atime on read.
relan [Fri, 8 Jan 2010 08:56:44 +0000 (08:56 +0000)]
Add function that updates node atime.
relan [Fri, 8 Jan 2010 08:55:40 +0000 (08:55 +0000)]
Add additional check of cluster index on freeing.
relan [Fri, 8 Jan 2010 08:54:32 +0000 (08:54 +0000)]
Update parent directory mtime when file is removed.
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.
relan [Fri, 8 Jan 2010 08:50:08 +0000 (08:50 +0000)]
Implement uid and gid mount options.
relan [Tue, 22 Dec 2009 21:53:00 +0000 (21:53 +0000)]
Fix options string parsing.
relan [Tue, 22 Dec 2009 21:49:56 +0000 (21:49 +0000)]
Fix format strings warnings.
relan [Mon, 21 Dec 2009 20:20:47 +0000 (20:20 +0000)]
Implement utimens (file time stamps updating).
relan [Mon, 21 Dec 2009 19:56:19 +0000 (19:56 +0000)]
Update mtime of parent directory when file is created.
relan [Mon, 21 Dec 2009 18:53:33 +0000 (18:53 +0000)]
Update mtime on file truncation.
relan [Sun, 20 Dec 2009 16:44:47 +0000 (16:44 +0000)]
Set st_blocks field in struct stat.
Now du utility behaves properly.
relan [Sun, 20 Dec 2009 16:17:57 +0000 (16:17 +0000)]
Fix format string.
relan [Sun, 20 Dec 2009 16:14:10 +0000 (16:14 +0000)]
Fix format strings warnings.
relan [Sun, 20 Dec 2009 16:05:30 +0000 (16:05 +0000)]
Add attributes for printf-style functions.
relan [Sun, 20 Dec 2009 15:44:42 +0000 (15:44 +0000)]
Implement umask, dmask and fmask mount options.
relan [Sun, 20 Dec 2009 15:31:29 +0000 (15:31 +0000)]
Pass struct exfat to exfat_stat().
relan [Sun, 20 Dec 2009 15:27:17 +0000 (15:27 +0000)]
Pass mount options to exfat_mount().
relan [Sun, 20 Dec 2009 10:22:25 +0000 (10:22 +0000)]
Make all FUSE operations static.
relan [Sun, 20 Dec 2009 10:19:20 +0000 (10:19 +0000)]
Unify alignment of * in functions prototypes.
relan [Sun, 20 Dec 2009 10:10:10 +0000 (10:10 +0000)]
Implement mknod and mkdir in FUSE driver.
relan [Sun, 20 Dec 2009 10:09:29 +0000 (10:09 +0000)]
Implement mknod and mkdir in libexfat.
relan [Sun, 20 Dec 2009 09:54:17 +0000 (09:54 +0000)]
Add file name hash calculation function.
relan [Sat, 19 Dec 2009 12:52:03 +0000 (12:52 +0000)]
Fix file flag updating on node flush.
Empty files must be marked as fragmented.
relan [Sat, 19 Dec 2009 11:59:13 +0000 (11:59 +0000)]
Fix error message in fsck.
relan [Sat, 19 Dec 2009 11:24:53 +0000 (11:24 +0000)]
Check exfat_truncate() return value in exfat_write().
relan [Tue, 15 Dec 2009 22:14:44 +0000 (22:14 +0000)]
Add file size fields check.
Also add comment about what those fields probably mean.
relan [Tue, 15 Dec 2009 22:11:13 +0000 (22:11 +0000)]
Fix file size updating on node flush.
It must be saved into two fields.
relan [Tue, 15 Dec 2009 22:10:23 +0000 (22:10 +0000)]
Fix FS structure definition.
There are two fields that contain file size.
relan [Sun, 13 Dec 2009 10:48:54 +0000 (10:48 +0000)]
Move new node allocation and initialization into functions.
relan [Sun, 13 Dec 2009 10:37:32 +0000 (10:37 +0000)]
Allocate buffer immediately in opendir() function.
This will allow to avoid code duplication in future.
relan [Sun, 13 Dec 2009 10:23:42 +0000 (10:23 +0000)]
Split checksum calculation into a separate function.
relan [Sun, 13 Dec 2009 10:19:52 +0000 (10:19 +0000)]
Move DIV_ROUND_UP macro to header to be used by other units.
relan [Sun, 29 Nov 2009 09:40:20 +0000 (09:40 +0000)]
Daemonize on mount.
relan [Sat, 28 Nov 2009 18:48:21 +0000 (18:48 +0000)]
Fix memory leak.
Free root node structure on unmount.
relan [Sat, 28 Nov 2009 18:08:24 +0000 (18:08 +0000)]
Implement unlink and rmdir in the FUSE driver.
relan [Sat, 28 Nov 2009 18:07:02 +0000 (18:07 +0000)]
Implement unlink and rmdir in libexfat.
relan [Sat, 28 Nov 2009 17:47:15 +0000 (17:47 +0000)]
Add function that calculates UTF-16 string length.
It will be used in future.
relan [Sat, 28 Nov 2009 17:40:45 +0000 (17:40 +0000)]
Fix node flush.
Consider contiguous flag of the directory when moving to the next
subentry.
relan [Sat, 28 Nov 2009 17:22:40 +0000 (17:22 +0000)]
Add pointer to parent for each node.
relan [Sat, 28 Nov 2009 17:13:07 +0000 (17:13 +0000)]
Rename nextent() function to fetch_next_entry().
relan [Fri, 27 Nov 2009 17:53:27 +0000 (17:53 +0000)]
Add install target to SConscript.
relan [Tue, 24 Nov 2009 20:22:24 +0000 (20:22 +0000)]
Represent directory entry address as cluster + offset.
The offset is within this particular cluster.
relan [Tue, 17 Nov 2009 19:56:37 +0000 (19:56 +0000)]
Fix directory contents reading.
It failed if directory occupied more than 1 cluster and an entry in it
was aligned on at cluster boundary.
relan [Sun, 15 Nov 2009 16:26:54 +0000 (16:26 +0000)]
Add FUSE debug option (-d).
relan [Sun, 15 Nov 2009 16:19:42 +0000 (16:19 +0000)]
Update mtime on each write.
relan [Sat, 14 Nov 2009 19:57:20 +0000 (19:57 +0000)]
Remove non-existent functions declarations.
relan [Sat, 14 Nov 2009 19:53:44 +0000 (19:53 +0000)]
Flush clusters bitmap on file close.
It's more optimal than flushing on each cluster allocation and
deallocation.
relan [Sat, 14 Nov 2009 19:22:12 +0000 (19:22 +0000)]
Flush node on close instead of flushing on each node modification.
relan [Sat, 14 Nov 2009 18:56:40 +0000 (18:56 +0000)]
Pass struct exfat to exfat_put_node() function.
It will be used in future.
relan [Wed, 11 Nov 2009 18:14:09 +0000 (18:14 +0000)]
Add node clusters check in fsck.
relan [Mon, 9 Nov 2009 19:16:32 +0000 (19:16 +0000)]
Add directory size verification on node creation.
relan [Mon, 9 Nov 2009 18:58:50 +0000 (18:58 +0000)]
Remember recently used cluster of each node.
This improves sequential read and write speed.
relan [Sat, 7 Nov 2009 09:54:36 +0000 (09:54 +0000)]
Improve clusters allocation algorithm.
Now it attempts to allocate cluster right after the previous one to keep
a file contiguous.
relan [Sat, 7 Nov 2009 09:39:19 +0000 (09:39 +0000)]
Improve find_bit_and_set() function.
Now it scans a range of bits.
relan [Fri, 6 Nov 2009 19:36:26 +0000 (19:36 +0000)]
Fix clusters bitmap handling: it starts from cluster 2, not 0.
relan [Thu, 5 Nov 2009 20:19:03 +0000 (20:19 +0000)]
Erase struct exfat on mount.
This avoids uninitialized data use in case of errors.
relan [Sat, 31 Oct 2009 18:21:29 +0000 (18:21 +0000)]
Implement existing files writing in FUSE driver.
relan [Sat, 31 Oct 2009 18:20:49 +0000 (18:20 +0000)]
Implement existing files writing in libexfat.