|
|
@d42976c
|
15 years |
jakub |
Merge fixes from the file system branch.
In particular, prevent …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4cac2d69
|
15 years |
martin |
fix futile typedef to a working one
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eda925a
|
15 years |
martin |
improve naming conventions:
merge async_data_receive() and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@472c09d
|
15 years |
martin |
more consistent naming scheme:
async_data_blob_receive → …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@393bef1
|
15 years |
jakub |
Fix compiler warnings.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0055cfd
|
15 years |
jakub |
Fix type of argument passed to tmpfs_node_put().
Fix compiler warning.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c16013b
|
15 years |
jakub |
Use assert() instead of abort() to improve debugability.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc2e71e
|
15 years |
jakub |
Forbid mounting the same TMPFS instance multiple times.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@430de97
|
15 years |
jakub |
Add fat_node_fini_by_dev_handle() and finish fat_unmounted().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@593585df
|
15 years |
jakub |
Do not leak u in fat_idx_init_by_dev_handle().
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
|
|
|
@1715b6af
|
15 years |
jakub |
nodes_compare() must check the number of passed keys.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e056e820
|
15 years |
jakub |
Finish implementation of tmpfs_unmounted().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9bddf37
|
15 years |
jakub |
Free up node's resources in the 'nodes' hash table remove callback.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@88e870e
|
15 years |
jakub |
Do not free() node's data area if it was not allocated.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e856c34
|
15 years |
jakub |
Change the order of TMPFS node keys.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4557462
|
15 years |
jakub |
Add missing free().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3c11713
|
16 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
|
|
|
@dc9162b
|
16 years |
jiri |
Merge first attempt at decreasing userspace makefile madness.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e5773c6
|
16 years |
jiri |
Extract common makefile part for apps and servers, use for all apps …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@92bee46
|
16 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
|
|
|
@963462af
|
16 years |
jakub |
Merge FAT server fix.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@50f9c3a
|
16 years |
jakub |
Be more careful when testing whether the considered cluster really exists.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2ffaab5
|
16 years |
jiri |
Remove accidentaly commited debugging code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@711e1f32
|
16 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
|
|
|
@8786aa5
|
16 years |
martin |
remove Stanse-specific constructs from makefiles
add generic support …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1313ee9
|
16 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
|
16 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
|
|
|
@cc1f8d4
|
16 years |
martin |
proper support for parallel building (this time really tested)
all …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e035612
|
16 years |
martin |
make parallel build (with -j n) possible
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
|
|
|
@f563126
|
16 years |
martin |
make uspace pass compilation with clang
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bbddafb
|
16 years |
jakub |
Make the file systems set the task return value so that the user gets …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5643a04
|
16 years |
jakub |
Cleanup of the file system servers' start up text messages.
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
|
|
|
@3a8faba
|
16 years |
jakub |
Be more robust towards a discrepancy between the FAT size and total …
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
|
|
|
@54e4479
|
16 years |
jakub |
Update tmpfs 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
|
|
|
@2f636b6
|
16 years |
jakub |
Do not abort in fat_alloc_clusters() when an I/O error is detected.
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
|
|
|
@dc87ad11
|
16 years |
jakub |
Make fat_get_cluster() return an error code.
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
|
|
|
@0143f72
|
16 years |
jakub |
Statically allocated stat structure will do.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@415c7e0d
|
16 years |
jakub |
Implement stat() and VFS_IN_STAT.
Modify bdsh() to use stat() during …
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
|
|
|
@4198f9c3
|
16 years |
jakub |
Separate the VFS input and output protocols.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6408be3
|
16 years |
jirik.svoboda |
Fix chaos in block library.
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
|
|
|
@e2dccb0
|
16 years |
jakub |
Endpoint file systems should terminate the connection fibril when VFS …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2dfd9fa
|
16 years |
martin |
avoid races during access to the shared hash table
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ca093b3
|
16 years |
jakub |
Strange left-over.
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
|
|
|
@17fd1d4
|
16 years |
martin |
devfs rewrite:
- implement VFS_OPEN_NODE, VFS_DEVICE, VFS_SYNC, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@81b430a1
|
16 years |
jakub |
More conversions to dev_handle_t.
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
|
|
|
@296ddec0
|
16 years |
jakub |
Call libfs_mount() from tmpfs_mount().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a095d20
|
16 years |
martin |
add simple devfs filesystem and mount it as /dev
add generic NULL …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc0110d
|
16 years |
martin |
add space before $@
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
|
|
|
@a248234
|
16 years |
martin |
add support for lowercase extension and lowercase basename bits (NT …
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
|
|
|
@8d049ee0
|
16 years |
jakub |
Support multiple TMPFS instances.
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
|
|
|
@7afb4a5
|
16 years |
jirik.svoboda |
Nuke strchr() and strrchr().
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
|
|
|
@02fd705
|
16 years |
martin |
make sure the unions are packed (fixes FAT on arm32)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a32c9bb
|
16 years |
martin |
blocking connection to VFS
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fcd7053
|
16 years |
martin |
cleanup configuration
code cleanup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4863e50b
|
16 years |
jakub |
Nuke VFS operations structure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a0367f
|
17 years |
martin |
configuration system overhaul (requires newt)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@699743c
|
17 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
|
|
|