The NetBSD Project

CVS log for src/sys/lib/libsa/nfs.c

[BACK] Up to [] / src / sys / lib / libsa

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: MAIN

Revision 1.50 / (download) - annotate - [select for diffs], Sun Jan 26 10:13:10 2020 UTC (22 months, 1 week ago) by skrll
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, 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, ad-namecache-base3, HEAD
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

Make a debug printf compile for all platforms

Revision 1.49 / (download) - annotate - [select for diffs], Sun Mar 31 20:08:45 2019 UTC (2 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.48: +14 -15 lines
Diff to previous 1.48 (colored)

fix warnings, printf formats, etc.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Mar 20 03:13:18 2014 UTC (7 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, 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, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

reduce size by 1K by sharing the ls code.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Dec 25 06:09:08 2011 UTC (9 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.46: +10 -1 lines
Diff to previous 1.46 (colored)

Apply the following patch submitted by Evgeniy Ivanov:

 - add 'ls' op to struct fs_ops to support ls command on each fs,
   in libsa
 - split sys/lib/libsa/ufs_ls.c into UFS specific part and MI part (ls.c)
   that opens the target fs and calls fs-depedent XXX_ls() functions
 - add a ls op for ext2fs
   (all other fs than ufs and ext2fs don't have actual ls ops yet)
 - replace existing MD ufs_ls() calls with this new MI ls()

The original patch was written for i386 and ext2fs.
zaurus zboot has been tested by nonaka@.
ews4800mips and x68k loaders have been tested by me (with several fixes).
landisk might be okay since it was almost copied from i386.

XXX1: "ls" op in fs_ops looks a bit inconsistent, but we will be able to
      replace it with real fs ops like readdir if it's really worth
XXX2: someone might have to check sys/arch/ia64/stand/efi/libefi/efifs_ls.c

Revision 1.46 / (download) - annotate - [select for diffs], Thu Jun 16 13:27:58 2011 UTC (10 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.45: +7 -7 lines
Diff to previous 1.45 (colored)

Add an optional MD calling convention flag for use in libsa when space
optimisation is critical. Use this on i386 to switch to register passing
calling convention for the file system entry points and most assembler
call backs that have to preserve at least 3 registers.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jan 17 14:00:36 2009 UTC (12 years, 10 months ago) by tsutsui
Branch: MAIN
CVS Tags: 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-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (colored)

Remove __P().

Revision 1.44 / (download) - annotate - [select for diffs], Wed Nov 19 12:36:41 2008 UTC (13 years ago) by ad
Branch: MAIN
CVS Tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored)

For the x86 boot loader, autoload a kernel module corresponding to the
root file system type.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Mar 25 21:23:50 2008 UTC (13 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, 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, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1, ad-socklock-base1
Branch point for: yamt-nfs-mp, nick-hppapmap, haad-dm
Changes since 1.42: +15 -15 lines
Diff to previous 1.42 (colored)

- use mem* instead of b* routines, and kill the b* routines.
- use the mem* routines from libc.
XXX: There will be some lossage, but I am fixing it.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Nov 24 13:20:56 2007 UTC (14 years ago) by isaki
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2
Changes since 1.41: +47 -78 lines
Diff to previous 1.41 (colored)

style, indent, and ANSI-fy.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Feb 25 04:46:32 2007 UTC (14 years, 9 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.40: +4 -3 lines
Diff to previous 1.40 (colored)

Add missing newlines to debug messages.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Dec 29 13:05:48 2006 UTC (14 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base
Branch point for: yamt-idlelwp
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

remove nqnfs from comments.  from Arnaud Lacombe.
(no functional changes.)

Revision 1.39 / (download) - annotate - [select for diffs], Wed Jan 25 18:27:23 2006 UTC (15 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, 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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.38: +7 -7 lines
Diff to previous 1.38 (colored)

free -> dealloc

Revision 1.38 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:46 2005 UTC (15 years, 11 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.37: +1 -1 lines
Diff to previous 1.37 (colored)

merge ktrace-lwp.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Feb 26 22:58:56 2005 UTC (16 years, 9 months ago) by perry
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.36: +18 -18 lines
Diff to previous 1.36 (colored)

nuke trailing whitespace

Revision 1.36 / (download) - annotate - [select for diffs], Thu Sep 4 12:02:10 2003 UTC (18 years, 3 months ago) by he
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Um, undo last; libsa printf doesn't do %z.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Sep 4 11:42:52 2003 UTC (18 years, 3 months ago) by he
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Use the %zu format for size_t printing instead of cast + %lu.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Sep 3 12:43:41 2003 UTC (18 years, 3 months ago) by he
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Cast size_t to u_long before printing, and use %lu instead of %d as format.
Fixes compilation on alpha.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Aug 31 22:40:48 2003 UTC (18 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.32: +8 -8 lines
Diff to previous 1.32 (colored)

Fix signed/unsigned warnings.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Aug 18 15:45:28 2003 UTC (18 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.31: +12 -13 lines
Diff to previous 1.31 (colored)

make 'path' argument to ufs_open 'const char *' and fix the fallout.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Mar 18 19:20:09 2003 UTC (18 years, 8 months ago) by mycroft
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Move some stuff into .rodata.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Mar 12 14:51:31 2003 UTC (18 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.29: +1 -2 lines
Diff to previous 1.29 (colored)

no need to include "netif.h" anymore
(shared interface stuff is in iodesc.h, included by net.h)

Revision 1.29 / (download) - annotate - [select for diffs], Thu Mar 30 12:19:48 2000 UTC (21 years, 8 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, 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, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, nathanw_sa_end, nathanw_sa_before_merge, nathanw_sa_base, nathanw_sa, minoura-xpg4dl-base, minoura-xpg4dl, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, kqueue, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Changes since 1.28: +14 -14 lines
Diff to previous 1.28 (colored)

Kill some more register declarations.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Nov 23 12:20:53 1999 UTC (22 years ago) by simonb
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Changes since 1.27: +17 -7 lines
Diff to previous 1.27 (colored)

Remove leading '/' from pathnames, using same logic as ufs.c.  Allows new
style (but not yet committed) pmax bootblocks to open "/boot.pmax" on an
ISO image.  Same problem reported for NFS by Jason Thorpe.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Nov 13 21:17:57 1999 UTC (22 years ago) by thorpej
Branch: MAIN
CVS Tags: fvdl-softdep-base
Changes since 1.26: +5 -0 lines
Diff to previous 1.26 (colored)

Backout my libsa changes.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Nov 11 20:23:17 1999 UTC (22 years ago) by thorpej
Branch: MAIN
Changes since 1.25: +1 -6 lines
Diff to previous 1.25 (colored)

Update for the improvements to libsa, and don't reference libkern.h.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Mar 31 01:50:25 1999 UTC (22 years, 8 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base, chs-ubc2
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.24: +13 -1 lines
Diff to previous 1.24 (colored)

Make a bunch of backward-compatible changes to the boot blocks which allow
size to be reduced substantially.  (backward compatibility verified
by compiling one of the alpha boot blocks which uses all of the code
before and after, diffing the object files, and manually verifying that
the differences were 'correct'.  some differences were "unavoidable,"
it wanting to avoid a double-commit, because e.g. local variables which
were previously used were no longer used.)  a README which describes
supported options (or at least the ones mentioned below) is forthcoming.

add support for the preprocessor macro LIBSA_NO_TWIDDLE, which
  causes calls to twiddle() to be omitted if it's defined.
add support for the preprocessor macros:
  which, if defined, cause the corresponding file system operations
  in the individual file system implementations to be omitted.  (note
  that all of those macros are not supported by all file systems at
  this point.  comments were added to individual file system files
  to indicate lack of support, and should be cleaned up later.  Backward
  compatibility options e.g. UFS_NOCLOSE, etc., are supported.)
add support for the preprocessor macro LIBSA_NO_FS_SYMLINK, which
  removes support for symbolic links from the file system support
  functions.  (same notes as for the macros above apply.)
add support for the preprocessor macro LIBSA_FS_SINGLECOMPONENT which
  removes all subdirectory and symlink support from the file system
  support functions.  (same notes as for the macros above apply.)
add support for the preprocessor macro LIBSA_NO_FD_CHECKING, which
  causes code relating to libsa file descriptor checks (e.g. range
  checking and checking that a file descriptor is valid) to be
  omitted if it's defined.
add support for the preprocessor macro LIBSA_NO_RAW_ACCESS, which
  causes code relating to raw device access to be omitted if it's
change some structure copies to use bcopy() instead.  that way
  use of bcopy vs. memcpy() can easily be selected by
  LIBSA_USE_MEMCPY.  (without changes like these, you could end up
  having both bcopy() and memcpy() included.  eventually, all
  calls to bcopy should be changed to calls to memcpy() or memmove()
  as appropriate -- hopefully never the latter -- with an option to
  use bcopy instead.)
add support for the preprocessor macro LIBSA_NO_DISKLABEL_MSGS, which
  causes disklabel() to return '1' as msg rather than a string.  Can
  be used if the boot blocks don't care about the string, and need to
  save the space.
add support for the preprocessor macro LIBSA_SINGLE_FILESYSTEM, which
  if defined causes all of the file system switch code to be removed.
  Its value should be the name of the file system supported by the
  boot block, e.g. "ufs" for the FFS file system.  calls to the
  file system functions open, close, etc., which were previously
  done through a function switch are then done via direct invocation
  of <fs>_open, <fs>_close, etc. (e.g. ufs_open, ...).
add support for the preprocessor macro LIBSA_SINGLE_DEVICE, which
  does the equivalent of LIBSA_SINGLE_FILESYSTEM but for the device
  switch table.  Device entry pointes are expected to be named
  <dev>foo, e.g. the 'strategy' routine used when LIBSA_SINGLE_DEVICE
  is set to 'disk' is diskstrategy.
make ufs.c f_nindir array be unsigned ints.  the fact that it was signed
  caused ufs.c to require signed division routines (which were otherwise
  unnecessary for a small boot block).

Revision 1.24 / (download) - annotate - [select for diffs], Thu Feb 11 09:10:44 1999 UTC (22 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.23: +5 -1 lines
Diff to previous 1.23 (colored)

Add missing prototypes.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 23 19:27:44 1998 UTC (23 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Changes since 1.22: +4 -3 lines
Diff to previous 1.22 (colored)

Fix some debugging printf formats.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jun 26 19:11:45 1997 UTC (24 years, 5 months ago) by drochner
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, bouyer-scsipi
Changes since 1.21: +5 -1 lines
Diff to previous 1.21 (colored)

Avoid user space headers for standalone programs.
Don't use sys/lib/libkern or sys/lib/libz if not standalone
 (ie, user space test programs).

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jun 16 20:47:11 1997 UTC (24 years, 5 months ago) by drochner
Branch: MAIN
Changes since 1.20: +17 -2 lines
Diff to previous 1.20 (colored)

Conditionally compile without symlink support (#ifdef NFS_NOSYMLINK).
Saves 708 bytes (i386). (close pr misc/3335)

Revision 1.20 / (download) - annotate - [select for diffs], Fri Dec 27 11:55:58 1996 UTC (24 years, 11 months ago) by pk
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

Add missing `#ifdef NFS_DEBUG' (from Rolf Grossmann; PR#3061).

Revision 1.19 / (download) - annotate - [select for diffs], Sun Oct 13 02:29:04 1996 UTC (25 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.18: +13 -13 lines
Diff to previous 1.18 (colored)

backout previous kprintf changes

Revision 1.18 / (download) - annotate - [select for diffs], Thu Oct 10 22:46:27 1996 UTC (25 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.17: +14 -14 lines
Diff to previous 1.17 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.17 / (download) - annotate - [select for diffs], Wed Oct 2 20:28:26 1996 UTC (25 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.16: +5 -4 lines
Diff to previous 1.16 (colored)

fix several endianness bugs that caused name lookup (!!) and symlink
expansion to fail on little-endian machines.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Sep 30 16:01:20 1996 UTC (25 years, 2 months ago) by ws
Branch: MAIN
Changes since 1.15: +160 -11 lines
Diff to previous 1.15 (colored)

Add support for booting from cd9660 fs
Support directory traversal and symbolic links for nfs booting
Close device when file opening failed
Plug memory leak in ufs code

Revision 1.15 / (download) - annotate - [select for diffs], Tue May 14 10:28:26 1996 UTC (25 years, 6 months ago) by leo
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Fix gcc -Wall warnings about printf arguments.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Feb 26 23:05:21 1996 UTC (25 years, 9 months ago) by gwr
Branch: MAIN
Changes since 1.13: +5 -6 lines
Diff to previous 1.13 (colored)

Make this code independent of <sys/nfs> now that we use very little
from there anyway, so we can ignore changes in the NFS code...

Revision 1.13 / (download) - annotate - [select for diffs], Mon Feb 26 21:50:09 1996 UTC (25 years, 9 months ago) by scottr
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Make these build again in the wake of the v3 changes

Revision 1.12 / (download) - annotate - [select for diffs], Sat Sep 23 03:36:08 1995 UTC (26 years, 2 months ago) by gwr
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.11: +42 -30 lines
Diff to previous 1.11 (colored)

More cleanup:  change some private types to eliminate casts,
replace some "goto xxx" with return(-1). (mostly cosmetic)

Revision 1.11 / (download) - annotate - [select for diffs], Mon Sep 18 21:19:36 1995 UTC (26 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Another round of clean up, including fixes presented by Matthias Drochner
(PR#1404). Things to be noted:
	- all IP addresses are now `struct in_addr's.
	- the function rarp_getipaddress() no longer return `myip'; in stead
	  it returns -1 on failure (errno set), 0 on success. `myip' is set
	  as a size-effect.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Sep 17 00:49:42 1995 UTC (26 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.9: +5 -7 lines
Diff to previous 1.9 (colored)

Revert fs_ops read/write declarations; these return error numbers.
Get rid of some more compiler warnings.
Set errno where appropriate.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Sep 14 23:45:31 1995 UTC (26 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.8: +23 -17 lines
Diff to previous 1.8 (colored)

Clear up some size_t/ssize_t confusion.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 3 04:56:33 1995 UTC (26 years, 5 months ago) by gwr
Branch: MAIN
Changes since 1.7: +8 -12 lines
Diff to previous 1.7 (colored)

Can not use htonl() in static initializers.  (Fixes PR 1188)

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 27 15:25:30 1995 UTC (26 years, 5 months ago) by gwr
Branch: MAIN
Changes since 1.6: +218 -255 lines
Diff to previous 1.6 (colored)

Re-work for new rpc interface, and simplify a bit.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 20 11:04:12 1995 UTC (26 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +90 -287 lines
Diff to previous 1.5 (colored)

* Fix some misused types.
* Encapsulate the protocols better.
* Rearrange the RPC stuff to work more like the kernel.  (Needs more work.)
* Remove a bunch of extra hair when reading a file over NFS.
* Use RPCAUTH_UNIX when talking to the NFS server.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 19 23:51:39 1995 UTC (26 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +1 -8 lines
Diff to previous 1.4 (colored)

Adjust the attribute info size for our NFS code.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 26 05:44:55 1994 UTC (27 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

new RCS ID format.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 22 21:56:08 1994 UTC (27 years, 3 months ago) by brezak
Branch: MAIN
CVS Tags: 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.2: +5 -5 lines
Diff to previous 1.2 (colored)

Cleanup to make more ANSI compliant; checkpoint

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 20 07:50:17 1994 UTC (27 years, 5 months ago) by glass
Branch: MAIN
CVS Tags: netbsd-1-0-base
Changes since 1.1: +6 -6 lines
Diff to previous 1.1 (colored)

make it compile w/4.4-lite header file changes

Revision 1.1 / (download) - annotate - [select for diffs], Sun May 8 16:11:31 1994 UTC (27 years, 7 months ago) by brezak
Branch: MAIN

Standalone networking for network boot loaders.

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 <>