Commit Graph

184582 Commits

Author SHA1 Message Date
tron
2f71c69757 Remove generated file "mdnsd.8" in "cleandir" target. 2009-10-18 17:43:11 +00:00
pooka
a64df16285 Remove threading ifdefs. It was never easy to run the nfs client
without threads, but now it's even more difficult due to sillyrename
using workqueue, so whoever wants to do it will have to take to
manual fiddling.
2009-10-18 16:02:15 +00:00
pooka
2d07f409b9 Use write through cache here too. Doesn't make the same kind of
difference as with smbfs since nfs is "stateless", but better to
have the data on the server ASAP in case some other nods wants to
use it.
2009-10-18 15:57:15 +00:00
christos
b0af10adcf fix size_t issues on _LP64 2009-10-18 15:23:54 +00:00
pooka
8a8f57910d Use PUFFS_KFLAG_WTCACHE since it's sensible for a distributed file
server (plus it makes write work in the first place since the
descriptors don't get closed before the cache is flushed).
2009-10-18 15:14:13 +00:00
snj
83085f01e5 adrianp's ad clause is no more. 2009-10-18 14:24:17 +00:00
snj
d510cc4c2e agc's ad clause is no more. 2009-10-18 14:22:39 +00:00
wiz
76b3c19cd3 binutils-2.20 out. 2009-10-18 13:42:17 +00:00
stacktic
bafb6c06d9 Fixed build with read-only source tree. 2009-10-18 12:41:06 +00:00
ahoka
c1be58486b sysinst(8): Give the option to use tmpfs for /tmp in sysinst instead of
the older mfs on i386 and amd64. [ahoka 20091018]
2009-10-18 12:13:49 +00:00
ahoka
ff77aac2d4 Give the option to use tmpfs for /tmp in sysinst instead of the older
mfs on i386 and amd64. Should be enabled on other platforms with reliable
tmpfs too.
2009-10-18 12:09:48 +00:00
tron
1ce7a503cf Fix off by one in parser for "/etc/resolv.conf" found by SSP. 2009-10-18 11:54:37 +00:00
agc
9470081fd3 Use a lua for loop in preference to a while and increment in the lua
example code - suggested by Marc Balmer.

	% make USETOOLS=no t
	cp Makefile a
	./netpgp.lua --sign --detached a
	netpgp: default key set to "C0596823"
	pub 2048/RSA (Encrypt or Sign) 1b68dcfcc0596823 2004-01-12
	Key fingerprint: d415 9deb 336d e4cc cdfa 00cd 1b68 dcfc c059 6823
	uid              Alistair Crooks <agc@netbsd.org>
	uid              Alistair Crooks <agc@pkgsrc.org>
	uid              Alistair Crooks <agc@alistaircrooks.com>
	uid              Alistair Crooks <alistair@hockley-crooks.com>
	netpgp passphrase:
	-rw-r--r--  1 agc  agc  287 Oct 17 15:58 a.sig
	./netpgp.lua --verify a.sig
	netpgp: default key set to "C0596823"
	netpgp: assuming signed data in "a"
	Good signature for a.sig made Sat Oct 17 15:58:09 2009
	using RSA (Encrypt or Sign) key 1b68dcfcc0596823
	pub 2048/RSA (Encrypt or Sign) 1b68dcfcc0596823 2004-01-12
	Key fingerprint: d415 9deb 336d e4cc cdfa 00cd 1b68 dcfc c059 6823
	uid              Alistair Crooks <alistair@hockley-crooks.com>
	uid              Alistair Crooks <agc@pkgsrc.org>
	uid              Alistair Crooks <agc@netbsd.org>
	uid              Alistair Crooks <agc@alistaircrooks.com>
	%
2009-10-18 07:23:37 +00:00
agc
1f8267516a Minor changes to find lua glue library, and to set the home directory on
the correct C/Lua structure
2009-10-18 07:17:28 +00:00
agc
606ee0c668 Link in the netpgp shared library to the lua glue library 2009-10-18 07:15:43 +00:00
agc
faff2f64a8 Create .so from the lua interface library 2009-10-18 07:14:55 +00:00
agc
829fc7a59b Minor renaming of lua array
Zero allocated storage after return from lua_newuserdata()
2009-10-18 07:14:19 +00:00
tsutsui
1bc6608553 Don't try to read disklabel to check FS_RAID on floppy boot since
reopening floppy could cause Data Access Exception later.
Fixes PR port-sparc/42186, ok'ed by mrg@.
2009-10-18 06:24:21 +00:00
agc
1bc3fbf8da Move to a 2-clause BSD license 2009-10-18 03:53:32 +00:00
snj
e8f6e7d7c7 Kill two duplicate lines. 2009-10-18 01:40:44 +00:00
pooka
9646a920b0 Clear PG_FAKE for pages we wrote to. This avoids paging in data
we already have (and the backend might not yet have) in cases where
fs_bshift > PAGE_SHIFT.
2009-10-18 00:41:09 +00:00
agc
205394f300 Move to a 2-clause BSD license 2009-10-17 23:43:22 +00:00
pooka
50222d88ba Bump protocol version once more to allow for previous to be pulled
to netbsd-5 (protocols are not compatible due to time_t/dev_t
change).
2009-10-17 23:22:04 +00:00
pooka
dd0a0505f1 Implement abortop. 2009-10-17 23:20:15 +00:00
pooka
75008bfc31 Dispatch puffs_node_abortop().
Note: We use the storage of puffs_cache_write from puffs_ops for
this purpose.  It's not issued by the kernel and hence currently
unused, and this saves us from the trouble of bumping the lib major
version.
2009-10-17 23:19:52 +00:00
pooka
805e7ceb14 Transmit VOP_ABORTOP() to the server. 2009-10-17 23:16:05 +00:00
snj
9c801b488e This hasn't been used in a while. Long live external/bsd/file! 2009-10-17 23:05:32 +00:00
christos
949a1d1b55 use system to parse args 2009-10-17 22:36:23 +00:00
snj
8e88c7b893 Move Microsoft out of legal.common and into evbarm, where it belongs.
I forgot to do this when I added it in 1.52.
2009-10-17 22:33:55 +00:00
wiz
da3d98a56d New sentence, new line. Remove trailing whitespace. 2009-10-17 22:28:33 +00:00
christos
5a6c88acad pass lint 2009-10-17 22:26:13 +00:00
njoly
6a42e0741e Make tmpfs write fail when process file size limit is reached. 2009-10-17 22:20:56 +00:00
pooka
eea7b3ade4 Add some comments on how to act when major is bumped the next time. 2009-10-17 21:36:02 +00:00
christos
10dc222174 change to strchr and strrchr 2009-10-17 20:46:03 +00:00
pooka
a6085c2236 fix off-by-one in sanity check and bump lazy bum magic value 2009-10-17 20:35:52 +00:00
nakayama
77df506ed7 Wrap unused code with #if 0 which is called from #if 0'ed code. 2009-10-17 20:03:06 +00:00
christos
ab107e386c add more features found in other unices 2009-10-17 19:05:54 +00:00
tsutsui
63b86ac36f Build miniroot binaries for sparc with -Os to shrink instfs.tgz
for the second boot floppy which use miniroot objects.

This is workaround for PR install/42146, and ok'ed by mrg@.
2009-10-17 12:45:20 +00:00
mlelstv
e33abf1ab0 Add a serial console mode for the bootblock. In this mode all console
output will be echoed to the serial port and input will be accepted
from either keyboard or serial port. The bootblock serial console is
limited to 9600bps 8N1 as it uses the AmigaOS kernel debug routines.

To enable this you have to uncomment the SERCONSOLE define in
boot/Makefile.

Also note that the handling of a serial console in the kernel is
independent of this, you need to a build a kernel with 'options
SERCONSOLE'.
2009-10-17 11:18:17 +00:00
hannken
58cd15b068 Remove unneeded vinvalbuf() on backing store as we don't use
VOP_BMAP()/VOP_STRATEGY() here.
2009-10-17 10:29:29 +00:00
nakayama
33ec454f0c Merge want_ast check in userret() into trap handler, and repeat
preempt() call while want_resched is true.  While there remove
unnecessary #if 1.

This should fix a performance degradation of disk I/O on heavy load.
2009-10-17 08:50:49 +00:00
roy
1a80e629b5 Remove mistakenly added file. 2009-10-16 23:57:39 +00:00
pooka
65aa3ef107 If send fails with EMSGSIZE for whatever reason, it's unlikely to
succeed no matter how hard we retry.  So just fail the request.
2009-10-16 23:36:05 +00:00
pooka
291f141ce9 for udp sockets crank snd/rcvbufsize to 64k 2009-10-16 23:17:46 +00:00
christos
99d395c60f Make this compile again. I should have tried to compile the patches myself,
but ran out of time this morning.
2009-10-16 22:45:18 +00:00
roy
df303ea24d Import dhcpcd-5.1.2 2009-10-16 21:59:40 +00:00
roy
f09bb2caf5 Sync 2009-10-16 21:57:54 +00:00
roy
3b87816311 Import dhcpcd-5.1.2 with these changes:
* ClientID is now reported when interface starts.
* -w, --wait forces dhcpcd to wait until an interface gets a lease or
  times out.
* Ensure DHCP socket is open when sending a DECLINE.
* Uses new hwaddr if existing interface is downed and then changed.
* No longer works on firewire interfaces by default.

dhcpcd-5.1.2 has a new behaviour change - when starting up and at least 1
interface has a carrier then it tries to get a lease or times out.
It still daemonises regardless. This, along with the -b and -w flags
allows total control over the desired behaviour of dhcpcd.
2009-10-16 21:50:41 +00:00
joerg
336cbcc88d Don't spam the console with debug messages. 2009-10-16 21:23:08 +00:00
joerg
c954cd0eee Only match raw devices. Only match against the char major as extracted
from the kernel. Prevents aliasing nwt0 and rwd0e. OK haad@
2009-10-16 21:00:41 +00:00