summaryrefslogtreecommitdiffstats
path: root/sys/miscfs
Commit message (Collapse)AuthorAgeFilesLines
* change to reflect reality.julian1995-05-031-4/+6
| | | | (yes I know I should have done one commit rod....)
* remove debugging printouts unless DEVFS_DEBUG is set.julian1995-05-031-3/+2
|
* Submitted by: phkjulian1995-05-031-4/+25
| | | | | | | if the 'time on a node is 0,.. tell the world it is the same as 'boottime'. This is becasue 'time' is not set up when we create the nodes, so we can't set them then.
* remove note about 'find' now that it's fixed.julian1995-04-201-6/+4
|
* Submitted by: phk@freebsd.orgjulian1995-04-201-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: Julian fixes the 'find' anomaly mentionned in the README (hmm I guess I should fix that too..) diff -r1.2 devfs_vnops.c 905a906 > dirent.d_type = DT_DIR; 914a916 > dirent.d_type = DT_DIR; 920a923,941 > switch(name_node->dnp->type) { > case DEV_BDEV: > dirent.d_type = DT_BLK; > break; > case DEV_CDEV: > dirent.d_type = DT_CHR; > break; > case DEV_DDEV: > dirent.d_type = DT_SOCK; /*XXX*/ > break; > case DEV_DIR: > dirent.d_type = DT_DIR; > break; > case DEV_SLNK: > dirent.d_type = DT_LNK; > break; > default: > dirent.d_type = DT_UNKNOWN; > }
* Submitted by: julianjulian1995-04-201-3/+4
| | | | | @#%$#@ ftp -p corrupted the file in transfer.. (cut off the last 2 lines).. fix this
* Submitted by: julianjulian1995-04-206-176/+161
| | | | | I did a cleanup on the code.. (why didn't I do that before I checked it in? I hear you ask..)
* Reviewed by:julian1995-04-201-0/+123
| | | | | Submitted by: julian oops rename doc file to README as agreed
* Reviewed by: no-one yet, but nonintrusive until configed in.. :)julian1995-04-207-0/+2805
| | | | | Submitted by: julian@freebsd.org Obtained from: written from scratch
* For P_SUGID processes, we must also change ownership of the mem filedg1995-04-151-2/+10
| | | | to root so that group kmem can still get to it. *SIGH*
* Retain group kmem readability for P_SUGID processes.dg1995-04-151-2/+6
|
* Made /proc/n/mem file group kmem and group readable. Needed to fix ps sodg1995-04-153-5/+7
| | | | that it doesn't need to be setuid root.
* Changes from John Dyson and myself:dg1995-04-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-282-5/+4
| | | | | (except in netccitt, netiso and netns) that I didn't notice when I fixed "all" such warnings before.
* Removed redundant newlines that were in some panic strings.dg1995-03-192-4/+4
|
* Add four more filesystem flags:wollman1995-03-167-14/+14
| | | | | | | | | | VFCF_NETWORK (this FS goes over the net) VFCF_READONLY (read-write mounts do not make any sense) VFCF_SYNTHETIC (data in this FS is not real) VFCF_LOOPBACK (this FS aliases something else) cd9660 is readonly; nullfs, umapfs, and union are loopback; NFS is netowkr; procfs, kernfs, and fdesc are synthetic.
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-1612-20/+29
| | | | | | (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
* Make sure process isn't swapped when messing with it.dg1995-02-202-3/+4
| | | | Added missing newline to log() call.
* YFfixphk1995-02-141-1/+2
|
* Fixed bmap run-length brokeness.dg1995-02-033-3/+9
| | | | | | Use bmap run-length extension when doing clustered paging. Submitted by: John Dyson
* Initialize map start hint to vm_map_find()...not doing so will cause itdg1995-01-051-2/+2
| | | | | | to fail if the random thing on the stack happens to be too large. Submitted by: David Jones <dej@qpoint.torfree.net>
* Fix problem when attached process detachedache1994-12-311-1/+5
| | | | Submitted by: Gary Jennejohn
* From: Michael Reifenberger <root@rz-wb.fh-sw.de>jkh1994-11-151-1/+16
| | | | | | I added a bootfile entry to /kern so every program could examine the Path and name of the kernel. Submitted by: mr
* Undo a previous change. <sys/disklabel.h> was broken, not these files.bde1994-11-141-2/+1
|
* From tim@cs.city.ac.uk (Tim Wilkinson):dg1994-11-042-5/+11
| | | | | | | | | | | | | Find enclosed a short bugfix to get the union filesystem up and running in FreeBSD-current. We don't think we've got all the problems yet but these fixes sort out the major ones (which mostly concert bad locking of vnodes), no doubt we'll post others as necessary. Known problems include the inability of the umount command (not the system call) to unmount unions in certain circumstances (this is due the way "realpath" works), and the failure of direntries to always get all available files in unioned subdirectories. We are, as they say, working on it. Submitted by: tim@cs.city.ac.uk (Tim Wilkinson)
* From: fredriks@mcs.com (Lars Fredriksen)jkh1994-10-281-1/+2
| | | | | | | ... It turns out that these files do not include <sys/dkbad.h> before <sys/disklabel.h>. Submitted by: fredriks
* Fixed bug I just introduced that would have allowed a user to clobberdg1994-10-181-4/+6
| | | | his kernel stack.
* Allow upages to be paged in/accessed.dg1994-10-181-2/+2
| | | | Submitted by: John Dyson
* Cosmetics. reduce the noise from gcc -Wall.phk1994-10-1013-68/+100
|
* Cosmetics: added a #include and a static prototype to silence gcc.phk1994-10-081-1/+3
|
* Use tsleep() rather than sleep so that 'ps' is more informative aboutdg1994-10-066-15/+15
| | | | the wait.
* GCC cleanup.phk1994-10-025-33/+44
| | | | | | Reviewed by: Submitted by: Obtained from:
* 1) Added "." and ".." entries.dg1994-09-241-4/+20
| | | | | | 2) Fixed directory size to return something reasonable. 3) Disabled "file" until the code is completed. 4) Corrected directory link counts.
* Include <sys/kernel.h> not <kernel.h>dg1994-09-231-2/+2
|
* More loadable VFS changes:wollman1994-09-227-9/+13
| | | | | | | | - Make a number of filesystems work again when they are statically compiled (blush) - FIFOs are no longer optional; ``options FIFO'' removed from distributed config files.
* Fix a few niggling little bugs:wollman1994-09-213-3/+6
| | | | | | | - set args->lkm_offset correctly so that VFS modules can be unloaded - initialize _fs_vfsops.vfc_refcount correctly so that VFS modules can be unloaded - include kernel.h in a few placves to get the correct definition of DATA_SET
* Implemented loadable VFS modules, and made most existing filesystemswollman1994-09-2117-17/+54
| | | | loadable. (NFS is a notable exception.)
* Supply prototypes for some functions that were implicitly declared andbde1994-09-151-2/+3
| | | | fix the resulting warnings.
* Relaxed panic in fdesc_setattr() to just return error.dg1994-09-091-2/+2
|
* Fixed off by one error in referencing an array.dg1994-09-091-3/+3
| | | | Stolen from: NetBSD
* 1) cleaned up after Garrett - fixed more redundant declarations, changeddg1994-08-203-6/+5
| | | | | | | | use of timeout_t -> timeout_func_t in aha1542 and aha1742 drivers. 2) fix a bug in the portalfs that was uncovered by better prototyping - specifically, the time must be converted from timeval to timespec before storing in va_atime. 3) fixed/added some miscellaneous prototypes
* Fix up some sloppy coding practices:wollman1994-08-183-5/+14
| | | | | | | | | | | | - Delete redundant declarations. - Add -Wredundant-declarations to Makefile.i386 so they don't come back. - Delete sloppy COMMON-style declarations of uninitialized data in header files. - Add a few prototypes. - Clean up warnings resulting from the above. NB: ioconf.c will still generate a redundant-declaration warning, which is unavoidable unless somebody volunteers to make `config' smarter.
* Changed B_AGE policy to work correctly in a world with relatively largedg1994-08-081-4/+1
| | | | buffer caches. The old policy generally ended up caching nothing.
* Added $Id$dg1994-08-0227-32/+28
|
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-2515-8/+115
| | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-2439-0/+13713
OpenPOWER on IntegriCloud