Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4682 |
5494 d 12 h |
svoboda |
/trunk/uspace/ |
Fix warnings in Bdsh and PCI lib. |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.h /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/srv/pci/libpci/generic.c /trunk/uspace/srv/pci/libpci/i386-ports.c /trunk/uspace/srv/pci/libpci/names.c
|
4587 |
5529 d 10 h |
jermar |
/trunk/uspace/ |
Implement stat() and VFS_IN_STAT.
Modify bdsh() to use stat() during ls.
In devfs, allow lookups that don't
specify one of L_FILE and L_DIRECTORY. |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.h /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/sys/stat.h /trunk/uspace/srv/fs/devfs/devfs_ops.c /trunk/uspace/srv/vfs/vfs_ops.c
|
4572 |
5531 d 10 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
|
4496 |
5553 d 15 h |
decky |
/trunk/uspace/ |
be more pedantic about undefined function prototypes (to avoid memory access traps)
add missing header files |
|
/trunk/uspace/app/bdsh/cmds/modules/bdd/bdd.c /trunk/uspace/app/bdsh/cmds/modules/kcon/kcon.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tester/console/console1.c /trunk/uspace/app/trace/trace.c /trunk/uspace/lib/libc/Makefile.toolchain /trunk/uspace/lib/libc/generic/mem.c /trunk/uspace/srv/ns/clonable.c /trunk/uspace/srv/ns/ns.c
|
4486 |
5554 d 12 h |
decky |
/trunk/uspace/app/bdsh/ |
bdsh: sync with I/O changes, block until spawned task exits |
|
/trunk/uspace/app/bdsh/cmds/modules/kcon/kcon.c /trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/input.c
|
4408 |
5569 d 9 h |
svoboda |
/trunk/uspace/app/bdsh/ |
Add 'bdd' shell command (block device dump) for testing block device drivers. |
|
/trunk/uspace/app/bdsh/cmds/modules/bdd /trunk/uspace/app/bdsh/cmds/modules/bdd/bdd.c /trunk/uspace/app/bdsh/cmds/modules/bdd/bdd.h /trunk/uspace/app/bdsh/cmds/modules/bdd/bdd_def.h /trunk/uspace/app/bdsh/cmds/modules/bdd/entry.h
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/modules/modules.h
|
4371 |
5577 d 12 h |
jermar |
/trunk/uspace/app/bdsh/ |
Add a bdsh wrapper around mount(). |
|
/trunk/uspace/app/bdsh/cmds/modules/mount /trunk/uspace/app/bdsh/cmds/modules/mount/entry.h /trunk/uspace/app/bdsh/cmds/modules/mount/mount.c /trunk/uspace/app/bdsh/cmds/modules/mount/mount.h /trunk/uspace/app/bdsh/cmds/modules/mount/mount_def.h
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/modules/modules.h
|
4364 |
5580 d 20 h |
jermar |
/trunk/uspace/app/bdsh/ |
Add a primitive 'mv' command. This 'mv' is a mere wrapper around rename() and
as such cannot move files across file systems and doesn't work on FAT (because
FAT does not support hardlinks). |
|
/trunk/uspace/app/bdsh/cmds/modules/mv /trunk/uspace/app/bdsh/cmds/modules/mv/entry.h /trunk/uspace/app/bdsh/cmds/modules/mv/mv.c /trunk/uspace/app/bdsh/cmds/modules/mv/mv.h /trunk/uspace/app/bdsh/cmds/modules/mv/mv_def.h
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/modules/module_aliases.h /trunk/uspace/app/bdsh/cmds/modules/modules.h
|
4361 |
5582 d 10 h |
jermar |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
HelenOS open() returns the actual error code, not mere -1. |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c
|
4268 |
5608 d 23 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
|
4266 |
5609 d 9 h |
svoboda |
/trunk/uspace/ |
strdup() -> str_dup() |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/touch/touch.c /trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tetris/scores.c /trunk/uspace/app/tetris/tetris.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/string.h
|
4264 |
5609 d 10 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
|
4168 |
5627 d 11 h |
svoboda |
/trunk/uspace/ |
'kcon' shell builtin for switching to debug console. |
|
/trunk/uspace/app/bdsh/cmds/modules/kcon /trunk/uspace/app/bdsh/cmds/modules/kcon/entry.h /trunk/uspace/app/bdsh/cmds/modules/kcon/kcon.c /trunk/uspace/app/bdsh/cmds/modules/kcon/kcon.h /trunk/uspace/app/bdsh/cmds/modules/kcon/kcon_def.h
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/modules/modules.h /trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/include/console.h /trunk/uspace/lib/libc/include/ipc/console.h /trunk/uspace/srv/console/console.c
|
3945 |
5656 d 20 h |
svoboda |
/trunk/uspace/app/bdsh/cmds/modules/ls/ |
Fix file size display when doing 'ls' of another directory. |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.h
|
3834 |
5678 d 13 h |
svoboda |
/trunk/uspace/app/bdsh/cmds/modules/ls/ |
Fix file-size display on big-endian machines. Also, rather use off_t than uint64_t for holding file size. |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c
|
3816 |
5686 d 13 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
cstyle (nits) 80 column limit |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c
|
3815 |
5686 d 14 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ |
Stop using assert() in modules/builtins as abort() will crash the entire shell.
Handle the case and report the issue, leaving the user able to reproduce it
without rebooting. |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c
|
3814 |
5686 d 16 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ls/ |
ls now prints file sizes |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c
|
3813 |
5686 d 17 h |
post |
/trunk/uspace/app/bdsh/ |
Get rid of cli_strdup(), cli_strtok(), cli_strtok_r(), just use facilities in libc |
|
/trunk/uspace/app/bdsh/AUTHORS /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/touch/touch.c /trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/bdsh/util.c /trunk/uspace/app/bdsh/util.h
|
3811 |
5687 d 0 h |
post |
/trunk/uspace/app/bdsh/ |
exit should be a builtin, since it will eventually need to know about running jobs |
|
/trunk/uspace/app/bdsh/cmds/builtins/exit /trunk/uspace/app/bdsh/cmds/builtins/exit/exit.c /trunk/uspace/app/bdsh/cmds/builtins/exit/exit.h /trunk/uspace/app/bdsh/cmds/builtins/exit/exit_def.h
/trunk/uspace/app/bdsh/cmds/builtins/exit/quit.c /trunk/uspace/app/bdsh/cmds/builtins/exit/quit.h /trunk/uspace/app/bdsh/cmds/builtins/exit/quit_def.h /trunk/uspace/app/bdsh/cmds/modules/quit
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/builtins/builtins.h /trunk/uspace/app/bdsh/cmds/builtins/exit/entry.h /trunk/uspace/app/bdsh/cmds/modules/modules.h
|