Commit Briefs

Omar Polo

add `rename' command

it leverages the recently added wstat support


Omar Polo

9pclib: add wstat support


Omar Polo

fmt


Omar Polo

kamid: add wstat

it's not exactly compliant, as 9p requires the changes to be done atomically, but it's not possible to better targeting a UNIX file system. The 9p manpage regarding wstat isn't clear about the behaviour when changing the name of the file: kamid changes the associated fid to reflect the rename. kamid also allows to rename files to other directories, the fid is updated to the new location even in this case.


Omar Polo

move struct np_stat to kami.h


Omar Polo

ftp: print mtime in ls output

Print the time (HH:MM) of the last edit is within the last 6 months, the year otherwise; match what `ls -lahF' does on OpenBSD, and I think it's cool.


Omar Polo

print a / after directory entries


Omar Polo

pretty print file permissions



Omar Polo

the reported length for directories must be zero

plan9' stat(3) says so...


Omar Polo

add hexdump command to aid the debugging

Also skip the progression bar if hexdump is enabled.




Omar Polo

ftp: fix some usage reportings


Omar Polo

kamid: always reply to auth with a struct kd_auth_proc

even when the authentication fails