elm fatfs support mkfs with no need to run dfs_mount elm first; and can mount/umount/mkfs without reset any more

This commit is contained in:
prife
2013-01-08 18:58:45 +08:00
parent 3d0ca0d08f
commit 5646189b29
3 changed files with 122 additions and 64 deletions

View File

@@ -35,7 +35,7 @@ struct dfs_filesystem_operation
int (*unmount) (struct dfs_filesystem *fs);
/* make a file system */
int (*mkfs) (const char *device_name);
int (*mkfs) (rt_device_t devid);
int (*statfs) (struct dfs_filesystem *fs, struct statfs *buf);
int (*open) (struct dfs_fd *fd);