Up to [cvs.NetBSD.org] / src / sys / miscfs / fdesc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: thorpej-devvp
Revision 220.127.116.11 / (download) - annotate - [select for diffs], Tue Sep 18 19:13:55 2001 UTC (20 years, 8 months ago) by fvdl
Changes since 18.104.22.168: +3 -2 lines
Diff to previous 22.214.171.124 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)
Various changes to make cloning devices possible: * Add an extra argument (struct vnode **) to VOP_OPEN. If it is not NULL, specfs will create a cloned (aliased) vnode during the call, and return it there. The caller should release and unlock the original vnode if a new vnode was returned. The new vnode is returned locked. * Add a flag field to the cdevsw and bdevsw structures. DF_CLONING indicates that it wants a new vnode for each open (XXX is there a better way? devprop?) * If a device is cloning, always call the close entry point for a VOP_CLOSE. Also, rewrite cons.c to do the right thing with vnodes. Use VOPs rather then direct device entry calls. Suggested by mycroft@ Light to moderate testing done an i386 system (arch doesn't matter though, these are MI changes).
Revision 126.96.36.199 / (download) - annotate - [select for diffs], Fri Sep 7 04:45:39 2001 UTC (20 years, 8 months ago) by thorpej
Changes since 1.64: +26 -6 lines
Diff to previous 1.64 (colored)
Commit my "devvp" changes to the thorpej-devvp branch. This replaces the use of dev_t in most places with a struct vnode *. This will form the basic infrastructure for real cloning device support (besides being architecurally cleaner -- it'll be good to get away from using numbers to represent objects).
Revision 1.64 / (download) - annotate - [select for diffs], Sat Jun 16 08:28:39 2001 UTC (20 years, 11 months ago) by jdolecek
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache, thorpej-devvp, kqueue
Changes since 1.63: +6 -2 lines
Diff to previous 1.63 (colored)
Add DTYPE_PIPE (to be used by new pipe implementation) and handle it accordingly.
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.