|
|
@493853ec
|
16 years |
jakub |
Hold the namespace rwlock during the entire operation of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae55ee8
|
16 years |
jakub |
Fix rename() on a non-root file system.
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
|
|
|
@0c2eee0
|
16 years |
jakub |
Remove unused and non-functional code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1090b8c
|
16 years |
jirik.svoboda |
C binding for devmap. Gets rid of duplicate code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4f46695e
|
16 years |
jakub |
Lookup a node's parent lexically rather than using the broken L_PARENT …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@14040e5
|
16 years |
jakub |
Allow rename("a", "aa");
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@386e276
|
16 years |
jakub |
Negative file descriptors shoud be considered invalid.
This fixes …
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
|
|
|
@c08c355
|
16 years |
jakub |
Make IPC_M_PING part of the VFS_MOUNT protocol again.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@58d7280
|
16 years |
jakub |
Return the actual error code instead of EREFUSED.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@732bb0c
|
16 years |
jirik.svoboda |
Nuke strncmp().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@47a6708
|
16 years |
jirik.svoboda |
No need for strncmp() fs_name_to_handle() as vfs_info.name is always …
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
|
|
|
@db90860
|
16 years |
jakub |
Just for pro forma, initialize the the link before use.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8dc72b64
|
16 years |
martin |
support for pending (blocking) mounts (waiting for the presence of the …
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
|
|
|
@5a5abf1
|
16 years |
jakub |
Allow VFS to interconnect two file system servers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4a10b63
|
16 years |
jakub |
Do not close connection to VFS after a file system registers.
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
|
|
|
@f0c9aff
|
17 years |
jirik.svoboda |
Clean .o files in individual makefiles.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b17186d
|
17 years |
jakub |
Hold the namespace_rwlock during readdir().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@24d6efc
|
17 years |
jirik.svoboda |
Always include Makefile.config instead of passing ARCH and COMPILER to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c61d34b
|
17 years |
jirik.svoboda |
Fix assorted warnings.
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
|
|
|
@12fc042
|
17 years |
jakub |
Fix the VFS protocol so that the client can determine that VFS_MOUNT …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7f9087
|
17 years |
jakub |
Instead of aborting or crashing, return EBADF when an invalid file …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@515a0102
|
17 years |
jirik.svoboda |
Do not disassemble needlessly.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f49b0ea
|
17 years |
jakub |
Split the 'mount another filesystem here' and 'you are being mounted …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c89f20
|
17 years |
martin |
disable extensive debugging output
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@64b67c3
|
17 years |
jakub |
Make VFS_MOUNT call even when mounting the root file system.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce7311fc
|
17 years |
jakub |
Cram VFS_MOUNT into one message. This creates a hidden demand for the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f689a3e
|
17 years |
jakub |
Update comment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2f60a529
|
17 years |
jakub |
Return EBUSY if trying to mount something over an already mounted root …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f2ec8c8
|
17 years |
jakub |
Introduce fs_handle_t, dev_handle_t and fs_index_t.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8ad8e49
|
17 years |
jakub |
VFS index needs to be treated as uint64_t.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@07deef5
|
17 years |
jakub |
Fibril serialization is required when two file systems register …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c31d773
|
17 years |
jakub |
Grab the nodes_futex when manipulating node link counts in rename() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a8e9ab8d
|
17 years |
jakub |
Support for rename().
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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@f7017572
|
18 years |
jakub |
VFS_WRITE and tmpfs_write fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@15b9970
|
18 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
|
18 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
|
18 years |
jakub |
Support for mkdir().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9415601
|
18 years |
jakub |
Additional VFS lookup flags.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae78b530
|
18 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
|
|
|
@62da45a
|
18 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
|
18 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
|
18 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
|
18 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
|
18 years |
jakub |
Merge all VFS operations into one file.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@67f63c4
|
18 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
|
18 years |
jakub |
Management of the cached VFS node size.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@222e57c
|
18 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
|
18 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
|
18 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
|
18 years |
jakub |
Turn the namespace futex into rwlock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9413c0d
|
18 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
|
18 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
|
18 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
|
18 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
|
18 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
|
|
|
@ee1b8ca
|
18 years |
jakub |
VFS and TMPFS support for VFS_WRITE.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a92da0a
|
18 years |
jakub |
Reimplement VFS_READ using IPC_M_DATA_READ.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36d852c
|
18 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
|
18 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
|
18 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
|
18 years |
jakub |
VFS work.
Cleaner VFS_MOUNT protocol.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@338c943
|
18 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
|
18 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
|
18 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
|
18 years |
jakub |
VFS work. Releas the FS phone earlier.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dea7616b
|
18 years |
jakub |
VFS work. FS info futex must be initialized.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cc76be3
|
18 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
|
|
|
@38c706cc
|
18 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
|
18 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
|
|
|
@b3cd9eb
|
18 years |
jakub |
VFS work.
Proto implementation of VFS_READ.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ebd9392
|
18 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
|
|
|
@b74959bd
|
18 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
|
|
|
@81614543
|
18 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
|
|
|
@44358c1
|
18 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
|
18 years |
jakub |
VFS work.
Implement VFS node hash table management.
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
|
|
|