summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix behavior of YP library routines in environments with multiple domains,Bill Paul1995-04-091-6/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | where one or more of the non-default domains are not yet bound. If we make a YP request for a domain other than the default domain, and there is no binding for the new domain yet, _yp_dobind() sees that the /var/yp/binding/DOMAIN.VERS file for the unbound domain is not locked (by ypbind) and from this it concludes that the NIS system is dead, so it gives up. This behavior has been changed: before giving up in this case, we now make a second check to see if the binding file for the *default* domain is also not locked. Only if the default domain binding file is also unlocked to we now assume that ypbind has bought the farm and bail out. (Note: this assumes that the user hasn't changed the default domain while ypbind is running.) With this change, _do_ypbind() is allowed to proceed into the next section of code wherein it prods ypbind into establishing a binding for the new domain. This first call times out after ten seconds, after which it should retry and succeed. From then on, the binding for the second domain should be handled normally. Notes: svn path=/head/; revision=7721
* #include <sys/queue.h> or die horribly.Jordan K. Hubbard1995-04-091-1/+3
| | | | Notes: svn path=/head/; revision=7720
* Add matcd.4 to list of manpages.Jordan K. Hubbard1995-04-091-2/+2
| | | | Notes: svn path=/head/; revision=7719
* Part of Frank Durda IV's new matcd driver CD audio support.Jordan K. Hubbard1995-04-091-5/+98
| | | | | | | Submitted by: Frank Durda IV <uhclem%nemesis@fw.ast.com> Notes: svn path=/head/; revision=7718
* This is the new submission of the matcd driver. In addition to theJordan K. Hubbard1995-04-099-18/+3742
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new driver code, there are diffs to several other existing files on the system and a man page. This version of matcd implements the rest of the key ioctls related to playing audio CDs and reading table of contents information from any type of disc. This update also corrects several problems detected since the original version 1(10) was released. These include: 1. Jordons report on the kernel -c string problem. 2. A problem with the driver being confused by other types of devices located at addresses it probes. 3. An old CD TOC wouldn't always be cleared after a disc change. 4. Cleaned up code so -Wall yields no warnings on 2.0 and later. 5. A problem with drive getting out of sync with the driver when changing between CD-Data and CD-DA. There have only been two reports from the field relating to problems so either the first release isn't really being used or doesn't have many problems. If there are any problems with this submission, please let me know. Submitted by: Frank Durda IV <uhclem%nemesis@fw.ast.com> Notes: svn path=/head/; revision=7717
* A new man page for the matcd driver.Jordan K. Hubbard1995-04-091-0/+370
| | | | | | | Submitted by: Frank Durda IV <uhclem%nemesis@fw.ast.com> Notes: svn path=/head/; revision=7716
* Updated for 4.4BSD queue macros. (Oops, I forgot to commit this last night;David Greenman1995-04-092-11/+5
| | | | | | | sorry Jordan). Notes: svn path=/head/; revision=7715
* That's what I get for doing things in a hurry...applied up-to-date patchDavid Greenman1995-04-091-1/+1
| | | | | | | to this file rather than old one (before I renamed the structure element). Notes: svn path=/head/; revision=7714
* Add true support for dependency lists.Jordan K. Hubbard1995-04-097-14/+55
| | | | | | | | | | | | | | | | | | | | | | | | | 1. pkg_create now has a -P argument for specifying dependencies on the command line. 2. pkg_add will honor dependencies and chain-load them automatically if it finds the required package(s) in the same directory as the package that is being loaded. For best results, install packages from a directory containing all the packages you'll possibly need (like /usr/ports/packages/all). 2 remaining flaws: 1. pkg_add looks in one place (where you were when you loaded the primary pkg) for depended packages. If you can come up with a search path scheme that's not a total hack - be my guest! 2. Recursive dependency expansion can result in the name of a dep being listed more than once. This doesn't bother pkg_add since it checks for package existance with pkg_info and will skip already-loaded packages. I don't know how/if pkg_delete handles this yet, however. I need to look into it. Notes: svn path=/head/; revision=7713
* Add new -P argument to pkg_create.Jordan K. Hubbard1995-04-091-2/+2
| | | | Notes: svn path=/head/; revision=7712
* Add 2 new targets to facilitate some things I'm thinking about.Jordan K. Hubbard1995-04-091-1/+21
| | | | | | | | | | 1. package-name Simply echos the associated package name for a port (if any). 2. package-depends Shows all package names on which this port depends. Notes: svn path=/head/; revision=7711
* 1. Fix the first line (should be a proper comment - silly emacs).Jordan K. Hubbard1995-04-091-3/+4
| | | | | | | | 2. KEYWORDS+= CATEGORIES 3. CATEGORIES+= all (always want to be in "all"!) Notes: svn path=/head/; revision=7710
* Add support for categorized subdirectories for packages. By default,Satoshi Asami1995-04-091-6/+25
| | | | | | | | | | | | all .tgz files go to /usr/ports/packages/.packages, and a relative symlink is created for every item in CATEGORIES...i.e., if "CATEGORIES = foo bar", then /usr/ports/packages/{foo,bar}/pkgname.tgz both point to /usr/ports/packages/.packages/pkgname.tgz. Suggested by: jkh Notes: svn path=/head/; revision=7709
* This is a purely cosmetic clean up. Fix many cut and paste problems thatRodney W. Grimes1995-04-0912-72/+74
| | | | | | | had turned tabs into spaces. Notes: svn path=/head/; revision=7708
* The rmt protocol didn't allow to pass a file creation mode (permissionJoerg Wunsch1995-04-091-1/+6
| | | | | | | | | | | | bits) along, and rmt did the wrong thing in calling open(2) with random garbage as third parameter. Make it create new files with 0666 (modified by the umask of the remote shell anyway). This removed the last show-stopper from tar not working with remote archives. Notes: svn path=/head/; revision=7707
* Do another pass over the delete code. This is better. Now we don'tJordan K. Hubbard1995-04-091-7/+9
| | | | | | | try to expand a wildcard to delete the entire contents. Notes: svn path=/head/; revision=7706
* Try and see if I can make the remove function work..Jordan K. Hubbard1995-04-091-2/+2
| | | | Notes: svn path=/head/; revision=7705
* Bump this to 950408-SNAP.Jordan K. Hubbard1995-04-091-3/+3
| | | | Notes: svn path=/head/; revision=7704
* Document that flags 0x1 is required on fdc0 line to make ft0 work.Jordan K. Hubbard1995-04-091-3/+5
| | | | | | | | | Also please note that previous commit regarding UH24F controller was misattributed to Poul - it was Steve's! Submitted by: Steve Gerakines <steve2@genesis.tiac.net> Notes: svn path=/head/; revision=7702
* Could you please update the list of drives supported. It currentlyJordan K. Hubbard1995-04-091-2/+3
| | | | | | | | | | | | | | | | | | lists: UH-14f Series <ISA> UH-34f Series <EISA/VLB> Should read: UH-14f Series <ISA> UH-24f Series <EISA> UH-34f Series <VLB> Submitted by: phk Notes: svn path=/head/; revision=7701
* More code optimizations. Use a slightly different approach to decideJustin T. Gibbs1995-04-092-152/+56
| | | | | | | whether a reconnecting target is a tagged device or not. Notes: svn path=/head/; revision=7700
* Disable tagged queuing by default. option AHC_TAGENABLE will turn it on.Justin T. Gibbs1995-04-091-1/+3
| | | | | | | This is temporary until I can get a device flags added. Notes: svn path=/head/; revision=7699
* Increase the timeout for FTCMD_SEEK commands to complete from 1 second toRodney W. Grimes1995-04-091-2/+2
| | | | | | | | | | | 1.5 seconds in ftintr_wait(). Three people have reported that this fixes the problem they are having. Submitted by: Steve Gerakines <steve2@genesis.tiac.net> Notes: svn path=/head/; revision=7698
* From John Dyson: Disabled multi-sector I/O. It is causing some peopleDavid Greenman1995-04-091-2/+2
| | | | | | | problems. Notes: svn path=/head/; revision=7697
* Clean up, and make it work with Bruces wd.c changes.Poul-Henning Kamp1995-04-092-31/+66
| | | | | | | Bad144 is on the way back. Notes: svn path=/head/; revision=7696
* Changes from John Dyson and myself:David Greenman1995-04-0919-514/+459
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed remaining known bugs in the buffer IO and VM system. vfs_bio.c: Fixed some race conditions and locking bugs. Improved performance by removing some (now) unnecessary code and fixing some broken logic. Fixed process accounting of # of FS outputs. Properly handle NFS interrupts (B_EINTR). (various) Replaced calls to clrbuf() with calls to an optimized routine called vfs_bio_clrbuf(). (various FS sync) Sync out modified vnode_pager backed pages. ffs_vnops.c: Do two passes: Sync out file data first, then indirect blocks. vm_fault.c: Fixed deadly embrace caused by acquiring locks in the wrong order. vnode_pager.c: Changed to use buffer I/O system for writing out modified pages. This should fix the problem with the modification date previous not getting updated. Also dramatically simplifies the code. Note that this is going to change in the future and be implemented via VOP_PUTPAGES(). vm_object.c: Fixed a pile of bugs related to cleaning (vnode) objects. The performance of vm_object_page_clean() is terrible when dealing with huge objects, but this will change when we implement a binary tree to keep the object pages sorted. vm_pageout.c: Fixed broken clustering of pageouts. Fixed race conditions and other lockup style bugs in the scanning of pages. Improved performance. Notes: svn path=/head/; revision=7695
* Changes from John Dyson and myself:David Greenman1995-04-093-145/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed remaining known bugs in the buffer IO and VM system. vfs_bio.c: Fixed some race conditions and locking bugs. Improved performance by removing some (now) unnecessary code and fixing some broken logic. Fixed process accounting of # of FS outputs. Properly handle NFS interrupts (B_EINTR). (various) Replaced calls to clrbuf() with calls to an optimized routine call vfs_bio_clrbuf(). (various FS sync) Sync out modified vnode_pager backed pages. ffs_vnops.c: Do two passes: Sync out file data first, then indirect blocks. vm_fault.c: Fixed deadly embrace caused by acquiring locks in the wrong order. vnode_pager.c: Changed to use buffer I/O system for writing out modified pages. This should fix the problem with the modification date previous not getting updated. Also dramatically simplifies the code. Note that this is going to change in the future and be implemented via VOP_PUTPAGES(). vm_object.c: Fixed a pile of bugs related to cleaning (vnode) objects. The performance of vm_object_page_clean() is terrible when dealing with huge objects, but this will change when we implement a binary tree to keep the object pages sorted. vm_pageout.c: Fixed broken clustering of pageouts. Fixed race conditions and other lockup style bugs in the scanning of pages. Improved performance. Notes: svn path=/head/; revision=7694
* Cosmetic changes.David Greenman1995-04-092-6/+4
| | | | Notes: svn path=/head/; revision=7693
* Oops, remove some chaff from previous commit.David Greenman1995-04-091-6/+0
| | | | Notes: svn path=/head/; revision=7692
* Updated netstat to grok 4.4 QUEUE macros now being used to like the PCBsDavid Greenman1995-04-092-10/+12
| | | | | | | together. Notes: svn path=/head/; revision=7691
* Add missing header referenceAndrey A. Chernov1995-04-091-0/+1
| | | | Notes: svn path=/head/; revision=7690
* From Matt Thomas: Added support for 100Mb cards (such as the DEC DE-500-XADavid Greenman1995-04-093-273/+702
| | | | | | | and SMC 9332). Notes: svn path=/head/; revision=7689
* Add etc/sysconfig to list of files stuck on the cpio floppy. I thoughtJordan K. Hubbard1995-04-091-2/+2
| | | | | | | we did this already?!? Notes: svn path=/head/; revision=7688
* Remove preservation of myname and defaultrouter files - they're deprecatedJordan K. Hubbard1995-04-091-15/+1
| | | | | | | anyway. Notes: svn path=/head/; revision=7687
* Non-blocking lockAndrey A. Chernov1995-04-091-13/+20
| | | | | | | | Remove old salt cause possible endless loop Submitted by: <wosch@cs.tu-berlin.de> Notes: svn path=/head/; revision=7686
* Upgrade to RFC1700 (IANA)Andrey A. Chernov1995-04-091-161/+1637
| | | | Notes: svn path=/head/; revision=7685
* Implemented PCB hashing. Includes new functions in_pcbinshash, in_pcbrehash,David Greenman1995-04-0916-132/+231
| | | | | | | and in_pcblookuphash. Notes: svn path=/head/; revision=7684
* Added a few more entries to the list of prime numbers.David Greenman1995-04-091-4/+4
| | | | Notes: svn path=/head/; revision=7683
* Remove unneded substitutesAndrey A. Chernov1995-04-082-20/+4
| | | | Notes: svn path=/head/; revision=7682
* Move default address of lnc0 to 0x300. Luigi Rizzo said that his cardPoul-Henning Kamp1995-04-085-10/+10
| | | | | | | cannot even go below 0x300... Notes: svn path=/head/; revision=7681
* Implement a simple hook (or hack?) to allow graphics device consoleJoerg Wunsch1995-04-088-12/+75
| | | | | | | | | | | | | | | | drivers to protect DDB from being invoked while the console is in process-controlled (i.e., graphics) mode. Implement the logic to use this hook from within pcvt. (I'm sure Søren will do the syscons part RSN). I've still got one occasion where the system stalled, but my attempts to trigger the situation artificially resulted int the expected behaviour. It's hard to track bugs without the console and DDB available. :-/ Notes: svn path=/head/; revision=7680
* Don't choke if secure bits are not available.Poul-Henning Kamp1995-04-081-2/+4
| | | | Notes: svn path=/head/; revision=7679
* pcvt is proud enough to have a man page. :)Joerg Wunsch1995-04-081-1/+3
| | | | Notes: svn path=/head/; revision=7678
* Added Makefile for example files. They are now installed inNate Williams1995-04-081-0/+17
| | | | | | | /usr/share/examples/cvs for use by the cvsinit script. Notes: svn path=/head/; revision=7675
* Added /usr/share/examples/cvs for use by cvsinit.Nate Williams1995-04-081-1/+3
| | | | Notes: svn path=/head/; revision=7674
* Update controls & remainsAndrey A. Chernov1995-04-081-2/+3
| | | | Notes: svn path=/head/; revision=7673
* Remove digrams to not confuse sortingAndrey A. Chernov1995-04-082-6/+28
| | | | Notes: svn path=/head/; revision=7672
* Add ident (commented out)Andrey A. Chernov1995-04-081-0/+1
| | | | Notes: svn path=/head/; revision=7671
* Fix official name of 113/tcp serviceAndrey A. Chernov1995-04-081-2/+2
| | | | | | | Obtained from: SunOS /etc/services Notes: svn path=/head/; revision=7670
* pca: change IO_PPI to IO_TIMER1 due to syscons conflictAndrey A. Chernov1995-04-083-6/+6
| | | | Notes: svn path=/head/; revision=7669