Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
4586 5468 d 17 h jermar /trunk/uspace/ Add libfs_stat() and let FAT and TMPFS use it.  
/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
4585 5468 d 17 h jermar /trunk/uspace/ Introduce VFS_IN_FSTAT and VFS_OUT_STAT.
Provide libc fstat() and devfs_stat().
This functionality replaces VFS_IN_NODE
and VFS_IN/OUT_DEVICE. FAT and TMPFS
still do not implement this and VFS_IN_STAT
and stat() need implementation as well.
 
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/ipc/vfs.h
/trunk/uspace/lib/libc/include/sys/stat.h
/trunk/uspace/srv/fs/devfs/devfs.c
/trunk/uspace/srv/fs/devfs/devfs_ops.c
/trunk/uspace/srv/fs/devfs/devfs_ops.h
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.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_ops.c
4572 5470 d 14 h svoboda /trunk/uspace/ Allow libblock to operate in write-through mode. With 'wtcache' mount option, FAT sets write-through mode on the cache.  
/trunk/uspace/app/bdsh/cmds/modules/bdd/bdd.c
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/srv/fs/fat/fat_ops.c
4552 5479 d 14 h jermar /trunk/uspace/srv/fs/fat/ Use fibril synchronization in FAT.  
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_idx.c
/trunk/uspace/srv/fs/fat/fat_ops.c
4509 5488 d 22 h decky /trunk/uspace/ rename libadt -> adt  
/trunk/uspace/lib/libc/generic/adt
/trunk/uspace/lib/libc/include/adt
/trunk/uspace/lib/libc/generic/libadt
/trunk/uspace/lib/libc/include/libadt
/trunk/uspace/app/trace/ipcp.c
/trunk/uspace/app/trace/proto.c
/trunk/uspace/app/trace/proto.h
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/lib/libc/generic/adt/hash_table.c
/trunk/uspace/lib/libc/generic/adt/list.c
/trunk/uspace/lib/libc/generic/async.c
/trunk/uspace/lib/libc/generic/fibril.c
/trunk/uspace/lib/libc/generic/io/io.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/include/adt/hash_table.h
/trunk/uspace/lib/libc/include/fibril.h
/trunk/uspace/lib/libc/include/ipc/devmap.h
/trunk/uspace/lib/libc/include/stdio.h
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/fs/devfs/devfs_ops.c
/trunk/uspace/srv/fs/fat/fat_idx.c
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/kbd/Makefile
/trunk/uspace/srv/kbd/genarch/gsp.c
/trunk/uspace/srv/kbd/generic/kbd.c
/trunk/uspace/srv/kbd/include/gsp.h
/trunk/uspace/srv/ns/clonable.c
/trunk/uspace/srv/ns/service.c
/trunk/uspace/srv/ns/task.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_node.c
/trunk/uspace/srv/vfs/vfs_ops.c
/trunk/uspace/srv/vfs/vfs_register.c
4465 5493 d 17 h decky /trunk/uspace/srv/fs/ implement VFS_OPEN_NODE and VFS_DEVICE (no device handle is returned)
implement no-op VFS_SYNC and VFS_CLOSE
 
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
4429 5505 d 17 h jermar /trunk/uspace/ Add fs_handle argument to libfs_mount() needed to recognize homogenous mounts.  
/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
4409 5508 d 14 h jermar /trunk/uspace/ Rudimentary support for non-root mounts.  
/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
/trunk/uspace/srv/vfs/vfs_ops.c
4370 5518 d 14 h jermar /trunk/uspace/ Streamline TMPFS and fix its design so that it properly supports hardlinks.
libfs operation unlink() is now passed also the name of the component being
unlinked.
 
/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.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
4359 5521 d 17 h jermar /trunk/uspace/srv/fs/fat/ Do not attempt to unlink non-empty FAT directories.  
/trunk/uspace/srv/fs/fat/fat_ops.c
4358 5522 d 14 h jermar /trunk/uspace/srv/fs/fat/ Do not attempt to unlink() FAT root.  
/trunk/uspace/srv/fs/fat/fat_ops.c
4357 5522 d 14 h jermar /trunk/uspace/ Introduce the concept of FS nodes. A FS node is a typed abstraction of
file-system-specific node type. It replaces the void * in libfs interfaces
and is suitable for holding various information such as mount point data.
 
/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.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
4305 5539 d 20 h jermar /trunk/uspace/ Support mount options.
Let tmpfs decide whether to start empty or restored a TMPFS dump based on the mount option.
 
/trunk/uspace/app/init/init.c
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/vfs/vfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_ops.c
4268 5548 d 4 h svoboda /trunk/uspace/ str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy().  
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c
/trunk/uspace/app/tetris/scores.c
/trunk/uspace/app/tetris/tetris.c
/trunk/uspace/lib/libc/generic/loader.c
/trunk/uspace/lib/libc/generic/string.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/string.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
4264 5548 d 15 h svoboda /trunk/uspace/ Nuke strcpy() and strcmp().  
/trunk/uspace/app/bdsh/cmds/builtin_cmds.c
/trunk/uspace/app/bdsh/cmds/mod_cmds.c
/trunk/uspace/app/bdsh/cmds/modules/help/help.c
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
/trunk/uspace/app/bdsh/cmds/modules/rm/rm.c
/trunk/uspace/app/bdsh/exec.c
/trunk/uspace/app/bdsh/input.c
/trunk/uspace/app/tester/devmap/devmap1.c
/trunk/uspace/app/tetris/scores.c
/trunk/uspace/app/tetris/screen.c
/trunk/uspace/app/tetris/tetris.c
/trunk/uspace/lib/libc/generic/console.c
/trunk/uspace/lib/libc/generic/getopt.c
/trunk/uspace/lib/libc/generic/string.c
/trunk/uspace/lib/libc/include/stdio.h
/trunk/uspace/lib/libc/include/string.h
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/fs/fat/fat_dentry.c
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/loader/main.c
/trunk/uspace/srv/pci/libpci/names.c
/trunk/uspace/srv/rd/rd.c
/trunk/uspace/srv/vfs/vfs_ops.c
3701 5662 d 19 h jermar /trunk/uspace/srv/fs/fat/ Set a loop control variable properly when growing the FAT directory.  
/trunk/uspace/srv/fs/fat/fat_ops.c
3700 5662 d 19 h jermar /trunk/uspace/srv/fs/fat/ Add the ability to grow a FAT directory.  
/trunk/uspace/srv/fs/fat/fat_ops.c
3660 5678 d 18 h jermar /trunk/uspace/srv/fs/fat/ Create "." and ".." entries on FAT.  
/trunk/uspace/srv/fs/fat/fat_dentry.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3638 5683 d 13 h jermar /trunk/uspace/srv/fs/fat/ Implement fat_unlink().  
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_dentry.c
/trunk/uspace/srv/fs/fat/fat_dentry.h
/trunk/uspace/srv/fs/fat/fat_idx.c
/trunk/uspace/srv/fs/fat/fat_ops.c
3634 5684 d 0 h jermar /trunk/uspace/srv/fs/fat/ Consider "prd" and "prd." to be the same FAT dentry names.  
/trunk/uspace/srv/fs/fat/fat_dentry.c
/trunk/uspace/srv/fs/fat/fat_dentry.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3633 5684 d 13 h jermar /trunk/uspace/srv/fs/fat/ When creating a new directory node, allocate the first cluster for it.  
/trunk/uspace/srv/fs/fat/fat_ops.c
3629 5685 d 19 h jermar /trunk/uspace/srv/fs/fat/ When syncing a FAT node, do not skip attributes.  
/trunk/uspace/srv/fs/fat/fat_ops.c
3628 5685 d 20 h jermar /trunk/uspace/ Add somewhat functional fat_link().  
/trunk/uspace/lib/libc/include/errno.h
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_dentry.c
/trunk/uspace/srv/fs/fat/fat_dentry.h
/trunk/uspace/srv/fs/fat/fat_idx.c
/trunk/uspace/srv/fs/fat/fat_ops.c
3625 5685 d 23 h jermar /trunk/uspace/ libfs operation link() should return standard error code instead of mere
true/false.
 
/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_dump.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
3621 5686 d 1 h jermar /trunk/uspace/srv/fs/fat/ Add implementation of fat_destroy_node() and fat_destroy().  
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3609 5687 d 1 h jermar /trunk/uspace/srv/fs/fat/ Implementation of fat_create_node().  
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3595 5690 d 15 h jermar /trunk/uspace/ Avoid unnecessary block reads in block_get().  
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3575 5699 d 14 h jermar /trunk/uspace/ libfs create operation should take the device handle as 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_dump.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
3574 5699 d 15 h jermar /trunk/uspace/srv/fs/fat/ Move common code to dedicated functions so that it can be easily reused.  
/trunk/uspace/srv/fs/fat/fat_idx.c
/trunk/uspace/srv/fs/fat/fat_ops.c
3573 5699 d 17 h jermar /trunk/uspace/srv/fs/fat/ VFS_WRITE has two return arguments on success.  
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_ops.c
3572 5699 d 19 h jermar /trunk/uspace/srv/fs/fat/ Finish implementation of fat_truncate() and fix several warnings.  
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3550 5703 d 13 h jermar /trunk/uspace/srv/fs/fat/ Extend _fat_blcks_get() to fat_cluster_walk(). Use fat_cluster_walk() to
implement fat_clusters_get() and _fat_block_get().
 
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3548 5704 d 13 h jermar /trunk/uspace/srv/fs/fat/ More fat_truncate() bits.  
/trunk/uspace/srv/fs/fat/fat_ops.c
3547 5704 d 13 h jermar /trunk/uspace/srv/fs/fat/ Enable fat_write().  
/trunk/uspace/srv/fs/fat/fat_ops.c
3546 5704 d 13 h jermar /trunk/uspace/srv/fs/fat/ Start implementing fat_truncate().  
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3539 5706 d 22 h jermar /trunk/uspace/ Add block_cache_init().  
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3537 5707 d 2 h jermar /trunk/uspace/ Separate the block_init() phase from reading of the boot block.  
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
3533 5708 d 19 h jermar /trunk/uspace/srv/fs/fat/ move comment  
/trunk/uspace/srv/fs/fat/fat_ops.c
3532 5708 d 20 h jermar /trunk/uspace/srv/fs/fat/ fat_read() needs to stop reading beyond the EOF.  
/trunk/uspace/srv/fs/fat/fat_ops.c
3530 5711 d 20 h jermar /trunk/uspace/ Setup communication parameters with the block device in block_init(). The file
system now doesn't know anything about the communication with the block device.
Rename blockread() to block_read(). The boot block is now read only once. The file
system can get access it using the block_bb_get() function.
 
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/lib/libc/include/errno.h
/trunk/uspace/srv/fs/fat/Makefile
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/Makefile
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c