|
|
@0b4a67a
|
14 years |
jakub |
Use a more portable definition of NULL.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@991f645
|
14 years |
jakub |
Rename dev_handle_t to devmap_handle_t and make it explicitly clear …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4deb8b5
|
14 years |
jiri |
Make bdsh help command more HelenOS-centric.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@19f857a
|
14 years |
jiri |
Rename string.h to str.h to avoid header conflict with standard C string.h.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a000878c
|
14 years |
martin |
make sure that all statically allocated strings are declared as "const …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ed903174
|
14 years |
martin |
implement support for 64bit file offsets
* the libc API is a small …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36e9cd1
|
14 years |
martin |
silence compiler warnings (no change in actual functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a25aeb
|
14 years |
jakub |
Finish the unmount bdsh command.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0cb2d72
|
14 years |
jakub |
Add dummy unmount command to bdsh.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@336d2faa
|
14 years |
jiri |
Add shell command for creating zero-filled files (mkfile).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1313ee9
|
14 years |
martin |
introduce device namespaces
* add support for explicit open in libfs …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@309ede1
|
15 years |
jiri |
In bdd do not use block cache, fix block address advancing, improve …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cffce57
|
15 years |
jakub |
Deal with I/O errors in the bdd command gracefully.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c91f2d1b
|
15 years |
jakub |
Enable the block_get() and block_put() APIs to return error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b3cf90
|
15 years |
jirik.svoboda |
Fix warnings in Bdsh and PCI lib.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@415c7e0d
|
15 years |
jakub |
Implement stat() and VFS_IN_STAT.
Modify bdsh() to use stat() during …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1fbe064b
|
15 years |
jirik.svoboda |
Allow libblock to operate in write-through mode. With 'wtcache' mount …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3bf907a
|
15 years |
martin |
be more pedantic about undefined function prototypes (to avoid memory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@73878c1
|
15 years |
martin |
bdsh: sync with I/O changes, block until spawned task exits
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@27fd651
|
15 years |
jirik.svoboda |
Add 'bdd' shell command (block device dump) for testing block device …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d4a172b
|
15 years |
jakub |
Add a bdsh wrapper around mount().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@046f342
|
15 years |
jakub |
Add a primitive 'mv' command. This 'mv' is a mere wrapper around …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8bb129d
|
15 years |
jakub |
HelenOS open() returns the actual error code, not mere -1.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6eb2e96
|
15 years |
jirik.svoboda |
str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@095003a8
|
15 years |
jirik.svoboda |
strdup() → str_dup()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@92fd52d7
|
15 years |
jirik.svoboda |
Nuke strcpy() and strcmp().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3fe00ee
|
15 years |
jirik.svoboda |
'kcon' shell builtin for switching to debug console.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9646159
|
15 years |
jirik.svoboda |
Fix file size display when doing 'ls' of another directory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee79df74
|
15 years |
jirik.svoboda |
Fix file-size display on big-endian machines. Also, rather use off_t …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bffd91f
|
15 years |
echo |
cstyle (nits) 80 column limit
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7be230
|
15 years |
echo |
Stop using assert() in modules/builtins as abort() will crash the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bf226890
|
15 years |
echo |
ls now prints file sizes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4cc0c9ee
|
15 years |
echo |
Get rid of cli_strdup(), cli_strtok(), cli_strtok_r(), just use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@721d3a27
|
15 years |
echo |
exit should be a builtin, since it will eventually need to know about …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@491af07
|
15 years |
echo |
Update the mknewcmd script
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d752cf4
|
15 years |
echo |
Eliminate 'restrict' from command structure, get rid of needless …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@890793b
|
16 years |
jakub |
Nits.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8df7a1c
|
16 years |
jakub |
Several fixes for cp.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4c4ddbe9
|
16 years |
echo |
cp: Fix counter if verbose, remove debug printfs
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c3c5640
|
16 years |
echo |
cp: fix type mis-match
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3b10e07b
|
16 years |
echo |
make copy_file() deal with files with zero length
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee02922
|
16 years |
echo |
cp: don't return CMD_FAILURE for zero length files
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2640b6c
|
16 years |
echo |
Implement a rudamentary 'cp' for testing write()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2953f9a
|
16 years |
jirik.svoboda |
Fix bdsh/cat crash. Also fix error in zero-trailing the buffer.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@39463ff
|
16 years |
echo |
Add skeletal sleep and cp commands (not yet working)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e13fb10
|
16 years |
echo |
Fix bug in mknewcmd (incorrectly prototyping entry points)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6279151
|
16 years |
echo |
Update README and mknewcmd to reflect changes in command entry points
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@809813d
|
16 years |
echo |
Simplify entry types (and return values) for commands
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6aae7a3b
|
16 years |
echo |
Take debug printfs out of cat
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c4f46a
|
16 years |
echo |
Let 'cd' invoke cli_set_prompt(), no need to do it in every iteration …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@43e02a6
|
16 years |
echo |
Just make cli_count_args() a function
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3771a6e
|
16 years |
echo |
long_options[] should be const where implemented
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a56f4b2
|
16 years |
echo |
Rename non-standard extensions (cmd.def → cmd_def.h)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@69145dae
|
16 years |
echo |
pwd should be a module, not a builtin
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2ea8d7e
|
16 years |
echo |
Housekeeping list, complete lingering things before they get …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b510d52
|
16 years |
echo |
Fix command description display, only command entry points need to be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@90a428a
|
16 years |
echo |
Remove 'mount'
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1c87d79
|
16 years |
echo |
cat: no reason to set i = optind twice
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ab5a45e0
|
16 years |
echo |
cat: purpose updated in cat.def
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9f5e24f
|
16 years |
echo |
Add a basic cat, cat —help shows future options
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@65267f6
|
16 years |
echo |
mkdir: Get rid of useless while loop (spaghetti)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eb9618c
|
16 years |
echo |
mkdir: increment ret if mkdir() fails
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@be8f92d
|
16 years |
echo |
mkdir is finished, -p / —parents options and more now functional
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@216d6fc
|
16 years |
echo |
Merge with shell @ 3241 for bdsh
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|