|
|
@7efc517
|
15 years |
jakub |
Move fat_sanity_check() to fat_fat.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@64aed80
|
15 years |
jakub |
Do not leak options in fat_mounted().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3c11713
|
15 years |
jakub |
Add dummy libfs unmount support and change all file systems to use it. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@92bee46
|
15 years |
jakub |
Refuse to mount FAT file systems with root directory entries that do …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2ffaab5
|
15 years |
jiri |
Remove accidentaly commited debugging code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@711e1f32
|
15 years |
jiri |
Do some sanity checks when mounting a fat file system.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1313ee9
|
15 years |
martin |
introduce device namespaces
* add support for explicit open in libfs …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1e4cada
|
15 years |
martin |
rename fibril_sync.[ch] to fibril_synch.[ch]
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dfddfcd
|
16 years |
jakub |
Make fat_write() never assert on an I/O error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@453f2e75
|
16 years |
jakub |
Make fat_read() never assert on an I/O error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1647323
|
16 years |
jakub |
Make fat_match() never assert on an I/O error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0da4e41
|
16 years |
jakub |
ipc_data_*() and ipc_share_*(), respectively, should be renamed to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8810c63
|
16 years |
jakub |
Do not assume that a block is not dirty if we did not make it dirty. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a15176
|
16 years |
jakub |
Make fat_idx_get_new() return the exact error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0fc1e5d
|
16 years |
jakub |
Make fat_node_get_core() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@17bf658
|
16 years |
jakub |
Make fat_node_get_new() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6bc3a5
|
16 years |
jakub |
fat_node_get_core() needs to take the ffn_mutex before it manipulates …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@12bdc942
|
16 years |
jakub |
Remove dead code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@073f550
|
16 years |
jakub |
Update fat implementation of libfs operations wrt. the preceding API …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@46c0498
|
16 years |
jakub |
Make fat_unlink() return an error code instead of hitting an assertion …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4b4668e
|
16 years |
jakub |
Make fat_link() return an error code instead of hitting an assertion …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4098e38
|
16 years |
jakub |
Make fat_node_sync() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d044447
|
16 years |
jakub |
Merge FAT server error handling improvements.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cca29e3c
|
16 years |
jakub |
Make fat_append_clusters(), fat_chop_clusters(), fat_free_clusters(), …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e402382
|
16 years |
jakub |
Make fat_cluster_walk() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@684b655
|
16 years |
jakub |
Make _fat_block_get() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1ee00b7
|
16 years |
jiri |
Revamp block device interface: (1) block size is fixed, determined by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c91f2d1b
|
16 years |
jakub |
Enable the block_get() and block_put() APIs to return error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d44aabd
|
16 years |
jakub |
Grow the parent node size if fat_link() allocates a new cluster.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d290ef4
|
16 years |
jakub |
fat_link() should zero out all the blocks of the newly allocated …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5f116e7
|
16 years |
jakub |
Introduce fat_zero_cluster().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b713492b
|
16 years |
jakub |
Fix the root directory check when fat_link() needs to allocate a new …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@00a9625
|
16 years |
jakub |
fat_create_node() should mark new zeroed blocks dirty.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a405563
|
16 years |
jirik.svoboda |
Fix some warnings.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@75160a6
|
16 years |
jakub |
Add libfs_stat() and let FAT and TMPFS use it.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@852b801
|
16 years |
jakub |
Introduce VFS_IN_FSTAT and VFS_OUT_STAT.
Provide libc fstat() and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1fbe064b
|
16 years |
jirik.svoboda |
Allow libblock to operate in write-through mode. With 'wtcache' mount …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ebe721
|
16 years |
jakub |
Use fibril synchronization in FAT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9c8c81
|
16 years |
martin |
rename libadt → adt
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c20aa06
|
16 years |
martin |
implement VFS_OPEN_NODE and VFS_DEVICE (no device handle is returned) …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@16d17ca
|
16 years |
jakub |
Add fs_handle argument to libfs_mount() needed to recognize homogenous …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@83937ccd
|
16 years |
jakub |
Rudimentary support for non-root mounts.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cf95bc0
|
16 years |
jakub |
Streamline TMPFS and fix its design so that it properly supports …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0be3e8b
|
16 years |
jakub |
Do not attempt to unlink non-empty FAT directories.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@770d281
|
16 years |
jakub |
Do not attempt to unlink() FAT root.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b6035ba
|
16 years |
jakub |
Introduce the concept of FS nodes. A FS node is a typed abstraction of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@594303b
|
16 years |
jakub |
Support mount options.
Let tmpfs decide whether to start empty or …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6eb2e96
|
16 years |
jirik.svoboda |
str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@92fd52d7
|
16 years |
jirik.svoboda |
Nuke strcpy() and strcmp().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@699743c
|
16 years |
jakub |
Set a loop control variable properly when growing the FAT directory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e32b65a
|
16 years |
jakub |
Add the ability to grow a FAT directory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1baec4b
|
16 years |
jakub |
Create "." and ".." entries on FAT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a31c1ccf
|
16 years |
jakub |
Implement fat_unlink().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@14c331a
|
16 years |
jakub |
Consider "prd" and "prd." to be the same FAT dentry names.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49df572
|
16 years |
jakub |
When creating a new directory node, allocate the first cluster for it.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a5da446
|
16 years |
jakub |
When syncing a FAT node, do not skip attributes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0fdd6bb
|
16 years |
jakub |
Add somewhat functional fat_link().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0013b9ce
|
16 years |
jakub |
libfs operation link() should return standard error code instead of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@50e5b25
|
16 years |
jakub |
Add implementation of fat_destroy_node() and fat_destroy().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6571b78
|
16 years |
jakub |
Implementation of fat_create_node().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d8cdb1
|
16 years |
jakub |
Avoid unnecessary block reads in block_get().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@adb5fe3
|
17 years |
jakub |
libfs create operation should take the device handle as argument.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a3d5f0
|
17 years |
jakub |
Move common code to dedicated functions so that it can be easily reused.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ac49f5d1
|
17 years |
jakub |
VFS_WRITE has two return arguments on success.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@913a821c
|
17 years |
jakub |
Finish implementation of fat_truncate() and fix several warnings.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4f1c0b4
|
17 years |
jakub |
Extend _fat_blcks_get() to fat_cluster_walk(). Use fat_cluster_walk() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8334a427
|
17 years |
jakub |
More fat_truncate() bits.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c472aff
|
17 years |
jakub |
Enable fat_write().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c71a1f
|
17 years |
jakub |
Start implementing fat_truncate().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f1ba5d6
|
17 years |
jakub |
Add block_cache_init().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6284978
|
17 years |
jakub |
Separate the block_init() phase from reading of the boot block.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7d861950
|
17 years |
jakub |
move comment
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d974d8
|
17 years |
jakub |
fat_read() needs to stop reading beyond the EOF.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7858bc5f
|
17 years |
jakub |
Setup communication parameters with the block device in block_init(). …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b0247bac
|
17 years |
jakub |
Directory size is always a multiple of BPS. Fix computation of number …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc840d9
|
17 years |
jakub |
Move libfs_blockread(), block_get() and block_put() to libblock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@beb17734
|
17 years |
jakub |
Implementation of fat_node_sync().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb682eb
|
17 years |
jakub |
Pass the buffer holding the boot sector to the internal functions so …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e17d986
|
17 years |
jakub |
Implementation of fat_append_clusters().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f57d0e
|
17 years |
jakub |
Move functionality related to manipulatings file allocation tables to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@033ef7d3
|
17 years |
jakub |
Move functionality related to FAT dentries to fat_dentry.c.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8b0bc1f
|
17 years |
jakub |
Implementation of fat_alloc_clusters().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b4b7187
|
17 years |
jakub |
Implementation of fat_fill_gap().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6f2dfd1
|
17 years |
jakub |
More complete prototype of fat_write().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d32152
|
17 years |
jakub |
Mark progress in fat_write().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c947dda
|
17 years |
jakub |
Dummy fat_write().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ab597d
|
17 years |
jakub |
Add reference to the mounted FS root.
This makes it possible to keep …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ddd1219
|
17 years |
jakub |
Support for readdir() on FAT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2115311
|
17 years |
jakub |
Determine the size of a directory node by walking the FAT and counting …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6808614
|
17 years |
jakub |
fat_read() should expect IPC_M_DATA_READ instead of IPC_M_DATA_WRITE.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c06dbf9
|
17 years |
jakub |
When removing a FAT node from the ffn list, use the correct pointer …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@79d031b
|
17 years |
jakub |
More complete fat_read().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4bf40f6
|
17 years |
jakub |
Dummy implementation of fat_read().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2ab1023
|
17 years |
jakub |
FAT dentry type used for subdirectories doesn't store the directory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d2e9c47
|
17 years |
jakub |
Several fixes for the FAT file system:
- do not copy padding during …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7a35204
|
17 years |
jakub |
First attempt at delivering the FAT16 read-only support.
Needless to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a61d1fc3
|
17 years |
jakub |
Pass block size to block_get() in the last argument.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@689f036
|
17 years |
jakub |
Initialize in-core FAT root directory node during mount.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cde485d
|
17 years |
jakub |
Initialize global FAT IDX structures when the FAT server starts and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e811bde
|
17 years |
jakub |
Add synchronization to fat_match().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|