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
3357 5793 d 15 h post /trunk/uspace/app/bdsh/cmds/modules/cat/ cat: purpose updated in cat.def  
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.def
3356 5793 d 15 h post /trunk/uspace/app/bdsh/cmds/modules/cat/ Add a basic cat, cat --help shows future options  
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.h
3355 5794 d 14 h post /trunk/uspace/app/bdsh/cmds/modules/mkdir/ mkdir: Get rid of useless while loop (spaghetti)  
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
3354 5794 d 15 h post /trunk/uspace/app/bdsh/cmds/modules/mkdir/ mkdir: increment ret if mkdir() fails  
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
3353 5794 d 15 h post /trunk/uspace/app/bdsh/cmds/modules/mkdir/ mkdir is finished, -p / --parents options and more now functional  
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.h
3352 5795 d 2 h jermar /trunk/uspace/srv/ Add reference to the mounted FS root.

This makes it possible to keep the FS root logically unlinked (i.e. lnkcnt == 0)
because it prevents VFS from attempting to destroy it during closedir().
 
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs_ops.c
3351 5795 d 5 h jermar /trunk/uspace/lib/libc/generic/io/ Cstyle and formatting changes.  
/trunk/uspace/lib/libc/generic/io/asprintf.c
/trunk/uspace/lib/libc/generic/io/vsnprintf.c
3349 5795 d 11 h jermar /trunk/ Enable bdsh in most of the architectures, remove cli and simplify init.  
/trunk/uspace/app/cli
/trunk/boot/arch/amd64/Makefile.inc
/trunk/boot/arch/arm32/loader/Makefile
/trunk/boot/arch/ia32/Makefile.inc
/trunk/boot/arch/mips32/loader/Makefile
/trunk/boot/arch/ppc32/loader/Makefile
/trunk/boot/arch/sparc64/loader/Makefile
/trunk/uspace/Makefile
/trunk/uspace/app/init/init.c
3348 5795 d 12 h jermar /trunk/uspace/lib/libc/ Add asprintf().  
/trunk/uspace/lib/libc/generic/io/asprintf.c
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/lib/libc/generic/io/sprintf.c
/trunk/uspace/lib/libc/include/stdio.h
3347 5795 d 12 h jermar /trunk/uspace/lib/libc/generic/io/ printf_putstr() must return the number of characters printed.  
/trunk/uspace/lib/libc/generic/io/printf_core.c
3346 5795 d 13 h post /trunk/ Merge with shell @ 3241 for bdsh  
/trunk/uspace/app/bdsh
/trunk/uspace/lib/libc/generic/getopt.c
/trunk/uspace/lib/libc/include/getopt.h
/trunk/boot/arch/ia32/Makefile.inc
/trunk/uspace/Makefile
/trunk/uspace/app/init/init.c
/trunk/uspace/lib/libc/Makefile
3344 5797 d 3 h jermar /trunk/uspace/lib/libc/generic/ Change ipc_share_{in|out}_start() to use the async framework.  
/trunk/uspace/lib/libc/generic/ipc.c
3335 5799 d 1 h jermar /trunk/uspace/srv/fs/fat/ Support for readdir() on FAT.  
/trunk/uspace/srv/fs/fat/fat_ops.c
3334 5801 d 7 h jermar /trunk/uspace/lib/libc/generic/ Let ipc_data_{read|write}_start() use the async framework.  
/trunk/uspace/lib/libc/generic/ipc.c
3331 5801 d 9 h jermar /trunk/uspace/lib/libc/generic/vfs/ Fix canonify() to set correct length even for paths that have no components.  
/trunk/uspace/lib/libc/generic/vfs/canonify.c
3328 5801 d 11 h jermar /trunk/uspace/lib/libc/generic/vfs/ Fix off-by-one bug in absolutize().  
/trunk/uspace/lib/libc/generic/vfs/vfs.c
3325 5802 d 2 h jermar /trunk/uspace/srv/fs/fat/ Determine the size of a directory node by walking the FAT and counting clusters.
This eliminates the hardcoded limit on the number of directory entries.
 
/trunk/uspace/srv/fs/fat/fat_ops.c
3315 5803 d 2 h jermar /trunk/uspace/srv/loader/ Make sure that the loader keeps on read()ing until it read()s all it wanted to
read().
 
/trunk/uspace/srv/loader/elf_load.c
3314 5803 d 3 h jermar /trunk/uspace/srv/fs/fat/ fat_read() should expect IPC_M_DATA_READ instead of IPC_M_DATA_WRITE.  
/trunk/uspace/srv/fs/fat/fat_ops.c
3313 5803 d 3 h jermar /trunk/uspace/lib/libc/generic/vfs/ When read() fails, return the actual error.  
/trunk/uspace/lib/libc/generic/vfs/vfs.c
3312 5803 d 3 h jermar /trunk/uspace/srv/fs/fat/ When removing a FAT node from the ffn list, use the correct pointer instead of
an uninitialized one.
 
/trunk/uspace/srv/fs/fat/fat_ops.c
3308 5805 d 1 h jermar /trunk/uspace/srv/fs/fat/ More complete fat_read().  
/trunk/uspace/srv/fs/fat/fat_ops.c
3307 5805 d 3 h jermar /trunk/uspace/srv/fs/fat/ Dummy implementation of fat_read().  
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3306 5805 d 11 h jermar /trunk/uspace/lib/libc/ Fix handling of relative paths in task_spawn().  
/trunk/uspace/lib/libc/generic/task.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/vfs/vfs.h
3292 5806 d 6 h jermar /trunk/uspace/lib/libc/generic/vfs/ Fix absolutize() wrt. to relative paths.  
/trunk/uspace/lib/libc/generic/vfs/vfs.c
3290 5806 d 6 h jermar /trunk/uspace/app/ Remove ash.  
/trunk/uspace/app/ash
3282 5807 d 0 h jermar /trunk/uspace/srv/fs/fat/ FAT dentry type used for subdirectories doesn't store the directory size in the 'size' field.
Introduce a simple workaround that will let us have 64 directory entries at maximum.
 
/trunk/uspace/srv/fs/fat/fat_ops.c
3274 5807 d 7 h jermar /trunk/ memcpy(), memmove() and similar functions return dst instead of src.
Fix all implementations, including those in assembly. ppc32 assembly
version didn't seem to be affected by this.
 
/trunk/boot/arch/arm32/loader/asm.S
/trunk/boot/arch/mips32/loader/asm.S
/trunk/boot/arch/sparc64/loader/asm.S
/trunk/kernel/arch/amd64/src/asm_utils.S
/trunk/kernel/arch/arm32/src/asm.S
/trunk/kernel/arch/ia32/src/asm.S
/trunk/kernel/arch/ia32xen/src/asm.S
/trunk/kernel/arch/ia64/src/asm.S
/trunk/kernel/arch/mips32/src/asm.S
/trunk/kernel/arch/sparc64/src/asm.S
/trunk/kernel/generic/src/lib/memstr.c
/trunk/uspace/lib/libc/generic/string.c
3272 5807 d 13 h jermar /trunk/uspace/srv/fs/fat/ Several fixes for the FAT file system:
- do not copy padding during file name canonization
- properly nul-terminate the FAT file name during canonization
- compare FAT file name and the component name case insensitively
- block_get() takes a block offset, not byte offset as parameter
 
/trunk/uspace/srv/fs/fat/fat_ops.c
3271 5807 d 13 h jermar /trunk/uspace/lib/libc/ Add tolower() and stricmp().  
/trunk/uspace/lib/libc/generic/string.c
/trunk/uspace/lib/libc/include/ctype.h
/trunk/uspace/lib/libc/include/string.h
3261 5808 d 0 h jermar /trunk/uspace/lib/libc/generic/ Cstyle for string.c  
/trunk/uspace/lib/libc/generic/string.c
3257 5808 d 12 h jermar /trunk/uspace/srv/fs/fat/ First attempt at delivering the FAT16 read-only support.
Needless to say it doesn't work yet, but now it's only
the lurking bugs that need to be fixed.
 
/trunk/uspace/srv/fs/fat/fat_ops.c
3256 5808 d 12 h jermar /trunk/uspace/app/init/ If mount() says ENOENT, don't attempt to mount the file system again.  
/trunk/uspace/app/init/init.c
3255 5808 d 12 h jermar /trunk/uspace/ Fix the VFS protocol so that the client can determine that VFS_MOUNT failed due
to a request to mount an unregistered file system.
 
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs_ops.c
3254 5809 d 8 h jermar /trunk/uspace/ Stop using fixed size BLOCK_SIZE in the ramdisk task and allow each client to negotiate its own
maximum block size. Allow the individual transfers to use block sizes smaller and equal to the
negotiated maximum block size.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/srv/rd/rd.c
/trunk/uspace/srv/rd/rd.h
3253 5810 d 1 h jermar /trunk/uspace/srv/fs/fat/ Pass block size to block_get() in the last argument.  
/trunk/uspace/srv/fs/fat/fat_ops.c
3252 5810 d 1 h jermar /trunk/uspace/ Add a comment to libfs_blockread() and change type from size_t to off_t at
various places.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
3251 5810 d 3 h jermar /trunk/uspace/ Move tmpfs_blockread() to libfs and rename it to libfs_blockread().
Add one argument to specify block size.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
3250 5810 d 4 h jermar /trunk/uspace/srv/fs/tmpfs/ Let tmpfs_blockread() use async_req_2_1() instead of ipc_call_sync_2_1().  
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
3247 5811 d 4 h jermar /trunk/uspace/srv/fs/tmpfs/ Avoid magic numbers in tmpfs_dump.c.  
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c