pooka
843bb51b69
dumdidumdum, fix name in previous
2010-12-05 17:45:08 +00:00
pooka
6eb225bba1
Add a rump server which comes with all the drivers currently
...
available. In terms of modules it maps to:
golem> rump.modstat
NAME CLASS SOURCE REFS SIZE REQUIRES
bpf driver builtin 0 - -
cd9660 vfs builtin 0 - -
cgd driver builtin 0 - -
dm driver builtin 0 - -
efs vfs builtin 0 - -
ext2fs vfs builtin 0 - ffs
fdesc vfs builtin 0 - -
ffs vfs builtin 3 - -
fss driver builtin 0 - -
hfs vfs builtin 0 - -
kernfs vfs builtin 0 - -
ksem misc builtin 0 - -
layerfs misc builtin 2 - -
lfs vfs builtin 0 - ffs
mfs vfs builtin 0 - ffs
msdos vfs builtin 0 - -
nfs vfs builtin 1 - -
nfsserver misc builtin 0 - nfs
nilfs vfs builtin 0 - -
ntfs vfs builtin 0 - -
null vfs builtin 0 - layerfs
pad driver builtin 0 - -
ptyfs vfs builtin 0 - -
puffs vfs builtin 0 - putter
putter driver builtin 1 - -
scsiverbose misc builtin 0 - -
smbfs vfs builtin 0 - -
suser secmodel builtin 0 - -
swsensor driver builtin 0 - -
sysvbfs vfs builtin 0 - -
tmpfs vfs builtin 0 - -
udf vfs builtin 0 - -
umap vfs builtin 0 - layerfs
union vfs builtin 0 - -
usbverbose misc builtin 0 - -
wapbl vfs builtin 0 - -
In terms of interfaces:
golem> rump.ifconfig -C
shmif virt lo carp
and dmesg:
NetBSD 5.99.41 (RUMP-ROAST) #0 : Tue Nov 30 15:35:05 CET 2010
pooka@pain-rustique.localhost:/usr/allsrc/src/sys/rump/librump/rumpkern
total memory = unlimited (host limit)
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "rumpclk" frequency 100 Hz quality 0
cpu0 at thinair0: rump virtual cpu
cpu1 at thinair0: rump virtual cpu
root file system type: rumpfs
mainbus0 (root)
ugenhc0 at mainbus0
usb0 at ugenhc0: USB revision 2.0
uhub0 at usb0: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub0: 1 port with 1 removable, self powered
ugenhc1 at mainbus0
usb1 at ugenhc1: USB revision 2.0
uhub1 at usb1: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub1: 1 port with 1 removable, self powered
ugenhc2 at mainbus0
usb2 at ugenhc2: USB revision 2.0
uhub2 at usb2: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub2: 1 port with 1 removable, self powered
ugenhc3 at mainbus0
usb3 at ugenhc3: USB revision 2.0
uhub3 at usb3: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub3: 1 port with 1 removable, self powered
scsitest0 at mainbus0
scsibus0 at scsitest0: 2 targets, 1 lun per target
cd0 at scsibus0 target 1 lun 0: <RUMPHOBO, It's a LIE, 0.00> cdrom removable
Chicony Electronics Chicony Electronics, class 0/0, rev 2.00/1.00, addr 2, uhub0 port 1 not configured
AuthenTec AuthenTec, class 255/255, rev 1.10/6.21, addr 2, uhub1 port 1 not configured
swwdog0: software watchdog initialized
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture
There a bunch of other stuff which doesn't show up as any of the
above, plus of course the usb drivers which are probed only if I
have the appropriate hardware plugged into my workstation.
2010-12-05 17:37:32 +00:00
christos
24e17e276b
From Aleksey Cheusov: Fix unexpected behavior with:
...
all: test1 test2
test1:
@echo ${foo::=foo-text}
test2:
@echo $(foo::=foo-text)
Saying:
nbmake: Unclosed substitution for foo (} missing)
for test 2
2010-12-02 16:46:22 +00:00
christos
8d8e09f9aa
add commented out a possible addition that provides $^ like gmake, but
...
I am not sure if we should add it, since we already have $> for it.
2010-12-02 16:36:55 +00:00
dholland
3e1a0ddeec
Ahem. "Battle" of Wounded Knee? How about "massacre"?
...
XXX: this file needs a *lot* of attention.
2010-12-02 08:36:02 +00:00
mrg
347cb101f4
properly detect that we aren't od(1) and act as hexdump. fixes hexdump,
...
which also broke startx (second time this week!)
from mlelstv.
2010-11-28 10:45:32 +00:00
wiz
40472df47e
Make SYNOPSIS match usage.
2010-11-28 01:33:37 +00:00
christos
e45d815960
revert and fix the usage to be consistent with other programs.
2010-11-27 20:46:38 +00:00
christos
890fb8eb91
add -H and -e
2010-11-27 19:46:25 +00:00
christos
f18b98792f
fix typo (thanks simon)
2010-11-27 16:00:09 +00:00
sjg
1b59e5d011
When a source file moves, make will ignore the stale dependency,
...
but if the file in question is one that needs to be compiled (.c or .cc),
it still hands the bogus name to the compiler.
If Dir_MTime() cannot find such a file (gn->iParents is not empty),
see if the basename can be found via .PATH, and if so set gn->path to
the found file. This prevents the stale path being given to the
compiler.
In meta_oodate(), if a referenced file no longer exists, consider the
target out-of-date.
Also, if meta_oodate() decides a target is out-of-date, and it
it uses .OODATE in its commands, we need .OODATE recomputed.
Undo our call to Make_DoAllVar() so that the call from Make_OODate()
will do the right thing.
2010-11-27 05:02:35 +00:00
dholland
bb9db00d5a
PR 44156: od -? prints usage for "hexdump" rather than "od"
2010-11-27 00:42:58 +00:00
christos
f8063a37d7
check for NULL before de-referencing.
2010-11-26 15:14:29 +00:00
christos
d670c5cfeb
Instead of keeping around the mtime of the youngest child, keep a pointer
...
to it, so that we can print it when we do the out of date determination.
2010-11-25 21:31:08 +00:00
dholland
436ec2bec5
Improve previous with comments.
2010-11-25 04:33:30 +00:00
dholland
09bec75330
Don't printf time_t with %d; fixes PR 44128 from yamt. With this change it
...
successfully prints mtimes after 2038.
2010-11-24 22:57:53 +00:00
christos
f6fb458da3
PR/44148: Henning Petersen: catstrg() does not set the resulting string length.
2010-11-24 17:51:11 +00:00
christos
b88895de6f
PR/44147: Henning Petersen: Add missing closedir calls.
2010-11-24 17:40:41 +00:00
christos
4ef443d8ef
- pass lint
...
- minor spacing nits
- check allocations
2010-11-24 13:17:56 +00:00
yamt
22304c0e72
C version of tpfmt.sh
2010-11-23 20:48:40 +00:00
wiz
78f9e33271
Fix Dd argument.
2010-11-16 23:59:02 +00:00
christos
06b55256bc
minor KNF nits.
2010-11-16 02:53:49 +00:00
christos
d6f06df46c
add a safe alternative of the previous.
2010-11-10 01:44:04 +00:00
apb
4c73f7f041
Change the ironically unafe "find . -print | xargs pathchk -p" to
...
the safe "find . -exec pathchk -p \{\} +" in an example.
2010-11-09 20:34:55 +00:00
mrg
77a6c12f15
pull across a few changes from the freebsd folks:
...
http://svn.freebsd.org/changeset/base/213044
- fixes gunzip issues
http://svn.freebsd.org/changeset/base/213927
- fixes various typos and comments
and also an older change to add support for bzip2's "-k" option:
don't delete the input file
thanks!
2010-11-06 21:42:32 +00:00
wiz
5140adc8f3
Sort sections.
2010-11-03 12:21:50 +00:00
plunky
a4d969557b
In server mode, relax the requirement to specify a channel number. If
...
one is not given, attempt to allocate the first unused one.
2010-11-03 08:27:27 +00:00
plunky
ff185da4c9
-s can be used in server mode too
2010-11-02 19:44:09 +00:00
njoly
e65e925989
Fix typo in date.
2010-11-02 12:10:13 +00:00
christos
710d230a43
simplify and modernize:
...
- make sysctl mibs static
- use warn/warnx for warnings
makes binary 4K smaller.
2010-10-18 19:39:32 +00:00
njoly
53f8ab79a9
Do use putenv(3) to handle the provided strings directly, instead of
...
setenv(3) which need string splitting and later reassembly.
2010-10-16 11:13:52 +00:00
skrll
e6cdac9c4b
Implement dl_iterate_phdr.
...
Somewhat taken from FreeBSD. Manual page from OpenBSD.
2010-10-16 10:27:06 +00:00
jschauma
40df9f7982
remove duplicate 'was' in a comment
2010-10-15 19:35:08 +00:00
dholland
1657dadafa
Per PR 19359 note that mkdep doesn't handle all make metacharacters
...
correctly; in particular, filenames containing '#' cause trouble,
although '$' seems to be ok. Bump date.
2010-10-15 05:46:48 +00:00
wiz
146c9ced7d
Sync usage with man page.
2010-10-06 07:59:18 +00:00
dholland
d4471f4981
Allow -c with -d/-u. While uniq -cu isn't that useful, uniq -cd often is.
...
No objection on tech-userlevel, and the arbitrary restriction has been
irritating me for ages.
2010-10-06 06:43:26 +00:00
wiz
2724492d78
Print version string to stdout instead of stderr;
...
it is user-requested and not an error.
2010-10-02 19:31:14 +00:00
tron
c71ba331c0
Don't free memory that was succesfully passed to putenv(3) which takes
...
ownership of the memory.
2010-10-02 10:55:36 +00:00
gson
98bb28c039
putenv() no longer accepts a const string
2010-10-02 09:24:16 +00:00
wiz
218cd6edd9
Remove trailing spaces, add a few serial commas.
2010-09-14 11:57:03 +00:00
sjg
e7543dc43a
tools/make/buildmake.sh compiles *.c, make sure meta.c does nothing
...
unless USE_META is defined.
2010-09-13 21:31:59 +00:00
sjg
796c4b0282
We do not need filemon(9) to have a .meta file
2010-09-13 20:34:21 +00:00
sjg
c0dfab6508
Bump date
2010-09-13 16:32:00 +00:00
sjg
4db43f7e0c
Add meta.c which implements "meta" mode for make.
...
In this mode, a .meta file is created for each target, capturing
the expanded commands used, any command output, and if filemon(9)
is available, a record of system calls which are of interest.
Not enabled unless USE_META=yes is set when building make.
Also, if FILEMON_H exists, meta.c will be compiled to use filemon(9).
2010-09-13 15:36:57 +00:00
wiz
fcf318eda4
Fix typos found by Ryo HAYASAKA in PR 43857.
...
While here, split file systems that grew together.
2010-09-09 11:42:13 +00:00
christos
963d31a298
KNF, make error messages consistent.
2010-09-08 13:58:46 +00:00
christos
d049daf420
PR/43852: Wolfgang Stukenbrock: yp_passwd command may destroy NIS database
...
entries when used on a server that includes users via netgroups.
2010-09-08 13:44:44 +00:00
jmcneill
d148107cd6
return an error if testing fails, and dump the device info before running tests
2010-09-03 19:20:37 +00:00
jmcneill
e90b0e0082
at the request of mrg, print the parent of audioN's device name
2010-09-02 02:17:35 +00:00
jmcneill
59619cc632
print the version field from AUDIO_GETDEV if present
2010-09-02 02:08:30 +00:00