Commit Graph

230 Commits

Author SHA1 Message Date
pooka
540fcdb7ef +pseudo-device putter 2009-06-09 14:27:17 +00:00
njoly
4c9ac951c7 Fix a crash while trying to read nodes on amd64, reported in PR/41494,
by not doing any transfert when offset exceed the actual data length.

From and ok by pooka@.
2009-05-28 10:07:06 +00:00
pooka
d6c25c2b9b wait() for dead ssh processes (but don't block, so we might have
one teeny zmobie in the system).
2009-05-20 15:04:36 +00:00
pooka
b5cb6a6ca0 Fix SNAFU in previous: connection handshake is already handled by
the connect routine now, so we're not required/allowed to do it twice.
Makes reconnect on dead link work again.
2009-05-20 14:39:42 +00:00
pooka
dac06153a9 Copyright year management. no functional change (unless sarah disagrees) 2009-05-20 14:08:21 +00:00
pooka
8ff915319e Introduce -c [12], which can be used to open 1 or 2 ssh connections
to the server.  If "2" is specified, a separate connection is used
for data and directory operations.  Using two connections can
significantly increase directory operation performance on a saturated
link, at least up to 30x faster.
2009-05-20 13:56:36 +00:00
pooka
45ef580f17 Merge librumpfs_ufs into librumpfs_ffs. This reflects what happened
with the ffs kernel module and follows the trend of retiring ufs.
It also allows to get rid of a special case kludge in runtime module
loading, since ufs was not really a module.  librumpfs_ufs is now
obsoleted and ffs consumers should be linked solely against
librumpfs_ffs.
2009-05-02 01:15:52 +00:00
lukem
d877c4c3c0 Enable WARNS=4 by default, except for:
cpuctl  dumplfs  hprop  ipf  iprop-log  kadmin  kcm  kdc  kdigest
	kimpersonate  kstash  ktutil  makefs  ndbootd  ntp  pppd  quot
	racoon  racoonctl  rtadvd  sntp  sup  tcpdchk  tcpdmatch  tcpdump
	traceroute  traceroute6  user  veriexecgen  wsmoused  zic
(Mostly third-party applications)
2009-04-22 15:23:01 +00:00
pooka
73871be1ed fix WARNS=4, recipe from lukem 2009-04-15 08:36:21 +00:00
pooka
d3739e6172 Save errno before descending to cleanup gehennom. 2009-03-29 16:06:53 +00:00
pooka
61260da885 In case the portal provider fails, do not try to pass an
uninitialized fd value.  Also, propagate errno to the caller.
2009-03-18 09:10:16 +00:00
wiz
2dba01f8d6 Make "sftp" a link. 2009-02-26 07:14:36 +00:00
pooka
928c35bfce add caveat about info displayed by df(1) 2009-02-25 18:05:32 +00:00
pooka
72d8b8b617 Support statvfs@openssh.com extension where available. Makes df(1)
return something other than just 0.
caveat: statvfs is done for the mountpoint path, so might not give
the truth about a directory inside the mountpoint.
2009-02-23 18:43:46 +00:00
pooka
501138e80e regen: putter in synopsis and note about experimental status 2009-02-15 18:01:26 +00:00
pooka
0838b02036 * include "pseudo-device putter" in synopsis as requested by hubertf
* note that rump p2k utilities are currently experimental (noted
  already on the rump manpages, but better note it here also)
2009-02-15 18:00:16 +00:00
pooka
1ca3ac22a3 regen: note that vnconfig not required 2009-02-10 15:08:40 +00:00
pooka
108fcd8ae3 Note that the rump file servers do not require use of vnconfig when
mounting images.  Suggested by apb
2009-02-10 15:04:35 +00:00
he
fddc3457b2 Change the use of formally undocumented features, which have now been
made to fail.  Specifically, change
.ifdef(SYMBOL) -> .ifdef SYMBOL or .if defined(SYMBOL),
and corresponding for .ifndef.

Also correct one error in lib/libm/Makefile (.ifdef (${MKCOMPLEX} != "no")?!?).
2009-01-18 20:42:11 +00:00
lukem
3cafe960ea fix -Wsign-compare issues 2009-01-18 10:10:47 +00:00
pooka
f604838fff Remove -I${NETBSDSRCDIR}/sys. I have no idea why it was there, but
it sure creates some interesting side-effects.
2009-01-12 20:43:29 +00:00
wiz
140f24c96f regen. 2009-01-11 22:03:15 +00:00
wiz
9492e5b9bf Make ready for HTML output, add comma. 2009-01-11 22:03:10 +00:00
wiz
eaae165147 Mark up arguments with Ar and drop trailing whitespace. 2009-01-11 22:02:38 +00:00
pooka
317dcf1496 regen: mount -o rump 2009-01-11 21:15:31 +00:00
pooka
4c643b2022 Note mount -o rump support. 2009-01-11 21:15:07 +00:00
pooka
bbf08a8acb Default to threading, non-threaded debug mode can be compiled separately.
Useful if running this from fstab.
2009-01-11 20:31:03 +00:00
pooka
29d7878897 Don't compile diagnostic code which accesses kernel symbols directly.
Will fail now since not all archs have the same symbol names.
2009-01-10 20:21:15 +00:00
pooka
73cbbc614e For applications which naughtily reach over to the rump kernel
namespace without using proper interfaces, do a little namespace
compensation.
2009-01-08 18:44:31 +00:00
pooka
e39b6ca29f Disable static linking against kernel modules and always use shared
libraries.  Kernel module support will require some more happy days
with the kernel linker.
2009-01-08 18:43:28 +00:00
pooka
a378ac816b Put syspuffs_glueinit in the rump kernel namespace. 2009-01-08 03:27:10 +00:00
pooka
4e41c02e05 malloc(9) -> kern_malloc(9): we don't need --wrap anymore. 2009-01-05 21:45:35 +00:00
pooka
1bc460cc53 use kernel module 2009-01-05 15:39:34 +00:00
pooka
84ff1461c4 Track parent directory in cross-directory renames so that mv & rm
for the same file during a vnode's lifecycle works.

... rename fix .. it's going to be a good year ...
2009-01-01 13:41:45 +00:00
pooka
1d6d3e2769 Link self-contained file systems (i.e. do not depend on other file
systems) against the kernel module on select archs.
2008-12-30 22:20:56 +00:00
pooka
de62974531 Do some nasty manual tricks and treats to avoid having to call
rump_init() here (creating threads before we ask p2k to detach from
console is bad).
2008-12-12 19:59:00 +00:00
pooka
6459cc14b9 Dynamically load ext2 support, since the linker can't handle more
that one file system module (ext2fs uses both ffs and itself).
2008-11-26 19:41:11 +00:00
pooka
762d8bce6b Try to honor rump_threads by not creating iothreads if threads are off. 2008-11-26 07:20:22 +00:00
pooka
e10fef6cd2 Split vfs out of rumpkern into rumpvfs. Non-fs rumps no longer
include the file system code.  File system rumps explicitly need
to include rumpvfs from now on.
2008-11-19 14:10:48 +00:00
pooka
de3f0274f6 Don't set PUFFS_FLAG_OPDUMP by default. 2008-11-14 13:45:25 +00:00
pooka
a162d50c30 regen 2008-10-16 10:32:28 +00:00
pooka
44bb67c4bb Be more verbose about the performance hit. 2008-10-16 10:30:17 +00:00
pooka
d72ee403e1 Add & enable rump_nfs. 2008-10-16 09:30:57 +00:00
pooka
f4ce96e86b check rump_init() return value 2008-10-07 23:22:05 +00:00
christos
fc978808f9 fix more A0 2008-09-12 14:40:46 +00:00
pooka
f423bfeed2 Due to a recent encounter with a sucky internet connection, add
experimental option -p, which tries to reestablish the connection
to the sftp server in case it is lost.  This currently has a few
limitations (found in the man page), but generally works in some
use cases.

Better support might eventually emerge, but since that requires a
plunge into the depths of puffs_framebuf, I need quite a bit of
Fernet Branca to build up my courage before attempting it.
2008-09-06 12:29:57 +00:00
wiz
73d262db0f regen 2008-09-05 09:07:47 +00:00
wiz
0dd18a1929 Fix weird character problem at the source. 2008-09-05 09:07:40 +00:00
wiz
4d6d134c99 Remove weird character. 2008-09-05 09:00:01 +00:00
pooka
660c5d7442 forgot to commit this - descend into rump_sysvbfs 2008-09-04 16:16:32 +00:00