The NetBSD Project

CVS log for src/sys/adosfs/Attic/advfsops.c

[BACK] Up to [] / src / sys / adosfs

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: MAIN

Revision 1.57, Mon Dec 23 17:15:23 2002 UTC (18 years, 9 months ago) by jdolecek
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-lazymbuf, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, yamt-idlelwp-base8, yamt-idlelwp, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, uebayasi-xip-base2, uebayasi-xip-base, uebayasi-xip, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, thorpej-vnode-attr-base, thorpej-vnode-attr, thorpej-futex-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, post-newlock2-merge, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, newlock2-nbase, newlock2-base, newlock2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, nathanw_sa_before_merge, nathanw_sa_base, mjf-ufs-trans-base, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-nb5-pq3-base, matt-nb5-pq3, localcount-20160914, ktrace-lwp-base, ktrace-lwp, kent-audio2-base, kent-audio2, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-pm-base, jmcneill-pm, jmcneill-base, jmcneill-audiomp3-base, jmcneill-audiomp3, isaki-audio2-base, isaki-audio2, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, gdamore-uart-base, gdamore-uart, elad-kernelauth-nbase, cube-autoconf-base, cube-autoconf, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, ad-socklock-base1, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, ad-audiomp2-base, ad-audiomp2, ad-audiomp-base-1, ad-audiomp-base, ad-audiomp, HEAD
Changes since 1.56: +2 -2 lines

move adosfs files from sys/adosfs to sys/fs/adosfs

Revision 1.56 / (download) - annotate - [select for diffs], Sat Sep 21 20:26:49 2002 UTC (19 years ago) by mycroft
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

Fix biff in previous change.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Sep 21 18:10:04 2002 UTC (19 years ago) by christos
Branch: MAIN
Changes since 1.54: +13 -6 lines
Diff to previous 1.54 (colored)


Revision 1.54 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (19 years ago) by gehenna
Branch: MAIN
Changes since 1.53: +4 -3 lines
Diff to previous 1.53 (colored)

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Jul 30 07:40:07 2002 UTC (19 years, 2 months ago) by soren
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.52: +4 -4 lines
Diff to previous 1.52 (colored)

Die, qaddr_t, die! - mnt_data in struct mount is already effectively
a void *, so stop pretending otherwise.

Revision 1.52 / (download) - annotate - [select for diffs], Tue May 14 00:05:56 2002 UTC (19 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: gehenna-devsw
Changes since 1.51: +4 -2 lines
Diff to previous 1.51 (colored)

Add local definition of adosfs_vnodeop_p

Revision 1.51 / (download) - annotate - [select for diffs], Fri Mar 8 20:48:27 2002 UTC (19 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock, eeh-devprop-base, eeh-devprop
Changes since 1.50: +3 -4 lines
Diff to previous 1.50 (colored)

Pool deals fairly well with physical memory shortage, but it doesn't
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map).  Try to deal with this:

* Group all information about the backend allocator for a pool in a
  separate structure.  The pool references this structure, rather than
  the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
  to become available, but will still fail if it cannot callocate KVA
  space for the pages.  If this happens, carefully drain all pools using
  the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
  some pages, and use that information to make draining easier and more
* Get rid of PR_URGENT.  There was only one use of it, and it could be
  dealt with by the caller.


Revision 1.50 / (download) - annotate - [select for diffs], Mon Nov 12 22:59:18 2001 UTC (19 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.49: +4 -1 lines
Diff to previous 1.49 (colored)

add RCSIDs

Revision 1.49 / (download) - annotate - [select for diffs], Sun Sep 30 18:47:48 2001 UTC (20 years ago) by chs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3
Changes since 1.48: +6 -1 lines
Diff to previous 1.48 (colored)

add glue required by new genfs_getpages().

Revision 1.48 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:32 2001 UTC (20 years ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base2, post-chs-ubcperf
Changes since 1.47: +4 -3 lines
Diff to previous 1.47 (colored)

a whole bunch of changes to improve performance and robustness under load:

 - remove special treatment of pager_map mappings in pmaps.  this is
   required now, since I've removed the globals that expose the address range.
   pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's
   no longer any need to special-case it.
 - eliminate struct uvm_vnode by moving its fields into struct vnode.
 - rewrite the pageout path.  the pager is now responsible for handling the
   high-level requests instead of only getting control after a bunch of work
   has already been done on its behalf.  this will allow us to UBCify LFS,
   which needs tighter control over its pages than other filesystems do.
   writing a page to disk no longer requires making it read-only, which
   allows us to write wired pages without causing all kinds of havoc.
 - use a new PG_PAGEOUT flag to indicate that a page should be freed
   on behalf of the pagedaemon when it's unlocked.  this flag is very similar
   to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the
   pageout fails due to eg. an indirect-block buffer being locked.
   this allows us to remove the "version" field from struct vm_page,
   and together with shrinking "loan_count" from 32 bits to 16,
   struct vm_page is now 4 bytes smaller.
 - no longer use PG_RELEASED for swap-backed pages.  if the page is busy
   because it's being paged out, we can't release the swap slot to be
   reallocated until that write is complete, but unlike with vnodes we
   don't keep a count of in-progress writes so there's no good way to
   know when the write is done.  instead, when we need to free a busy
   swap-backed page, just sleep until we can get it busy ourselves.
 - implement a fast-path for extending writes which allows us to avoid
   zeroing new pages.  this substantially reduces cpu usage.
 - encapsulate the data used by the genfs code in a struct genfs_node,
   which must be the first element of the filesystem-specific vnode data
   for filesystems which use genfs_{get,put}pages().
 - eliminate many of the UVM pagerops, since they aren't needed anymore
   now that the pager "put" operation is a higher-level operation.
 - enhance the genfs code to allow NFS to use the genfs_{get,put}pages
   instead of a modified copy.
 - clean up struct vnode by removing all the fields that used to be used by
   the vfs_cluster.c code (which we don't use anymore with UBC).
 - remove kmem_object and mb_object since they were useless.
   instead of allocating pages to these objects, we now just allocate
   pages with no object.  such pages are mapped in the kernel until they
   are freed, so we can use the mapping to find the page to free it.
   this allows us to remove splvm() protection in several places.

The sum of all these changes improves write throughput on my
decstation 5000/200 to within 1% of the rate of NetBSD 1.5
and reduces the elapsed time for "make release" of a NetBSD 1.5
source tree on my 128MB pc to 10% less than a 1.5 kernel took.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Sep 15 16:12:54 2001 UTC (20 years ago) by chs
Branch: MAIN
CVS Tags: pre-chs-ubcperf
Changes since 1.46: +3 -1 lines
Diff to previous 1.46 (colored)

add a new VFS op, vfs_reinit, which is called when desiredvnodes is
adjusted via sysctl.  file systems that have hash tables which are
sized based on the value of this variable now resize those hash tables
using the new value.  the max number of FFS softdeps is also recalculated.

convert various file systems to use the <sys/queue.h> macros for
their hash tables.

Revision 1.46 / (download) - annotate - [select for diffs], Wed May 30 11:40:35 2001 UTC (20 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)


Revision 1.45 / (download) - annotate - [select for diffs], Tue Apr 3 05:40:27 2001 UTC (20 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.44: +3 -1 lines
Diff to previous 1.44 (colored)

initialize some struct mount fields that UBC needs.
DOS3 filesystems work now.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jan 22 12:17:36 2001 UTC (20 years, 8 months ago) by jdolecek
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const

Revision 1.43 / (download) - annotate - [select for diffs], Wed Nov 8 08:06:24 2000 UTC (20 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.42: +11 -3 lines
Diff to previous 1.42 (colored)

adosfs_mountfs(): check for zero amp->secsperblk before dividing by it (which
would cause trap and panic); it might be invalid if the mounted filesystem is
not actually adosfs.
This fixes kern/11335 by Petri Koistinen.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Mar 16 18:08:21 2000 UTC (21 years, 6 months ago) by jdolecek
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.41: +9 -1 lines
Diff to previous 1.41 (colored)

Add new VFS op routine - vfs_done and call it on filesystem detach
in vfs_detach(). vfs_done may free global filesystem's resources,
typically those allocated in respective filesystem's init function.
Needed so those filesystems which went in via LKM have a chance to
clean after themselves before unloading. This fixes random panics
when LKM for filesystem using pools was loaded and unloaded several

For each leaf filesystem, add appropriate vfs_done routine.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Nov 15 20:55:48 1999 UTC (21 years, 10 months ago) by tron
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Fix typo in softdep code.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Nov 15 18:49:07 1999 UTC (21 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.39: +2 -3 lines
Diff to previous 1.39 (colored)

Add Kirk McKusick's soft updates code to the trunk. Not enabled by
default, as the copyright on the main file (ffs_softdep.c) is such
that is has been put into gnusrc. options SOFTDEP will pull this
in. This code also contains the trickle syncer.

Bump version number to 1.4O

Revision 1.39 / (download) - annotate - [select for diffs], Wed Oct 20 14:32:09 1999 UTC (21 years, 11 months ago) by enami
Branch: MAIN
CVS Tags: fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (colored)

Check if the type of device node isn't VBAD before touching v_specinfo.  If
the device vnode is revoked, the field is NULL and touching it causes null
pointer derefercence.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Oct 18 19:52:24 1999 UTC (21 years, 11 months ago) by wrstuden
Branch: MAIN
Branch point for: thorpej_scsipi, fvdl-softdep
Changes since 1.37: +3 -1 lines
Diff to previous 1.37 (colored)

Catch a few cases missed earlier where we need to lock the vnode before
calling VOP_CLOSE().

Revision 1.37 / (download) - annotate - [select for diffs], Sat Oct 16 23:53:26 1999 UTC (21 years, 11 months ago) by wrstuden
Branch: MAIN
Changes since 1.36: +3 -2 lines
Diff to previous 1.36 (colored)

In spec_close(), if we're not doing a non-blocking close and VXLOCK is
not set, unlock the vnode before calling the device's close routine and
relock it after it returns. tty close routines will sleep waiting for
buffers to drain, which won't happen often times as the other side needs
to grab the vnode lock first.

Make all unmount routines lock the device vnode before calling VOP_CLOSE().

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jun 2 22:04:30 1999 UTC (22 years, 3 months ago) by is
Branch: MAIN
CVS Tags: chs-ubc2-base
Branch point for: wrstuden-devbsize
Changes since 1.35: +6 -6 lines
Diff to previous 1.35 (colored)

Support ADOS file systems with more then 512 bytes/sector.
Fixes contributed by Detlef Wkner in PR 7653.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Feb 26 23:44:43 1999 UTC (22 years, 7 months ago) by wrstuden
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, kame_14_19990705, kame_14_19990628
Branch point for: netbsd-1-4, kame, chs-ubc2
Changes since 1.34: +33 -16 lines
Diff to previous 1.34 (colored)

Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now
only handles the file handle to vnode conversion, and a new call,
vfs_checkexp(), performs the export verification.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Feb 11 09:49:46 1999 UTC (22 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.33: +1 -4 lines
Diff to previous 1.33 (colored)

Correct both in my previous commit (#ifdef around by Matthew Jacob).

Revision 1.33 / (download) - annotate - [select for diffs], Wed Feb 10 21:56:23 1999 UTC (22 years, 7 months ago) by mjacob
Branch: MAIN
Changes since 1.32: +3 -1 lines
Diff to previous 1.32 (colored)

ifdef around merge botch

Revision 1.32 / (download) - annotate - [select for diffs], Wed Feb 10 13:14:08 1999 UTC (22 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.31: +14 -4 lines
Diff to previous 1.31 (colored)

Make sure a buffer optained from bread() is always bresle()'d in case of
error. Closes PR kern/1448 from Wolfgang Solfrank.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Sep 1 03:33:27 1998 UTC (23 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.30: +9 -2 lines
Diff to previous 1.30 (colored)

Use the pool allocator and the "nointr" pool page allocator for adosfs nodes.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Aug 9 20:20:11 1998 UTC (23 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.29: +12 -12 lines
Diff to previous 1.29 (colored)

bzero->memset, bcopy->memcpy, bcmp->memcmp

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jul 5 08:49:44 1998 UTC (23 years, 2 months ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.28: +6 -1 lines
Diff to previous 1.28 (colored)

* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
TODO: revisit interaction between native compat and emul compat usage.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Mar 1 02:25:18 1998 UTC (23 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.27: +26 -3 lines
Diff to previous 1.27 (colored)

Merge with Lite2 + local changes

Revision 1.27 / (download) - annotate - [select for diffs], Wed Feb 18 07:05:47 1998 UTC (23 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +12 -2 lines
Diff to previous 1.26 (colored)

Place a pointer to an array of our vnodeopv_desc *'s in our vfsops
structure, for use by vfs_attach().

Revision 1.26 / (download) - annotate - [select for diffs], Tue Jul 8 09:11:29 1997 UTC (24 years, 2 months ago) by kleink
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia
Changes since 1.25: +4 -3 lines
Diff to previous 1.25 (colored)

Fix a masking botch from last commit; make this more intuitive.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jun 26 21:04:32 1997 UTC (24 years, 3 months ago) by kleink
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.24: +12 -1 lines
Diff to previous 1.24 (colored)

In AmigaDOS, read permission on a directory has the effect read and execute
permission has in VFS; execute permission permission on a directory is ignored
by AmigaDOS:  when translating permissions from AmigaDOS to VFS, set up VFS
execute permission for AmigaDOS-readable directories.
Fixes PR kern/3787 from Michael van Elst <>.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Dec 22 10:10:12 1996 UTC (24 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

Change the second and third args to struct vfsops' (*vfs_mount)() to
'const char *', and 'void *', respectively.  The second arg is taken directly
from user arguments, and is const there, so must be const in the prototypes
and functions.  The third arg is also taken directly from user arguments.
It doesn't have to be changed, but since it's cleaner to keep the type
the same as the user arg's type, and I'm already making the 'const char *'

Revision 1.23 / (download) - annotate - [select for diffs], Sun Oct 13 02:52:08 1996 UTC (24 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.22: +6 -6 lines
Diff to previous 1.22 (colored)

backout previous kprintf change

Revision 1.22 / (download) - annotate - [select for diffs], Sat Oct 12 05:28:14 1996 UTC (24 years, 11 months ago) by mhitch
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Where did that "l" come from?  Another hiccup from the netbsd-1-2 branch

Revision 1.21 / (download) - annotate - [select for diffs], Thu Oct 10 17:47:31 1996 UTC (24 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.20: +7 -7 lines
Diff to previous 1.20 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 8 22:18:04 1996 UTC (24 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

Merge netbsd-1-2 branch back into mainline.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Apr 28 06:18:12 1996 UTC (25 years, 5 months ago) by mhitch
Branch: MAIN
CVS Tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Set file size of a softlink to the length of the symbolic link path,
to match what FFS does.  Fixes PR #2316.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Apr 23 05:18:30 1996 UTC (25 years, 5 months ago) by veego
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

u_int -> u_long fixes for printf's

Revision 1.17 / (download) - annotate - [select for diffs], Fri Apr 5 05:06:12 1996 UTC (25 years, 5 months ago) by mhitch
Branch: MAIN
Changes since 1.16: +171 -39 lines
Diff to previous 1.16 (colored)

Add support for OFS, International FileSystems, and blocksizes > 512.
Corrrect floppy rootblock calculation.  Validate filesystem type. (Closes
PR 2232)
Filename hashing requires unsigned characters.  (Closes PR 1026)
Soft link path is null-terminated string, not BSTR.
Use actual file header block info for hard links.
Set nlink to 2 for hard linked files in adosfs_getattr().
Load allocation bitmap and set correct free space.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Feb 9 19:06:42 1996 UTC (25 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.15: +42 -19 lines
Diff to previous 1.15 (colored)

Adosfs prototyping changes.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Nov 30 00:56:23 1995 UTC (25 years, 10 months ago) by jtc
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

merge in changes from 1.1 release branch

Revision 1.14 / (download) - annotate - [select for diffs], Fri Aug 18 15:14:37 1995 UTC (26 years, 1 month ago) by chopps
Branch: MAIN
CVS Tags: netbsd-1-1-base
Branch point for: netbsd-1-1
Changes since 1.13: +74 -2 lines
Diff to previous 1.13 (colored)

make nfsable from (Michael L. Hitch)

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jun 18 14:45:14 1995 UTC (26 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)

don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 9 12:06:20 1995 UTC (26 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

copy*str() should use size_t.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Mar 8 01:26:41 1995 UTC (26 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

size should be u_long, kill unneeded variable

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jan 18 09:17:34 1995 UTC (26 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

amount -> adosfsmount

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 18 09:16:37 1995 UTC (26 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +82 -95 lines
Diff to previous 1.8 (colored)

Clean this up a bit, adding security checks, and copying code from other file

Revision 1.8 / (download) - annotate - [select for diffs], Wed Dec 28 08:52:04 1994 UTC (26 years, 9 months ago) by chopps
Branch: MAIN
Changes since 1.7: +29 -4 lines
Diff to previous 1.7 (colored)

a couple fixes.  Add support for muFS (multi-user adosfs).  Default to
case-insesitive lookup.  from (Michael L. Hitch)

Revision 1.7 / (download) - annotate - [select for diffs], Thu Dec 15 20:48:56 1994 UTC (26 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)

Call foo_statfs() from a common place when mounting.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 14 18:26:22 1994 UTC (26 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.5: +1 -6 lines
Diff to previous 1.5 (colored)

move arch dependence to archs.  clean up a bit.  deal with weird MAXPARTITONS.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jul 11 05:07:40 1994 UTC (27 years, 2 months ago) by chopps
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Branch point for: netbsd-1-0
Changes since 1.4: +11 -1 lines
Diff to previous 1.4 (colored)

fix a `bug' actually just an interface issue, cache last indirect block
to avoid geometrically increasing access time when reading files.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 29 06:29:30 1994 UTC (27 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 27 19:27:44 1994 UTC (27 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

new standard, minimally intrusive ID format

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jun 17 20:06:12 1994 UTC (27 years, 3 months ago) by chopps
Branch: MAIN
Changes since 1.1: +215 -117 lines
Diff to previous 1.1 (colored)

update to new vfs interface.

Revision 1.1 / (download) - annotate - [select for diffs], Wed May 11 18:49:15 1994 UTC (27 years, 4 months ago) by chopps
Branch: MAIN

First version of AmigaDOS fast file system. needs work, read only.

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.

CVSweb <>