Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
2863 |
6013 d 17 h |
jermar |
/trunk/uspace/ |
Revert libfs node_get() API to a model without the parent node pointer
argument. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
2858 |
6019 d 1 h |
jermar |
/trunk/uspace/ |
libfs destroy operation should rather return an error code instead of a truth
value. |
|
/trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
2857 |
6019 d 1 h |
jermar |
/trunk/uspace/ |
Add stubs for unimplemented FAT libfs operations. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
2852 |
6019 d 23 h |
jermar |
/trunk/uspace/ |
Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
2847 |
6021 d 1 h |
jermar |
/trunk/uspace/lib/libfs/ |
Reset the component length variable only prior collecting a new component. |
|
/trunk/uspace/lib/libfs/libfs.c
|
2846 |
6021 d 2 h |
jermar |
/trunk/uspace/lib/libfs/ |
Improve libfs_lookup() so that has_children() is not called for each character
in the pathname component. |
|
/trunk/uspace/lib/libfs/libfs.c
|
2844 |
6021 d 6 h |
jermar |
/trunk/uspace/ |
Add fat_root_get() and fat_plb_get_char(). |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
2831 |
6023 d 23 h |
jermar |
/trunk/uspace/ |
Commit progress on the FAT file system server implementation. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/fat/fat.h /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
2792 |
6031 d 8 h |
jermar |
/trunk/uspace/ |
libfs' node_get() operation does not need the file system handle. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
2791 |
6034 d 6 h |
jermar |
/trunk/uspace/ |
Make libfs_lookup() more generic. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
2770 |
6053 d 8 h |
jermar |
/trunk/uspace/ |
Introduce fs_handle_t, dev_handle_t and fs_index_t. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c /trunk/uspace/srv/vfs/vfs.h /trunk/uspace/srv/vfs/vfs_lookup.c /trunk/uspace/srv/vfs/vfs_ops.c /trunk/uspace/srv/vfs/vfs_register.c
|
2763 |
6055 d 11 h |
jermar |
/trunk/uspace/ |
Support for rename(). |
|
/trunk/uspace/app/tester/vfs/vfs1.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/stdio.h /trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c /trunk/uspace/srv/vfs/vfs.c /trunk/uspace/srv/vfs/vfs.h /trunk/uspace/srv/vfs/vfs_lookup.c /trunk/uspace/srv/vfs/vfs_ops.c
|
2760 |
6058 d 6 h |
jermar |
/trunk/uspace/ |
Support for multiple TMPFS node names. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
2758 |
6059 d 6 h |
jermar |
/trunk/uspace/ |
No need to keep the parent pointer in the TMPFS node. Moreover, other file
systems won't have it either. Finally, if TMPFS is to support hardlinks, there
can be multiple parents. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
2751 |
6063 d 11 h |
jermar |
/trunk/uspace/ |
Add canonify() for file system path canonization.
Not yet used by VFS. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/srv/vfs/vfs_lookup.c
|
2750 |
6064 d 6 h |
jermar |
/trunk/uspace/lib/libfs/ |
Add a comment to libfs_lookup. |
|
/trunk/uspace/lib/libfs/libfs.c
|
2747 |
6066 d 5 h |
jermar |
/trunk/uspace/ |
Move the core lookup logic from TMPFS to libfs. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
2678 |
6124 d 11 h |
jermar |
/trunk/uspace/ |
The IPC_M_SHARE_* and IPC_M_DATA_* calls pass through 3 stages. Rename the send,
receive and deliver wrappers to names ending with 'start', 'receive' and
'finalize', respectively. This should make it clearer for dummies. |
|
/trunk/uspace/app/klog/klog.c /trunk/uspace/app/tester/devmap/devmap1.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/generic/time.c /trunk/uspace/lib/libc/generic/vfs.c /trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/lib/libfs/libfs.c /trunk/uspace/srv/console/console.c /trunk/uspace/srv/console/gcons.c /trunk/uspace/srv/devmap/devmap.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c /trunk/uspace/srv/rd/rd.c /trunk/uspace/srv/vfs/vfs_mount.c /trunk/uspace/srv/vfs/vfs_open.c /trunk/uspace/srv/vfs/vfs_register.c
|
2677 |
6124 d 11 h |
jermar |
/trunk/ |
Rename IPC_M_AS_AREA_SEND to IPC_M_SHARE_OUT. Rename IPC_M_AS_AREA_RECV to
IPC_M_SHARE_IN. Provide user-friendly wrappers for these methods so that even
dummies can get it right. Some applications using simpler protocols still use
these methods directly. |
|
/trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/src/ipc/sysipc.c /trunk/uspace/app/klog/klog.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/generic/time.c /trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/lib/libfs/libfs.c /trunk/uspace/srv/console/console.c /trunk/uspace/srv/console/gcons.c /trunk/uspace/srv/fb/ega.c /trunk/uspace/srv/fb/fb.c /trunk/uspace/srv/ns/ns.c /trunk/uspace/srv/rd/rd.c /trunk/uspace/srv/vfs/vfs_register.c
|
2660 |
6132 d 8 h |
jermar |
/trunk/ |
Rename IPC_M_DATA_SEND to IPC_M_DATA_WRITE. Now, when we also add
IPC_M_DATA_READ, it will not clash and cause confusion with userspace wrappers
such as ipc_data_receive(). Rename the forementioned wrappers to
ipc_data_write_send(), ipc_data_write_receive() and ipc_data_write_deliver(). |
|
/trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/src/ipc/sysipc.c /trunk/uspace/app/tester/devmap/devmap1.c /trunk/uspace/app/tester/vfs/vfs1.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/lib/libfs/libfs.c /trunk/uspace/srv/devmap/devmap.c /trunk/uspace/srv/vfs/vfs_mount.c /trunk/uspace/srv/vfs/vfs_open.c /trunk/uspace/srv/vfs/vfs_register.c
|