Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
3366 5840 d 0 h post /trunk/uspace/app/bdsh/ Housekeeping list, complete lingering things before they get forgotten:
* cli_*() now sets a global cli_errno, error functions cleaned up
* Finish internal cli_*() functions in util.c
* Don't expose cli_init() or cli_finit()
* Get rid of unused globals
* Don't set globals in commands themselves
* Update README files
* Fix stale comments
 
3364 5842 d 0 h post /trunk/uspace/app/bdsh/cmds/modules/ Fix command description display, only command entry points need to be exposed.  
3361 5842 d 13 h post /trunk/uspace/app/bdsh/ Update TODO list  
3360 5842 d 13 h post /trunk/uspace/app/bdsh/ Remove 'mount'  
3358 5842 d 22 h post /trunk/uspace/app/bdsh/cmds/modules/cat/ cat: no reason to set i = optind twice :)  
3357 5842 d 23 h post /trunk/uspace/app/bdsh/cmds/modules/cat/ cat: purpose updated in cat.def  
3356 5842 d 23 h post /trunk/uspace/app/bdsh/cmds/modules/cat/ Add a basic cat, cat --help shows future options  
3355 5843 d 21 h post /trunk/uspace/app/bdsh/cmds/modules/mkdir/ mkdir: Get rid of useless while loop (spaghetti)  
3354 5843 d 22 h post /trunk/uspace/app/bdsh/cmds/modules/mkdir/ mkdir: increment ret if mkdir() fails  
3353 5843 d 22 h post /trunk/uspace/app/bdsh/cmds/modules/mkdir/ mkdir is finished, -p / --parents options and more now functional  
3352 5844 d 10 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().
 
3351 5844 d 12 h jermar /trunk/uspace/lib/libc/generic/io/ Cstyle and formatting changes.  
3349 5844 d 18 h jermar /trunk/ Enable bdsh in most of the architectures, remove cli and simplify init.  
3348 5844 d 19 h jermar /trunk/uspace/lib/libc/ Add asprintf().  
3347 5844 d 19 h jermar /trunk/uspace/lib/libc/generic/io/ printf_putstr() must return the number of characters printed.  
3346 5844 d 20 h post /trunk/ Merge with shell @ 3241 for bdsh  
3344 5846 d 10 h jermar /trunk/uspace/lib/libc/generic/ Change ipc_share_{in|out}_start() to use the async framework.  
3335 5848 d 8 h jermar /trunk/uspace/srv/fs/fat/ Support for readdir() on FAT.  
3334 5850 d 14 h jermar /trunk/uspace/lib/libc/generic/ Let ipc_data_{read|write}_start() use the async framework.  
3331 5850 d 16 h jermar /trunk/uspace/lib/libc/generic/vfs/ Fix canonify() to set correct length even for paths that have no components.  
3328 5850 d 18 h jermar /trunk/uspace/lib/libc/generic/vfs/ Fix off-by-one bug in absolutize().  
3325 5851 d 9 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.
 
3315 5852 d 9 h jermar /trunk/uspace/srv/loader/ Make sure that the loader keeps on read()ing until it read()s all it wanted to
read().
 
3314 5852 d 10 h jermar /trunk/uspace/srv/fs/fat/ fat_read() should expect IPC_M_DATA_READ instead of IPC_M_DATA_WRITE.  
3313 5852 d 10 h jermar /trunk/uspace/lib/libc/generic/vfs/ When read() fails, return the actual error.  
3312 5852 d 10 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.
 
3308 5854 d 9 h jermar /trunk/uspace/srv/fs/fat/ More complete fat_read().  
3307 5854 d 10 h jermar /trunk/uspace/srv/fs/fat/ Dummy implementation of fat_read().  
3306 5854 d 18 h jermar /trunk/uspace/lib/libc/ Fix handling of relative paths in task_spawn().  
3292 5855 d 13 h jermar /trunk/uspace/lib/libc/generic/vfs/ Fix absolutize() wrt. to relative paths.  
3290 5855 d 13 h jermar /trunk/uspace/app/ Remove ash.  
3282 5856 d 7 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.
 
3274 5856 d 14 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.
 
3272 5856 d 20 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
 
3271 5856 d 20 h jermar /trunk/uspace/lib/libc/ Add tolower() and stricmp().  
3261 5857 d 7 h jermar /trunk/uspace/lib/libc/generic/ Cstyle for string.c  
3257 5857 d 19 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.
 
3256 5857 d 20 h jermar /trunk/uspace/app/init/ If mount() says ENOENT, don't attempt to mount the file system again.  
3255 5857 d 20 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.
 
3254 5858 d 15 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.