Commit Graph

29527 Commits

Author SHA1 Message Date
bde
4b1cf5cb49 Fixed `make depend', which I broke here about a month ago by moving
the null default for `depend' from bsd.dep.mk to bsd.obj.mk.
bsd.kmod.mk included these files in a bad order, so it picked up
the null default.
1998-06-09 02:55:40 +00:00
julian
d2a5a2e4b3 The version of the softdep changes in FreeBSD broke the
(doingdirectory && !newparent) case of ufs_rename().
rename("D1/X/", "D2/Y/") gives a wrong link count for D2.

Submitted by: Bruce Evans <bde@zeta.org.au>
Reviewed by: Kirk McKusick <mckusick@McKusick.COM>
1998-06-08 23:55:33 +00:00
nate
d8ac9500a8 - Added entry for Xircon CreditCard Modem.
Submitted by:	 "Mike Del" <repenting@hotmail.com>
1998-06-08 21:10:41 +00:00
jdp
6b2ffcb818 My previous change could conceivably succeed at removing CHROOTDIR.
Ignore errors from the chflags command that follows it, just in case.
1998-06-08 20:58:02 +00:00
julian
f110ef9950 Don't let ifunit() modify the string passed as an argument.
it may be in the text segment and write protected.
1998-06-08 20:33:29 +00:00
brian
b40a6fa0ae Correct `set server'' usage and add mention that `set ns'' changed
in README.changes.
Suggested by: stuart henderson <stuart@internationalschool.co.uk>
1998-06-08 20:23:44 +00:00
dyson
7133c16d20 Remove some junk left over from a previous commit.
Submitted by:	phk
1998-06-08 18:18:28 +00:00
bde
ebb34be804 Print the write counts if they are nonzero even if we're mounted
readonly, since they tell us about previous write activity.

Use the correct format to print the write counts.
1998-06-08 14:08:54 +00:00
bde
4c42496690 Updated generated files. 1998-06-08 11:08:35 +00:00
bde
5d6177855a Fixed some style bugs in output (missing tabs and unparenthesized macros).
Fixed some style bugs in source (mostly, superfluous backslashes).
1998-06-08 11:02:00 +00:00
jb
27278942f8 Add LIB_SPEC (same as on i386) so that gcc knows about libc_r. 1998-06-08 10:58:36 +00:00
bde
2fe18afefc Fixed pedantic semantics errors (bitfields not of type int, signed int
or unsigned int (this doesn't change the struct layout, size or
alignment in any of the files changed in this commit, at least for
gcc on i386's.  Using bitfields of type u_char may affect size and
alignment but not packing)).
1998-06-08 09:47:47 +00:00
dfr
f9cc54f52d Fix more of my DDB breakage. 1998-06-08 09:23:24 +00:00
dfr
a4dda8fad0 Fix a typo which prevented i386 elf from working at all (including Linux
emulated elf binaries).
1998-06-08 09:19:35 +00:00
sos
2372462b88 Correct even more ioctl breakage :(
Doesn't people check their code before committing anymore, it could
at least compile  ????
1998-06-08 09:00:28 +00:00
kato
3cc34333c5 Sync with sys/i386/isa/clock.c revision 1.123. 1998-06-08 08:56:43 +00:00
kato
adc6864d32 Merge 64bit portability fixes from sys/i386 stuff. 1998-06-08 08:55:47 +00:00
bde
005e233c20 Fixed pedantic semantics errors (bitfields not of type int, signed int
or unsigned int (don't do this in one case where it would change the
object file)).
1998-06-08 08:50:43 +00:00
dfr
647d87a559 Make DDB work again after I broke it :-(. 1998-06-08 08:43:20 +00:00
charnier
9572794fba Add rcsid, remove unused #includes. Use err(3). 1998-06-08 06:44:05 +00:00
jkoshy
b7b1d88983 Fix spelling in printf(). 1998-06-08 06:42:34 +00:00
charnier
e24c00e472 Use warnx()+fprintf() to handle multi-line messages. Correct K&R support and
KNF continuation indent rule.
Requested by: Bruce.
1998-06-08 06:41:47 +00:00
bde
a5e43fcfd3 Updated yet another ioctl, and put wst in LINT to inhibit further bitrot. 1998-06-08 06:18:53 +00:00
jkoshy
2dd64a973f Spelling fixes.
Submitted by: Josh Gilliam <josh@quick.net>
PR: 6880
1998-06-08 06:12:02 +00:00
bde
2974de2572 ip_fil.h has 9 separate declarations of iplioctl() in a disgusting
ifdef tangle.  The previous commit to ip_fil.h didn't change the
one that actually applies to the current FreeBSD kernel, of course.
Fixed.

Fixed style bugs in previous commit to ip_fil.h.
1998-06-08 06:04:12 +00:00
jkoshy
a16ff56e48 Reword to remove confusion between su(1)'s "-c" option and that of the shell
being invoked.  Add example that clarifies usage of "-c".

PR: 6859
1998-06-08 05:29:51 +00:00
dyson
d271f85a7e Disable attempted write combining support. This probably
causes more trouble than help (for now.)
1998-06-08 04:07:51 +00:00
bde
a9f3361be0 Fixed an ioctl which grew overnight. 1998-06-08 02:43:12 +00:00
bde
1e190059e3 Backed out previous commit, which just consisted of a 1-byte editing
error.
1998-06-08 02:15:37 +00:00
bde
3ccdda37a9 Fixed missing ifdefs and disordering in previous commit. 1998-06-08 02:12:19 +00:00
bde
734ace49a4 Fixed ifdef bogotification in previous commit. 1998-06-08 02:11:19 +00:00
danny
6531ba648f Fix typo: exit -> exist 1998-06-08 02:00:45 +00:00
jdp
6b73287f91 Speed up the cleaning of CHROOTDIR by almost a factor of two, by
replacing two monstrous file tree walks with one monstrous tree walk
and two miniscule ones.
1998-06-07 21:53:01 +00:00
phk
21df5f82ff Add a member function more to the timecounters, this one is for use
with latch based PPS implementations.  The client that uses it will
be committed after more testing.
1998-06-07 20:36:55 +00:00
dfr
acd0fecaaa Fix another DEVFS/SLICE ioctl. 1998-06-07 20:10:53 +00:00
phk
5fb115f6bd This is a prototype implementation of the draft-mogul-pps-api-##.txt
paper.

It will be updated along with the draft and possible subsequent
standard.

The ppbus based pps driver is updated to implement this API.
1998-06-07 19:44:22 +00:00
dfr
8f041a6da7 Fix some more ioctls which I missed becausese they were hidden by options
which were not in LINT.
1998-06-07 19:40:41 +00:00
sos
e85a2a44eb Fix the retyping of the ioctl cmd parm from int to u_long. 1998-06-07 18:44:03 +00:00
wosch
779d3cd46b Always ask for homedir.
PR: 6754
Submitted by: uhlar@netlab.sk
1998-06-07 18:38:32 +00:00
dfr
92449ad5fa This commit fixes various 64bit portability problems required for
FreeBSD/alpha.  The most significant item is to change the command
argument to ioctl functions from int to u_long.  This change brings us
inline with various other BSD versions.  Driver writers may like to
use (__FreeBSD_version == 300003) to detect this change.

The prototype FreeBSD/alpha machdep will follow in a couple of days
time.
1998-06-07 17:13:14 +00:00
brian
1712eda2e7 Fix previous commit. bit 1 is the execute bit, not the read bit *blush*
ie, BINMODE=4551 -> BINMODE=4554
Pointed out by: Bruce Evans <bde@zeta.org.au>
1998-06-07 17:08:42 +00:00
thepish
5348e7f147 PR: docs/3636
Submitted by:	Gary Palmer gpalmer@FreeBSD.ORG
Add mention of the 1024-character line length limit on the netgroup database.
1998-06-07 15:08:50 +00:00
phk
8eea916e4b Sigh, all good words are reserved words these days...
s/private/priv/

Noticed by:	sos
1998-06-07 14:14:39 +00:00
bde
77c38fdf8a Added a used include (in ifdefed code). 1998-06-07 12:02:59 +00:00
bde
41e918600e Fixed pedantic semantics errors (bitfields not of type int, signed int
or unsigned int).
1998-06-07 12:00:13 +00:00
bde
e691197eeb Fixed pedantic syntax errors caused by a trailing semicolon in a macro
definition.
1998-06-07 11:52:17 +00:00
bde
60609ce6f9 Null change. Forgot to mention in previous log message that MNT_NOATIME
is now ignored for special files, so that mounting root with option
noatime doesn't break reporting of idle times in programs like `w'.
The problem of execessive disk updates just to stamp atimes will be
handled for special files by only writing atimes to disk when inodes
become active.  This works well because special files are relatively
uncommon and their atimes are even more disposable at panic time than
regular files' atimes.
1998-06-07 11:04:26 +00:00
sos
ba9aeb9a3a Compile mtree before it is used, this is a hack, but make world has
failed since new functionality was introduced in mtree.
1998-06-07 10:50:28 +00:00
bde
e7c876e047 Fixed some longstanding timestamp bugs:
1. mark atimes and mtimes of special files and fifos for update upon
   successful completion of non-null i/o, not at the beginning of the
   syscall.
2. never update file times for readonly filesystems.  They were updated
   for stats and closes but not for syncs.  The updates were of course
   only in-core and were thrown away when the inode was uncached, so
   the times sometimes appeared to go backwards.

Improved comments in code related to (1) (mostly by removing them).

Unmacroized ITIMES().  The test in (2) bloated it even more.  Don't
call getmicrotime() in the function version of it when we only need
the time in seconds.
1998-06-07 10:49:18 +00:00
kato
51e64d6223 Sync with sys/i386/isa/clock.c revision 1.122. 1998-06-07 09:51:08 +00:00