# # ChangeLog for uspace/lib/libfs/libfs.c in mainline # # Generated by Trac 1.6 # 2024-12-18T01:11:01Z Sun, 13 Dec 2009 15:17:08 GMT Martin Decky [1313ee9] * uspace/app/bdsh/cmds/modules/ls/ls.c (modified) * uspace/app/init/init.c (modified) * uspace/app/tester/vfs/vfs1.c (modified) * uspace/lib/libc/generic/devmap.c (modified) * uspace/lib/libc/generic/vfs/vfs.c (modified) * uspace/lib/libc/include/devmap.h (modified) * uspace/lib/libc/include/ipc/devmap.h (modified) * uspace/lib/libc/include/sys/stat.h (modified) * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/bd/ata_bd/ata_bd.c (modified) * uspace/srv/bd/gxe_bd/gxe_bd.c (modified) * uspace/srv/bd/rd/rd.c (modified) * uspace/srv/console/console.c (modified) * uspace/srv/devmap/devmap.c (modified) * uspace/srv/fs/devfs/devfs_ops.c (modified) * uspace/srv/fs/fat/fat_ops.c (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) introduce device namespaces * add support for explicit open in ... Fri, 30 Oct 2009 02:27:33 GMT Martin Decky [2e983c7] * uspace/lib/libfs/libfs.c (modified) set correct IPC return values in libfs_open_node() Sun, 11 Oct 2009 16:11:22 GMT Jakub Jermar [0da4e41] * uspace/app/klog/klog.c (modified) * uspace/lib/libblock/libblock.c (modified) * uspace/lib/libc/generic/async.c (modified) * uspace/lib/libc/generic/devmap.c (modified) * uspace/lib/libc/generic/loader.c (modified) * uspace/lib/libc/generic/vfs/vfs.c (modified) * uspace/lib/libc/include/async.h (modified) * uspace/lib/libfs/libfs.c (modified) * uspace/srv/bd/ata_bd/ata_bd.c (modified) * uspace/srv/bd/file_bd/file_bd.c (modified) * uspace/srv/bd/gxe_bd/gxe_bd.c (modified) * uspace/srv/bd/rd/rd.c (modified) * uspace/srv/console/console.c (modified) * uspace/srv/console/gcons.c (modified) * uspace/srv/devmap/devmap.c (modified) * uspace/srv/fs/devfs/devfs_ops.c (modified) * uspace/srv/fs/fat/fat_ops.c (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) * uspace/srv/loader/main.c (modified) * uspace/srv/part/mbr_part/mbr_part.c (modified) * uspace/srv/vfs/vfs_ops.c (modified) * uspace/srv/vfs/vfs_register.c (modified) ipc_data_*() and ipc_share_*(), respectively, should be renamed to ... Thu, 24 Sep 2009 15:56:54 GMT Jakub Jermar [0daba21] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) Most libfs operations should be able to return an error code. Thu, 02 Jul 2009 15:01:08 GMT Jakub Jermar [0143f72] * uspace/lib/libfs/libfs.c (modified) * uspace/srv/fs/devfs/devfs_ops.c (modified) Statically allocated stat structure will do. Sun, 28 Jun 2009 19:18:15 GMT Jakub Jermar [75160a6] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/fat/fat_ops.c (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) Add libfs_stat() and let FAT and TMPFS use it. Sun, 28 Jun 2009 13:43:15 GMT Jakub Jermar [4198f9c3] * uspace/app/trace/trace.c (modified) * uspace/lib/libc/generic/vfs/vfs.c (modified) * uspace/lib/libc/include/ipc/console.h (modified) * uspace/lib/libc/include/ipc/vfs.h (modified) * uspace/lib/libfs/libfs.c (modified) * uspace/srv/console/console.c (modified) * uspace/srv/fs/devfs/devfs.c (modified) * uspace/srv/fs/fat/fat.c (modified) * uspace/srv/fs/tmpfs/tmpfs.c (modified) * uspace/srv/vfs/vfs.c (modified) * uspace/srv/vfs/vfs_lookup.c (modified) * uspace/srv/vfs/vfs_node.c (modified) * uspace/srv/vfs/vfs_ops.c (modified) Separate the VFS input and output protocols. Wed, 03 Jun 2009 19:28:15 GMT Martin Decky [595edf5] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) add libfs_open_node() helper function cleanup Fri, 22 May 2009 19:18:39 GMT Jakub Jermar [16d17ca] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/fat/fat_ops.c (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) Add fs_handle argument to libfs_mount() needed to recognize ... Thu, 21 May 2009 18:09:18 GMT Jakub Jermar [0442c02] * uspace/lib/libfs/libfs.c (modified) Answer VFS_MOUNT with return values obtained from VFS_MOUNTED. Thu, 21 May 2009 06:55:22 GMT Martin Decky [55982d6] * uspace/lib/libfs/libfs.c (modified) cstyle Tue, 19 May 2009 21:49:05 GMT Jakub Jermar [83937ccd] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/fat/fat_ops.c (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) * uspace/srv/vfs/vfs_ops.c (modified) Rudimentary support for non-root mounts. Sat, 09 May 2009 21:56:50 GMT Jakub Jermar [cf95bc0] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/fat/fat_ops.c (modified) * uspace/srv/fs/tmpfs/tmpfs.h (modified) * uspace/srv/fs/tmpfs/tmpfs_dump.c (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) Streamline TMPFS and fix its design so that it properly supports ... Sat, 09 May 2009 08:39:28 GMT Jakub Jermar [4f46695e] * uspace/lib/libfs/libfs.c (modified) * uspace/srv/vfs/vfs.h (modified) * uspace/srv/vfs/vfs_ops.c (modified) Lookup a node's parent lexically rather than using the broken ... Tue, 05 May 2009 22:09:13 GMT Jakub Jermar [b6035ba] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/fat/fat.h (modified) * uspace/srv/fs/fat/fat_ops.c (modified) * uspace/srv/fs/tmpfs/tmpfs.h (modified) * uspace/srv/fs/tmpfs/tmpfs_dump.c (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) Introduce the concept of FS nodes. A FS node is a typed abstraction ... Sun, 23 Nov 2008 12:27:15 GMT Jakub Jermar [0013b9ce] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/fat/fat_ops.c (modified) * uspace/srv/fs/tmpfs/tmpfs_dump.c (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) libfs operation link() should return standard error code instead of ... Sun, 09 Nov 2008 21:24:59 GMT Jakub Jermar [adb5fe3] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/fat/fat_ops.c (modified) * uspace/srv/fs/tmpfs/tmpfs_dump.c (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) libfs create operation should take the device handle as argument. Mon, 27 Oct 2008 16:53:38 GMT Jakub Jermar [fc840d9] * uspace/Makefile (modified) * uspace/lib/libblock/Makefile (added) * uspace/lib/libblock/libblock.c (added) * uspace/lib/libblock/libblock.h (added) * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/fat/Makefile (modified) * uspace/srv/fs/fat/fat.h (modified) * uspace/srv/fs/fat/fat_fat.c (modified) * uspace/srv/fs/fat/fat_ops.c (modified) * uspace/srv/fs/tmpfs/Makefile (modified) * uspace/srv/fs/tmpfs/tmpfs_dump.c (modified) Move libfs_blockread(), block_get() and block_put() to libblock. Fri, 08 Aug 2008 14:31:05 GMT Jakub Jermar [c544c5d] * uspace/lib/libfs/libfs.c (modified) * uspace/srv/rd/rd.c (modified) * uspace/srv/rd/rd.h (modified) Stop using fixed size BLOCK_SIZE in the ramdisk task and allow each ... Thu, 07 Aug 2008 21:20:54 GMT Jakub Jermar [61bc901] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/tmpfs/tmpfs_dump.c (modified) Add a comment to libfs_blockread() and change type from size_t to ... Thu, 07 Aug 2008 19:01:24 GMT Jakub Jermar [d2c1fd5] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/tmpfs/tmpfs_dump.c (modified) Move tmpfs_blockread() to libfs and rename it to libfs_blockread(). ... Tue, 03 Jun 2008 12:29:47 GMT Martin Decky [abb2865] * uspace/lib/libfs/libfs.c (modified) fix typo Sun, 25 May 2008 19:52:20 GMT Jakub Jermar [fa832eb] * uspace/lib/libfs/libfs.c (modified) More of the preivous commit. Sun, 25 May 2008 19:49:29 GMT Jakub Jermar [92f9baca] * uspace/lib/libfs/libfs.c (modified) Optimize conditions in libfs_lookup(). Perform primitive comparisons ... Sun, 20 Apr 2008 11:22:33 GMT Jakub Jermar [34f62f8] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/fat/fat_ops.c (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) Revert libfs node_get() API to a model without the parent node ... Tue, 15 Apr 2008 03:01:59 GMT Jakub Jermar [80e8482] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/fat/fat_ops.c (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) Add stubs for unimplemented FAT libfs operations. Mon, 14 Apr 2008 05:15:16 GMT Jakub Jermar [06901c6b] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/fat/fat_ops.c (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) Add node_put() to libfs operations and instrument libfs_lookup() to ... Sun, 13 Apr 2008 02:53:09 GMT Jakub Jermar [c9f6e49f] * uspace/lib/libfs/libfs.c (modified) Reset the component length variable only prior collecting a new ... Sun, 13 Apr 2008 02:39:57 GMT Jakub Jermar [9ad75d5] * uspace/lib/libfs/libfs.c (modified) Improve libfs_lookup() so that has_children() is not called for each ... Sat, 12 Apr 2008 22:38:32 GMT Jakub Jermar [74ea3c6] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/fat/fat_ops.c (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) Add fat_root_get() and fat_plb_get_char(). Thu, 10 Apr 2008 05:08:30 GMT Jakub Jermar [e1e3b26] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/fat/fat.h (modified) * uspace/srv/fs/fat/fat_ops.c (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) Commit progress on the FAT file system server implementation. Wed, 02 Apr 2008 19:45:22 GMT Jakub Jermar [94b0b63] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) libfs' node_get() operation does not need the file system handle. Sun, 30 Mar 2008 22:30:32 GMT Jakub Jermar [736c164] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) Make libfs_lookup() more generic. Tue, 11 Mar 2008 20:33:53 GMT Jakub Jermar [f2ec8c8] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/tmpfs/tmpfs.h (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) * uspace/srv/vfs/vfs.h (modified) * uspace/srv/vfs/vfs_lookup.c (modified) * uspace/srv/vfs/vfs_ops.c (modified) * uspace/srv/vfs/vfs_register.c (modified) Introduce fs_handle_t, dev_handle_t and fs_index_t. Sun, 09 Mar 2008 17:18:30 GMT Jakub Jermar [a8e9ab8d] * uspace/app/tester/vfs/vfs1.c (modified) * uspace/lib/libc/generic/vfs/vfs.c (modified) * uspace/lib/libc/include/stdio.h (modified) * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) * uspace/srv/vfs/vfs.c (modified) * uspace/srv/vfs/vfs.h (modified) * uspace/srv/vfs/vfs_lookup.c (modified) * uspace/srv/vfs/vfs_ops.c (modified) Support for rename(). Thu, 06 Mar 2008 22:33:27 GMT Jakub Jermar [3298ddc] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/tmpfs/tmpfs.h (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) Support for multiple TMPFS node names. Wed, 05 Mar 2008 22:11:57 GMT Jakub Jermar [7b6d98b] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/tmpfs/tmpfs.h (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) No need to keep the parent pointer in the TMPFS node. Moreover, ... Sat, 01 Mar 2008 17:02:17 GMT Jakub Jermar [9bb85f3] * uspace/lib/libfs/libfs.c (modified) * uspace/srv/vfs/vfs_lookup.c (modified) Add canonify() for file system path canonization. Not yet used by VFS. Fri, 29 Feb 2008 21:46:22 GMT Jakub Jermar [1e50f81] * uspace/lib/libfs/libfs.c (modified) Add a comment to libfs_lookup. Wed, 27 Feb 2008 22:49:48 GMT Jakub Jermar [2c448fb] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) Move the core lookup logic from TMPFS to libfs. Mon, 31 Dec 2007 17:23:20 GMT Jakub Jermar [215e375] * uspace/app/klog/klog.c (modified) * uspace/app/tester/devmap/devmap1.c (modified) * uspace/lib/libc/generic/ipc.c (modified) * uspace/lib/libc/generic/time.c (modified) * uspace/lib/libc/generic/vfs.c (modified) * uspace/lib/libc/include/ipc/ipc.h (modified) * uspace/lib/libfs/libfs.c (modified) * uspace/srv/console/console.c (modified) * uspace/srv/console/gcons.c (modified) * uspace/srv/devmap/devmap.c (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) * uspace/srv/rd/rd.c (modified) * uspace/srv/vfs/vfs_mount.c (modified) * uspace/srv/vfs/vfs_open.c (modified) * uspace/srv/vfs/vfs_register.c (modified) The IPC_M_SHARE_* and IPC_M_DATA_* calls pass through 3 stages. ... Mon, 31 Dec 2007 16:46:43 GMT Jakub Jermar [27d293a] * kernel/generic/include/ipc/ipc.h (modified) * kernel/generic/src/ipc/sysipc.c (modified) * uspace/app/klog/klog.c (modified) * uspace/lib/libc/generic/ipc.c (modified) * uspace/lib/libc/generic/time.c (modified) * uspace/lib/libc/include/ipc/ipc.h (modified) * uspace/lib/libfs/libfs.c (modified) * uspace/srv/console/console.c (modified) * uspace/srv/console/gcons.c (modified) * uspace/srv/fb/ega.c (modified) * uspace/srv/fb/fb.c (modified) * uspace/srv/ns/ns.c (modified) * uspace/srv/rd/rd.c (modified) * uspace/srv/vfs/vfs_register.c (modified) Rename IPC_M_AS_AREA_SEND to IPC_M_SHARE_OUT. Rename ... Sun, 23 Dec 2007 19:45:30 GMT Jakub Jermar [36d852c] * kernel/generic/include/ipc/ipc.h (modified) * kernel/generic/src/ipc/sysipc.c (modified) * uspace/app/tester/devmap/devmap1.c (modified) * uspace/app/tester/vfs/vfs1.c (modified) * uspace/lib/libc/generic/ipc.c (modified) * uspace/lib/libc/include/ipc/ipc.h (modified) * uspace/lib/libfs/libfs.c (modified) * uspace/srv/devmap/devmap.c (modified) * uspace/srv/vfs/vfs_mount.c (modified) * uspace/srv/vfs/vfs_open.c (modified) * uspace/srv/vfs/vfs_register.c (modified) Rename IPC_M_DATA_SEND to IPC_M_DATA_WRITE. Now, when we also add ... Sun, 16 Dec 2007 16:25:26 GMT Jakub Jermar [efd4a72] * uspace/lib/libfs/libfs.c (modified) * uspace/lib/libfs/libfs.h (modified) * uspace/srv/fs/fat/Makefile (modified) * uspace/srv/fs/fat/fat.c (modified) * uspace/srv/fs/fat/fat.h (modified) * uspace/srv/fs/fat/fat_ops.c (modified) VFS work. Move FS registration code to libfs. Sat, 15 Dec 2007 12:45:21 GMT Jakub Jermar [74303b6] * uspace/Makefile (modified) * uspace/lib/libfs/Makefile (added) * uspace/lib/libfs/libfs.c (added) * uspace/lib/libfs/libfs.h (added) Start libfs. libfs is to contain all common fs code.