Commit Graph

15091 Commits

Author SHA1 Message Date
christos 3a00fc6b74 - Const poisoning
- Fix prototypes
1995-07-14 21:10:58 +00:00
christos a667b8f7d4 - Const poisoning
- KNF police
- Detect malloc failures
1995-07-14 21:04:17 +00:00
jtc 5bf668ed11 Fix formatting bug. 1995-07-14 17:38:29 +00:00
briggs 19de6c606c Update to sync with reality. One question, though. Should libdata/lint
be in the base?  I put it here with its contents.
1995-07-14 11:20:06 +00:00
briggs 7b9b7a5786 Fix typo in last. commit message for last should have been:
Add cdefs.h ieeefp.h setjmp.h (m68k and machine).
Add libpcap_pic.a and machine/disklabel.h.
Add some files that we need for X to work.
1995-07-14 11:18:14 +00:00
briggs cf85729463 Add cdefs.h ieeefp.h setjmp.h (m68k and machine).
Add libpcap_pic.a and machine/disklabel.h.
Add some files that we need for X to work.
1995-07-14 11:17:04 +00:00
briggs db55d8c4e4 Add mtrace. 1995-07-14 11:03:14 +00:00
briggs 9da96f7acc Make the versions of the libs current. Add libpcap.so. 1995-07-14 11:02:48 +00:00
briggs 0460173dfd to md_share:
cat4/amiga/es.0
cat4/pc532/lpt.0
cat4/pc532/plip.0
cat8/boot_mac68k.0
cat8/boot_pmax.0

to mi:
cat1/bdes.0
cat1/lint.0
cat8/map-mbone.0
cat8/mrinfo.0
cat8/mtrace.0
1995-07-14 10:59:11 +00:00
cgd 1a516ca0ab don't forget to clean eeprom 1995-07-14 07:01:35 +00:00
jonathan 9c4be79d84 Clean up Ultrix compatiblity code: redo Ultrix label reading code
to have the same interface as native readdisklabel(), call it cleanly
from caller of readdisklabel(), and fix bug that left d_npartitions at 1
for ultrix-compat labels. Ultrix labels now actually work.
1995-07-14 01:05:22 +00:00
christos 68b7908bf9 Fix bugs cgd pointed out. 1995-07-13 23:20:10 +00:00
leo 14ac72899c Add pppintr() to netintr(). 1995-07-13 21:36:09 +00:00
thorpej 3a7e8d570c Build eeprom where appropriate. 1995-07-13 20:42:35 +00:00
thorpej b7c1140c05 Program to display for modify contents of the EEPROM or OpenProm on
Sun 3 and SPARC systems, similar to the SunOS command of the same name.
1995-07-13 18:17:28 +00:00
thorpej da9b1f7603 Program to display for modify contents of the EEPROM or OpenProm on
Sun 3 and SPARC systems, similar to the SunOS command of the same name.
1995-07-13 18:07:19 +00:00
mycroft c04417f76c Remove code to reset access time of scanned files. 1995-07-13 13:22:58 +00:00
mycroft c57d78c71a Indirect off the right vnode when looking up the struct union_mount in
union_access().  Also, a trivial change to union_rmdir().
1995-07-13 13:19:18 +00:00
pk cdbe7b1bc5 Have esp_minphys limit transfers to MAXPHYS bytes. 1995-07-13 12:45:22 +00:00
pk 7ac7bdf204 Unlock internal objects too in vm_object_terminate(). 1995-07-13 12:35:29 +00:00
pk 05daa72b3c Move SUN4 console echo hack cnget() (from Chuck Cranor). 1995-07-13 12:02:19 +00:00
cgd 3f230414c7 fix a stupid bug; wrong size was being used for sin_len. 1995-07-13 10:43:23 +00:00
leo 8e01fc80af Update raw-io functions as suggested by Charles. 1995-07-12 21:41:03 +00:00
glass d2551bdcaf complete upgrade to version 8.6.12. Eric willing the next imported version will be 8.7.x 1995-07-12 18:25:23 +00:00
cgd 0b469d4a12 add/change a few quirks:
(1) all Chinon CDS-431 CD-ROMs (regardless of revision)
		are forced to only having LUN 0, at the suggestion
		of Michael Hitch.
	(2) _force_ searching of extra LUNs for the Emulex MD21/S2
		ESDI bridge.  It's pre-SCSI 1, but knows about LUNs.
		"amazing."  From Jason Thorpe.
	(3) recognize an Emulex tape adapter in front of a QIC-36
		tape, and have it forced to only LUN 0.  This is
		an odd one; vendor, name, and rev strings are all
		spaces.  Anything that mathes this is very likely
		broken, anyway, so might as well give it a shot.
		Again from Jason Thorpe.
1995-07-12 09:56:09 +00:00
cgd d8fe81c04c implement SDEV_FORCELUNS flag, as suggested by Jason Thorpe. 1995-07-12 09:43:29 +00:00
cgd f60db5f02a add a SDEV_FORCELUNS flag, as suggested by Jason Thorpe, to force
the SCSI code to look for LUNs on prehistoric (pre-SCSI 1) drives &
controllers, where normally it would not.
1995-07-12 09:42:00 +00:00
cgd 130c77c5a5 make this compile again, a la pr 1218 from Alistair G. Crooks, as whacked
by the style police.
1995-07-12 09:17:06 +00:00
cgd 6fa924cb38 fix struct member use, as explained in pr 1164. style police
beat the fix into submission.
1995-07-12 08:27:26 +00:00
cgd f5bbdfba41 bdwrite() should upgrade writes to tape devices by sending them to
bawrite().  it's logically more correct (doesn't return an error code,
because it's async; bdwrite is also async), it still writes things
in-order, it makes sure the proper accountins is done (see the
wasdelayed cases in bwrite()), and it allows writes to vnodes on volumes
mountd with the MNT_ASYNC to be converted into delayed writes the way
God, err, Kirk intended.  Convert synchronous bwrite()s on MNT_ASYNC
file systems to delayed writes.
1995-07-12 07:56:31 +00:00
cgd 9c3fe30d92 fix long-standing XXX in getblk(): NFS does funky things (somewhat
explained in comments), which can cause a race condition.  amazingly,
the _only_ time i've ever seen or heard of this problem was in some
comments and sources by Rick Macklem, and when running against the
a DEC OSF/1 NFS server running on an Alpha.
1995-07-12 07:39:00 +00:00
jonathan eac9104365 Add stubs for previously-undefined tzwrite(), tzread(), since the new
pmax conf.c references them.  A cut-and-paste job from the pmax
rzwrite() and rzread().  tzwrite() and tzread() are utterly untested.
tzwrite() should also check for write-protect, or handle writes to a
write-protected tape gracefully.
1995-07-12 07:24:27 +00:00
cgd bc6a795fd3 define PR_PROGRAM to be the location of our pr(1). fixes PR 1216 1995-07-12 07:21:05 +00:00
cgd d9393d75fb fix pr 1214 slightly differently. i _didn't_ use the .Fa macro to
mark "file," because in context it didn't seem as if the argument was
being literally named.  rather it seemed that the argument's purpose
being described.  (the difference being: "... modification times of the
file named by file" would be a case where the the argument was named,
and thus be used with .Fa.)
1995-07-12 07:18:31 +00:00
cgd 7e0beb510f clean up (GRAMMAR POLICE!), removed references to now-nonexistent
loopback file system (fixes pr 955, but more thoroughly).
1995-07-12 07:08:27 +00:00
cgd 3f9f3ddd4e update docs to match the code. 1995-07-12 06:23:21 +00:00
cgd f03626292f fix a goof in my previous code, that i thought of while reading pr 749.
add a -A flag, which does the same thing as '-a', but doesn't check for
remounts.
1995-07-12 06:05:04 +00:00
thorpej f72d54fa88 Zap duplicate RCS id. 1995-07-12 05:47:47 +00:00
briggs b124362703 separate out fd from std and add a raminst target for a RAM disk dev set. 1995-07-12 05:15:31 +00:00
thorpej 6d2243ddee Build screenblank where appropriate. 1995-07-12 05:00:40 +00:00
thorpej dcbb2c500e A screen saver daemon for Sun 3 and SPARC machines, similar to the SunOS
program of the same name.
1995-07-12 04:57:47 +00:00
cgd 998286ad38 alphabetize machine-specific program lists, clean all progs on all machines 1995-07-12 04:56:33 +00:00
cgd a8592b0dd1 add mount_ffs(8). reorganize, to seperate the file system mount commands,
and to make it more clear what programs are dependent on a particular file
systems's format.
1995-07-12 03:50:27 +00:00
cgd 7fa5edba63 split FFS mount code out of mount(8). the correct way to name fast file
systems is now 'ffs', though 'ufs' is tolerated in fstab for backward
compatibility.
1995-07-12 03:46:47 +00:00
cgd 723ca902ed remove FFS mounting code from mount(8); there are now _no_ 'internal' mount
types.  when using mount(8) with '-a', do _NOT_ remount file systems
that have been mounted once already.  (This cannot be 100% precisely
determined (thanks to mfs, union fs, and similar file systems which
don't use a 'real' mounted-from node), and changed options cannot be updated
with mount -a.  however, options wouldn't be updated with the old mount -a
anyway, and this solves several annoyances.
1995-07-12 03:45:09 +00:00
cgd e85da9ab29 recognize 'ffs' and 'ufs' as meaning the same thing. 1995-07-12 03:39:53 +00:00
cgd 5f6a15bcbe implement a 'force check' flag, '-f'. I used the SunOS name, but the Digital
semantics.  now:
	(1) dirty file systems will always be checked; nothing new there.
	(2) if not '-f' clean file systems will _NEVER_ be checked,
		i.e. they won't be checked even if -p isn't specified.  This
		allows one to 'fsck -p ; fsck' to preen, then clean up
		anything that 'fsck -p' barfs on, without waiting for the
		clean file systems to be checked again.
	(3) if '-f' clean file systems will ALWAYS be checked.  This
		allows people to put 'fsck -fp' into /etc/rc on systems
		where they're leery of the FS clean flag state, need
		the extra reliability, and can afford time 'wasted'
		in checks.
The assumption made here is that if a file system is marked clean, it
_IS CLEAN_, really, and shouldn't be checked unless fsck is explicitly
told to (with -f).  This should be a valid assumption, but may not be in
the presence of file system bugs.  Documentation updated to note '-f'.
1995-07-12 01:49:16 +00:00
leo be029faea0 Use -O2 1995-07-11 21:28:38 +00:00
leo b57f0c784d Oops, this one is also needed to make dumping work. 1995-07-11 21:27:35 +00:00
leo c98355931a Remove some bogus comment. 1995-07-11 21:25:32 +00:00