|
|
@3ca7059
|
17 years |
jakub |
Set the TMPFS root node's link count to 1.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@adc8a63
|
17 years |
jakub |
Introduce real link counts for TMPFS.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dadcec1
|
17 years |
jakub |
Move canonify() to libc so that it can be used also on the libc side.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6084ef
|
17 years |
jakub |
Make VFS canonify path names on lookup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9bb85f3
|
17 years |
jakub |
Add canonify() for file system path canonization.
Not yet used by VFS.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee68e4bc
|
17 years |
jakub |
contents_rwlock should not be acquired as a futex but rather as a rwlock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7fe1f75
|
17 years |
jakub |
Support for O_TRUNC.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2c448fb
|
17 years |
jakub |
Move the core lookup logic from TMPFS to libfs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fdb7795
|
17 years |
jakub |
Separate creation of a TMPFS node and its linking in the file system …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d1ce550
|
17 years |
jakub |
Initialize the VFS node properly.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@75c426b4
|
17 years |
jakub |
Remove duplicate initialization.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cf19ab5
|
17 years |
jakub |
Unlink a TMPFS node more thoroughly.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f15cf1a6
|
17 years |
jakub |
Support for rmdir(), unlink() and the respective VFS operations.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e704503
|
17 years |
jakub |
Support for close().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@16105cba
|
17 years |
jakub |
Add TMPFS support for destroying leaf links in the file system namespace.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2616965d
|
17 years |
jakub |
When freeing up a TMPFS node, it should also be removed from the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f17667a
|
17 years |
jakub |
Add the VFS_FREE operation. This operation frees up whatever …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b5553a2
|
17 years |
jakub |
Introduce the notion of VFS node link counts.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8ccd2ea
|
17 years |
jakub |
Descend vs. descent.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@acfdcb0
|
17 years |
jakub |
Remove the debugging hack from tmpfs_init(), which created several …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f7017572
|
17 years |
jakub |
VFS_WRITE and tmpfs_write fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@15b9970
|
17 years |
jakub |
VFS_OPEN and VFS_WRITE now understand O_APPEND.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2db4ac8
|
17 years |
jakub |
VFS_OPEN now understands O_CREAT and O_EXCL.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@72bde81
|
17 years |
jakub |
Support for mkdir().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1fe186f
|
17 years |
jakub |
Move handling of the miss on excessive components out of the main loop …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b8b23c8
|
17 years |
jakub |
More elegant, flexible and complete version of tmpfs_lookup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9415601
|
17 years |
jakub |
Additional VFS lookup flags.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae78b530
|
17 years |
jakub |
Introduce the notion of lflag (i.e. lookup flags) to support the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5973fd0
|
17 years |
jakub |
Finish implementation of readdir(). Functions from this family are …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@62da45a
|
17 years |
jakub |
Small fix for VFS_TRUNCATE. Move lookup and registration code to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0ee4322
|
17 years |
jakub |
Add ftruncate() and support for VFS_TRUNCATE to VFS and TMPFS.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eb27ce5a
|
17 years |
jakub |
Improve the API for converting (VFS triplets, size) to VFS nodes by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cad9c72
|
17 years |
jakub |
Make a distinction between VFS operations that are common to VFS and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@861e7d1
|
17 years |
jakub |
Merge all VFS operations into one file.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@67f63c4
|
17 years |
jakub |
Make uspace rwlock API naming conventions consistent with kernel …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7fff5eab
|
17 years |
jakub |
Management of the cached VFS node size.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@752ccee
|
17 years |
jakub |
Previous commit was toxic. When emulating gaps, zero out the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@41a0d27
|
17 years |
jakub |
TMPFS must handle file gaps.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@222e57c
|
17 years |
jakub |
Add libc and VFS implementation of lseek(), VFS_SEEK resp.
Add the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@10d6b858
|
17 years |
jakub |
Introduce the open file lock. Modify vfs_rdwr() to take this lock into …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4db6eaf
|
17 years |
jakub |
Fix type in declaration of VFS node rwlock.
Introduce a dedicated type …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b3c38750
|
17 years |
jakub |
Turn the namespace futex into rwlock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9413c0d
|
17 years |
jakub |
Add basic rwlock API for uspace so that VFS can be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f57f8ea
|
17 years |
jakub |
Rename unlink_futex to namespace_futex and introduce a new futex for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@215e375
|
17 years |
jakub |
The IPC_M_SHARE_* and IPC_M_DATA_* calls pass through 3 stages. Rename …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@27d293a
|
17 years |
jakub |
Rename IPC_M_AS_AREA_SEND to IPC_M_SHARE_OUT. Rename …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3115355
|
17 years |
jakub |
Simplify the IPC_M_DATA_WRITE protocol. Do not pass the source address …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@92688eb
|
17 years |
jakub |
Rename variable from 'size' to 'len'.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c1bf5cb
|
17 years |
jakub |
The previous commit was not entirely sane.
Handle VFS_WRITE correctly …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee1b8ca
|
17 years |
jakub |
VFS and TMPFS support for VFS_WRITE.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7dab6b8
|
17 years |
jakub |
Fix two bugs in TMPFS-side VFS_READ.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a92da0a
|
17 years |
jakub |
Reimplement VFS_READ using IPC_M_DATA_READ.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36d852c
|
17 years |
jakub |
Rename IPC_M_DATA_SEND to IPC_M_DATA_WRITE. Now, when we also add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5c786d1
|
17 years |
jakub |
After VFS_READ, update the position pointer in the open file.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a4eb8a60
|
17 years |
jakub |
VFS work.
Foundation for TMPFS-side VFS_READ and fixes in VFS-side …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9957b6
|
17 years |
jakub |
VFS work.
Cleaner VFS_MOUNT protocol.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4b11571
|
17 years |
jakub |
TMPFS work.
VFS_LOOKUP implemented.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@338c943
|
17 years |
jakub |
VFS work.
Don't hang up the connection to VFS after VFS_MOUNT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4ada6d5
|
17 years |
jakub |
VFS work.
Index of the last PLB character of a pathname was not …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a806bd61
|
17 years |
jakub |
VFS work.
Fix VFS node hash function to hash only within the limits of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45ee9ed
|
17 years |
jakub |
VFS work. Releas the FS phone earlier.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dea7616b
|
17 years |
jakub |
VFS work. FS info futex must be initialized.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d5cdffe
|
17 years |
jakub |
Start TMPFS.
Not loaded during boot as there is a reproducible kernel …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c82d28
|
17 years |
jakub |
Move incomplete fs interface from fat.h to libfs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@efd4a72
|
17 years |
jakub |
VFS work.
Move FS registration code to libfs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cc76be3
|
17 years |
jakub |
VFS work.
During VFS_REGISTER, use strncmp() instead of strcmp().
Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9119d25
|
17 years |
jakub |
FAT work.
Foundation for FAT dentry comparison function.
Beware of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6364d3c
|
17 years |
jakub |
Sync IPC comments with IPC code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@38c706cc
|
17 years |
malyzelenyhnus |
Extended IPC_M_CONNECT_TO_ME to use 3 user defined parameters.
Phone …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b61d47d
|
17 years |
malyzelenyhnus |
Function ipc_connect_me_to sends 3 user defined arguments now.
One …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@263e1ec
|
17 years |
jakub |
FAT work.
Add type describing FAT directory entry.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5af627fc
|
17 years |
jakub |
FAT work.
Add type describing FAT boot sector.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@be815bc
|
17 years |
jakub |
FAT work.
Start VFS_LOOKUP support in FAT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b3cd9eb
|
17 years |
jakub |
VFS work.
Proto implementation of VFS_READ.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ebd9392
|
17 years |
jakub |
Add sanity checks to functions using file descriptors as indices into …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d40a8ff
|
17 years |
jakub |
Add mode argument to IPC forward.
This argument can be used to modify …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0cc4313
|
17 years |
jakub |
Modify the async framework to make use of all six syscall arguments. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b74959bd
|
17 years |
jakub |
Modify ipc_answer_*() to make use of all six syscall arguments. The …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3209923
|
17 years |
jakub |
Modify asynchronous IPC to make use of all six syscall arguments. The …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2e51969
|
17 years |
jakub |
Modify synchronous IPC to make use of all six syscall arguments. The …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@81614543
|
17 years |
jakub |
VFS work.
vfs_grab_phone() must disable fibril preemption in order to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7f3e3e7
|
17 years |
jakub |
Cstyle fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@44358c1
|
17 years |
jakub |
VFS work.
Increment reference counters for the VFS nodes representing …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b818cff
|
17 years |
jakub |
VFS work.
Implement VFS node hash table management.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@798f364
|
17 years |
malyzelenyhnus |
New version of device mapper.
Added devmap test to tester.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@320c884
|
18 years |
jakub |
A lot of more VFS prototyping.
VFS_OPEN gets reasonably complete, fix …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ec01adf
|
18 years |
jakub |
VFS work.
Start implementing VFS side of VFS_OPEN.
Add vfs_node.c to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@828d215
|
18 years |
jakub |
VFS work.
Allocate the open filess array dynamically and protect …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@20614d0
|
18 years |
jakub |
Add ipc_answer_fast_[01] macros so that ipc_answer_fast() users don't …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4d21cf8
|
18 years |
jakub |
VFS work.
Introduce the notion of VFS_PAIR which corresponds to a file …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8fa54e3
|
18 years |
jakub |
Specify the width of the printed text in an argument to printf().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@18525c5
|
18 years |
jakub |
Tiny refinement of if-else_if-else statement in vfs_register.c.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@116d3f6f
|
18 years |
jakub |
Rename fibril_schedule_next_adv() to fibril_switch(). Rename …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b5d25f
|
18 years |
jakub |
Don't explicitly answer the IPC_M_DATA_SEND call in VFS_REGISTER.
It …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96858e8
|
18 years |
jakub |
Fix cstyle in console.c.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b890cfd
|
18 years |
jakub |
VFS work.
Start VFS_OPEN.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@07e4a3c
|
18 years |
malyzelenyhnus |
Added message forwarding to device mapper.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@af0ff9b2
|
18 years |
jakub |
VFS work.
Add the missing bits of VFS-side VFS_MOUNT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2c2e0c6
|
18 years |
jakub |
VFS work.
Prevent race conditions when checking rootfs by taking a …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7313e7a
|
18 years |
jakub |
VFS work.
This is a checkpoint commit.
It introduces initial, still …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|