The NetBSD Project

CVS log for src/sbin/mount_nfs/mount_nfs.c

[BACK] Up to [cvs.NetBSD.org] / src / sbin / mount_nfs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.74.6.1 / (download) - annotate - [select for diffs], Wed Dec 21 19:55:33 2022 UTC (15 months ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored) next main 1.75 (colored) to selected 1.30 (colored)

Pull up following revision(s) (requested by chs in ticket #18):

	sbin/mount_nfs/mount_nfs.c: revision 1.75

mount_nfs: add missing "A" to getopt string

Revision 1.75 / (download) - annotate - [select for diffs], Wed Dec 21 19:00:52 2022 UTC (15 months, 1 week ago) by chs
Branch: MAIN
CVS Tags: HEAD
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored) to selected 1.30 (colored)

mount_nfs: add missing "A" to getopt string

Revision 1.74 / (download) - annotate - [select for diffs], Sat Oct 3 18:42:20 2020 UTC (3 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: netbsd-10
Changes since 1.73: +46 -56 lines
Diff to previous 1.73 (colored) to selected 1.30 (colored)

- centralize number parsing code
- enable -g
- KNF

Revision 1.73 / (download) - annotate - [select for diffs], Sat Oct 3 18:06:37 2020 UTC (3 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.72: +9 -2 lines
Diff to previous 1.72 (colored) to selected 1.30 (colored)

Add -A (noac) option to turn off the attribute cache. (Maciej W. Rozycki)

Revision 1.71.26.1 / (download) - annotate - [select for diffs], Mon May 21 04:35:56 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.71: +17 -5 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.30 (colored)

Sync with HEAD

Revision 1.72 / (download) - annotate - [select for diffs], Thu May 17 02:34:31 2018 UTC (5 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Changes since 1.71: +17 -5 lines
Diff to previous 1.71 (colored) to selected 1.30 (colored)

Default NFS mounts to using TCP transport instead of UDP.
PR kern/53166

Revision 1.69.8.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:26 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.69.8.1: +0 -9 lines
Diff to previous 1.69.8.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored) to selected 1.30 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:37:30 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.69: +2 -30 lines
Diff to previous 1.69 (colored) next main 1.70 (colored) to selected 1.30 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.71 / (download) - annotate - [select for diffs], Sat Jun 29 22:56:26 2013 UTC (10 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, 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-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, 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, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.70: +2 -11 lines
Diff to previous 1.70 (colored) to selected 1.30 (colored)

declare the variables that getnfsargs need in getnfsargs so that they can
easily be used from other programs.

Revision 1.69.8.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:51 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.69: +2 -21 lines
Diff to previous 1.69 (colored) to selected 1.30 (colored)

resync from head

Revision 1.70 / (download) - annotate - [select for diffs], Fri Mar 1 18:25:17 2013 UTC (11 years ago) by joerg
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.69: +2 -21 lines
Diff to previous 1.69 (colored) to selected 1.30 (colored)

Retire OSI network stack. OK core@

Revision 1.69 / (download) - annotate - [select for diffs], Mon Aug 29 14:35:02 2011 UTC (12 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored) to selected 1.30 (colored)

Use __dead

Revision 1.68 / (download) - annotate - [select for diffs], Mon Nov 30 17:17:55 2009 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored) to selected 1.30 (colored)

Use getprogname() instead of hardcoding "mount_nfs" to get the
right info in rump_nfs.

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:19:02 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.65: +21 -21 lines
Diff to previous 1.65 (colored) next main 1.66 (colored) to selected 1.30 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.67 / (download) - annotate - [select for diffs], Fri Apr 3 07:26:07 2009 UTC (14 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored) to selected 1.30 (colored)

Fix bug I introduced in rev 1.64: don't use stack space after
return.  pointed out by yamt.

Revision 1.66 / (download) - annotate - [select for diffs], Fri Feb 20 15:37:22 2009 UTC (15 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.65: +20 -20 lines
Diff to previous 1.65 (colored) to selected 1.30 (colored)

nfsdefargs: use designated initializers

Revision 1.61.8.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:48:53 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.61.8.1: +56 -38 lines
Diff to previous 1.61.8.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored) to selected 1.30 (colored)

Sync with HEAD.

Revision 1.65 / (download) - annotate - [select for diffs], Sun Jan 11 20:22:11 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored) to selected 1.30 (colored)

Fix noresport mount option parsing.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Oct 16 09:12:54 2008 UTC (15 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: 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
Changes since 1.63: +57 -39 lines
Diff to previous 1.63 (colored) to selected 1.30 (colored)

Convert mount_nfs to the mount_foo_parseargs() format.  No functional
change.

Revision 1.61.8.1 / (download) - annotate - [select for diffs], Sun Sep 28 11:17:13 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.61: +5 -6 lines
Diff to previous 1.61 (colored) to selected 1.30 (colored)

Sync with HEAD.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Sep 27 20:39:42 2008 UTC (15 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.62: +3 -4 lines
Diff to previous 1.62 (colored) to selected 1.30 (colored)

Assign default value for retrycnt already in data.
XXX: the use of globals would benefit from a loving touch

Revision 1.61.12.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:28:27 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored) next main 1.62 (colored) to selected 1.30 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Jul 20 01:20:22 2008 UTC (15 years, 8 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored) to selected 1.30 (colored)

Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)

Revision 1.60.4.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:38:10 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.60: +2 -5 lines
Diff to previous 1.60 (colored) next main 1.61 (colored) to selected 1.30 (colored)

sync with HEAD

Revision 1.61.2.2 / (download) - annotate - [select for diffs], Fri Nov 30 16:13:16 2007 UTC (16 years, 4 months ago) by yamt
Branch: mjf-devfs
Changes since 1.61.2.1: +520 -0 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored) to selected 1.30 (colored)

remove an unused variable, nfsproto.

Revision 1.61.2.1, Fri Nov 30 16:13:15 2007 UTC (16 years, 4 months ago) by yamt
Branch: mjf-devfs
Changes since 1.61: +0 -520 lines
FILE REMOVED

file mount_nfs.c was added on branch mjf-devfs on 2007-11-30 16:13:16 +0000

Revision 1.61 / (download) - annotate - [select for diffs], Fri Nov 30 16:13:15 2007 UTC (16 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Branch point for: wrstuden-revivesa, mjf-devfs2, mjf-devfs
Changes since 1.60: +2 -5 lines
Diff to previous 1.60 (colored) to selected 1.30 (colored)

remove an unused variable, nfsproto.

Revision 1.60 / (download) - annotate - [select for diffs], Mon Jul 16 17:06:53 2007 UTC (16 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.59: +5 -4 lines
Diff to previous 1.59 (colored) to selected 1.30 (colored)

Make all mount(2) return value error checks against -1.  Some file
systems just checked != 0, breaking MNT_GETARGS.  Others worked with < 0,
but make them check against -1 too for consistency.  And sprinkle some
stylish line wrapping where appropriate.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Jul 14 15:57:26 2007 UTC (16 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) to selected 1.30 (colored)

Add additional 'sizeof args' parameter to mount(2).

Revision 1.58 / (download) - annotate - [select for diffs], Sat Mar 10 00:30:37 2007 UTC (17 years ago) by hubertf
Branch: MAIN
Changes since 1.57: +2 -3 lines
Diff to previous 1.57 (colored) to selected 1.30 (colored)

- removes unused ctype.h header
- correct comment in mount_nfs/getnfsargs.c: s/Nead/Need/

From: Slava Semushin <php-coder@altlinux.ru>

Revision 1.57 / (download) - annotate - [select for diffs], Wed Dec 27 12:43:10 2006 UTC (17 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.56: +3 -30 lines
Diff to previous 1.56 (colored) to selected 1.30 (colored)

remove the rest of Kerberos 4 code.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Dec 27 12:13:55 2006 UTC (17 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.55: +4 -5 lines
Diff to previous 1.55 (colored) to selected 1.30 (colored)

sync with header changes.  (nqnfs removal)

Revision 1.55 / (download) - annotate - [select for diffs], Wed Dec 27 11:28:59 2006 UTC (17 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored) to selected 1.30 (colored)

Sort options in usage.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Dec 27 11:05:04 2006 UTC (17 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.53: +7 -3 lines
Diff to previous 1.53 (colored) to selected 1.30 (colored)

revive -D option because it actually has some meanings for non-nqnfs mounts.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Nov 9 10:07:00 2006 UTC (17 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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
Changes since 1.52: +9 -28 lines
Diff to previous 1.52 (colored) to selected 1.30 (colored)

remove nqnfs support.
namely,
	- make -q a synonym of -3.
	- ignore -L and -D.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Oct 16 03:37:42 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored) to selected 1.30 (colored)

use MOPT_NULL

Revision 1.51 / (download) - annotate - [select for diffs], Sat May 20 08:06:48 2006 UTC (17 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.50: +19 -11 lines
Diff to previous 1.50 (colored) to selected 1.30 (colored)

do not keep to use nfsv3 filehandle when falling back to nfsv2.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Mar 23 23:23:28 2006 UTC (18 years ago) by wiz
Branch: MAIN
Changes since 1.49: +4 -126 lines
Diff to previous 1.49 (colored) to selected 1.30 (colored)

unifdef NFSKERB (Kerberos 4 support). Update man page and usage() for
-K and -m removal (Kerberos 4 specific options).

Revision 1.49 / (download) - annotate - [select for diffs], Tue Mar 21 21:11:41 2006 UTC (18 years ago) by christos
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) to selected 1.30 (colored)

Always check the results of getmntopts() and free them.

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Sat Jun 11 12:09:53 2005 UTC (18 years, 9 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.47: +5 -4 lines
Diff to previous 1.47 (colored) next main 1.48 (colored) to selected 1.30 (colored)

Apply patch (requested by lukem in ticket #391):
Use ai_nfs instead of the uninitialized ai when determining the
NFSMNT_KERB reverse IP address, and ensure ecode is set as well.
(Fix derived from getnfsargs.c 1.2)

Revision 1.48 / (download) - annotate - [select for diffs], Sun May 15 21:18:34 2005 UTC (18 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.47: +5 -333 lines
Diff to previous 1.47 (colored) to selected 1.30 (colored)

Split getnfsargs() out into its own file, it drags in 70kB of rpc code.
I might manage to write a version that doesn't pull in all the crud.
(Which will give a load of space in the install floppy images)

Revision 1.47 / (download) - annotate - [select for diffs], Sat Feb 5 15:04:56 2005 UTC (19 years, 1 month ago) by xtraeme
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.46: +17 -29 lines
Diff to previous 1.46 (colored) to selected 1.30 (colored)

Kill __P(), use ANSI function declarations; WARNS=3.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jan 31 05:19:19 2005 UTC (19 years, 2 months ago) by erh
Branch: MAIN
Changes since 1.45: +10 -4 lines
Diff to previous 1.45 (colored) to selected 1.30 (colored)

Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to
device nodes into absolute paths before using them.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Aug 7 10:04:29 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
CVS Tags: 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
Changes since 1.44: +3 -7 lines
Diff to previous 1.44 (colored) to selected 1.30 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22308, verified by myself.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jul 23 21:11:28 2003 UTC (20 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored) to selected 1.30 (colored)

include des.h, not kerberosIV/des.h

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jul 13 08:08:12 2003 UTC (20 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.42: +4 -5 lines
Diff to previous 1.42 (colored) to selected 1.30 (colored)

use bounded string op

Revision 1.42 / (download) - annotate - [select for diffs], Fri May 16 15:33:45 2003 UTC (20 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored) to selected 1.30 (colored)

fix a typo that prevents -o wsize=nnn to work.

Revision 1.41 / (download) - annotate - [select for diffs], Mon May 5 13:23:10 2003 UTC (20 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.40: +2 -4 lines
Diff to previous 1.40 (colored) to selected 1.30 (colored)

remove _KERNEL hack.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Apr 11 17:39:09 2003 UTC (20 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.39: +108 -17 lines
Diff to previous 1.39 (colored) to selected 1.30 (colored)

PR/1472: David Carrel: Add option to specify the nfs port.
This was not done, I added the functionality to be able to parse
port=num in the options. While I was there, I added this for all
the other numeric options: rsize, wsize etc.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Apr 10 04:40:38 2003 UTC (20 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored) to selected 1.30 (colored)

fix typo introduced in previous (print "addr=" instead of "ddr=")

Revision 1.38 / (download) - annotate - [select for diffs], Mon Apr 7 13:31:17 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.37: +4 -5 lines
Diff to previous 1.37 (colored) to selected 1.30 (colored)

Don't print the version of the argument structure, it's easily confused
with the NFS version.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Mar 22 11:15:52 2003 UTC (21 years ago) by jdolecek
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) to selected 1.30 (colored)

use <> rather than "" for #include mntopts.h

Revision 1.36 / (download) - annotate - [select for diffs], Mon Oct 21 03:58:08 2002 UTC (21 years, 5 months ago) by enami
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.35: +25 -7 lines
Diff to previous 1.35 (colored) to selected 1.30 (colored)

When printing filesystem specific parameters, also print the address and
port of server numerically.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Oct 1 03:08:56 2002 UTC (21 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.34: +24 -27 lines
Diff to previous 1.34 (colored) to selected 1.30 (colored)

KNF

Revision 1.34 / (download) - annotate - [select for diffs], Sat Sep 21 18:43:36 2002 UTC (21 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.33: +42 -4 lines
Diff to previous 1.33 (colored) to selected 1.30 (colored)

MNT_GETARGS support

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Tue Jun 18 14:05:36 2002 UTC (21 years, 9 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.31: +12 -4 lines
Diff to previous 1.31 (colored) next main 1.32 (colored) to selected 1.30 (colored)

Pull up revision 1.33 (requested by wrstuden in ticket #290):
Catch error code from mount command, and if it's the
error given when we ask for a v3 mount on a v2-only kernel,
*and* we weren't forcing v3, try the mount again as a v2 mount
before erroring out.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jun 16 02:27:31 2002 UTC (21 years, 9 months ago) by wrstuden
Branch: MAIN
Changes since 1.32: +12 -4 lines
Diff to previous 1.32 (colored) to selected 1.30 (colored)

Catch error code from mount command, and if it's the
error given when we ask for a v3 mount on a v2-only kernel,
*and* we weren't forcing v3, try the mount again as a v2 mount
before erroring out.

Revision 1.32 / (download) - annotate - [select for diffs], Wed May 29 02:19:56 2002 UTC (21 years, 10 months ago) by cjs
Branch: MAIN
Changes since 1.31: +7 -5 lines
Diff to previous 1.31 (colored) to selected 1.30 (colored)

When RPC fails, state explicitly which service we were trying to connect to.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Mar 2 12:25:23 2002 UTC (22 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.30: +6 -4 lines
Diff to previous 1.30 (colored)

when complaining that we can't lookup a hostname, actually say which
hostname this is...

Revision 1.30 / (download) - annotate - [selected], Thu Jan 11 01:33:35 2001 UTC (23 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

remove unnecessary ":" in openlog ident

Revision 1.29 / (download) - annotate - [select for diffs], Mon Oct 30 20:57:00 2000 UTC (23 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.28: +33 -22 lines
Diff to previous 1.28 (colored) to selected 1.30 (colored)

make the code includable into other programs:
* make static all symbols which do not need to be exported
* rename main() to mount_FOO()
* new main() now just calls mount_FOO(), main() is only compiled in if
  MOUNT_NOMAIN is not defined
* a_gid(), a_uid() and a_mask() were put into ../mount/fattr.[ch], local
  versions removed

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jul 16 14:06:08 2000 UTC (23 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.27: +6 -6 lines
Diff to previous 1.27 (colored) to selected 1.30 (colored)

correct hard-to-understand indentation.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Mon Jul 3 22:27:31 2000 UTC (23 years, 9 months ago) by thorpej
Branch: netbsd-1-5
CVS Tags: 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
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored) to selected 1.30 (colored)

Pull up rev. 1.27:
Remove spurious colon from error message; clnt_pcreateerror provides one.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jun 26 21:53:34 2000 UTC (23 years, 9 months ago) by bjh21
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) to selected 1.30 (colored)

Remove spurious colon from error message; clnt_pcreateerror provides one.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 16:05:38 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.24: +77 -33 lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.30 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Jun 19 23:19:20 2000 UTC (23 years, 9 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.25: +10 -2 lines
Diff to previous 1.25 (colored) to selected 1.30 (colored)

Handle unsupported protocols (i.e. no v6 support on the other side)
a tad better.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jun 9 00:06:36 2000 UTC (23 years, 9 months ago) by fvdl
Branch: MAIN
Changes since 1.24: +69 -33 lines
Diff to previous 1.24 (colored) to selected 1.30 (colored)

Update to be more address-family independent, and adapt to TI-RPC
interface.

XXX this code needs a cleanup, especially the retry-loop.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:30:27 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.23: +7 -6 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.30 (colored)

Pull up to last week's -current.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Nov 21 00:53:58 1999 UTC (24 years, 4 months ago) by mjl
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.23: +7 -6 lines
Diff to previous 1.23 (colored) to selected 1.30 (colored)

Make usage message match actual options.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Sun Sep 5 15:15:11 1999 UTC (24 years, 6 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.22: +7 -4 lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.30 (colored)

Pull up revision 1.23:
  Regularize error reporting of mount_* commands for failure of
  mount(2) to the form "mount_xxx: dev on dir: reason for failure"
  (as opposed to the old "mount_xxx: : reason for failure").
  (perseant)

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jun 25 19:28:37 1999 UTC (24 years, 9 months ago) by perseant
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.22: +7 -4 lines
Diff to previous 1.22 (colored) to selected 1.30 (colored)

Regularize error reporting of mount_* commands for failure of mount(2)
to the form:

	mount_xxx: dev on dir: reason for failure

Revision 1.22 / (download) - annotate - [select for diffs], Thu May 14 07:44:09 1998 UTC (25 years, 10 months ago) by tron
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001
Branch point for: netbsd-1-4
Changes since 1.21: +3 -4 lines
Diff to previous 1.21 (colored) to selected 1.30 (colored)

Get protocol type for "pmap_getport()" from variable "nfsproto" instead of
checking the socket type.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Apr 1 16:27:05 1998 UTC (26 years ago) by kleink
Branch: MAIN
Changes since 1.20: +2 -3 lines
Diff to previous 1.20 (colored) to selected 1.30 (colored)

No need to include <sys/socketvar.h>.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Mar 1 02:20:49 1998 UTC (26 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored) to selected 1.30 (colored)

Merge with Lite2 + local changes

Revision 1.19 / (download) - annotate - [select for diffs], Tue Feb 3 03:32:43 1998 UTC (26 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) to selected 1.30 (colored)

change <strings.h> to <string.h> to fix compiler warning

Revision 1.18 / (download) - annotate - [select for diffs], Sun Oct 19 01:24:51 1997 UTC (26 years, 5 months ago) by fvdl
Branch: MAIN
CVS Tags: 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
Changes since 1.17: +6 -3 lines
Diff to previous 1.17 (colored) to selected 1.30 (colored)

Implement -X option for 32 <-> 64 bit translation of directory cookies
for v3 mounts. Should rarely be needed (i.e. servers actually
returning information in the upper 32 bits, and programs not
being able to deal with that (emulated binaries; native NetBSD
binaries will never need this)).

Revision 1.17 / (download) - annotate - [select for diffs], Mon Sep 15 05:31:36 1997 UTC (26 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.16: +18 -18 lines
Diff to previous 1.16 (colored) to selected 1.30 (colored)

* update for WARNS=1
* getopt returns -1 not EOF
* fix .Nm usage
* deprecate register
* bzero() -> memset()

Revision 1.16 / (download) - annotate - [select for diffs], Mon May 12 01:52:27 1997 UTC (26 years, 10 months ago) by jtk
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) to selected 1.30 (colored)

fix typo: PRC should have been RPC

Revision 1.15 / (download) - annotate - [select for diffs], Sun Mar 23 20:59:58 1997 UTC (27 years ago) by fvdl
Branch: MAIN
Changes since 1.14: +33 -29 lines
Diff to previous 1.14 (colored) to selected 1.30 (colored)

Use a reserved port by default. The -P option is now obsolete, but
kept for backward compatibility. The -p option was added to explicitly
NOT use reserved ports.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Thu Jan 9 15:37:35 1997 UTC (27 years, 2 months ago) by tls
Branch: CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +256 -62 lines
Diff to previous 1.1.1.1 (colored) to selected 1.30 (colored)

Import from 4.4BSD-Lite2

Revision 1.14 / (download) - annotate - [select for diffs], Sun Oct 27 21:18:04 1996 UTC (27 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.13: +12 -9 lines
Diff to previous 1.13 (colored) to selected 1.30 (colored)

Fix PR/2884: Change default for nfs mounts to not do a connect on the
socket. Add option -C to force a connected mount. Now option -c is still
there, but it is the default. Maybe amd should be changed similarly.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Sat May 25 22:48:05 1996 UTC (27 years, 10 months ago) by fvdl
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA
Changes since 1.12: +26 -8 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.30 (colored)

Pull in options-combinations bugfix from main branch.

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 23 22:52:49 1996 UTC (27 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.12: +26 -8 lines
Diff to previous 1.12 (colored) to selected 1.30 (colored)

Be stricter when checking NQNFS and version combinations. Incorrect combinations
of these flags were previously possible when falling back from a v3 -> v2
mount, and could confuse the system.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Apr 13 01:31:43 1996 UTC (27 years, 11 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) to selected 1.30 (colored)

Add const qualifier to mopts table

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 18 11:59:11 1996 UTC (28 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.10: +268 -52 lines
Diff to previous 1.10 (colored) to selected 1.30 (colored)

Bring in NFSv3 code by Rick Macklem (from Lite2).

Revision 1.10 / (download) - annotate - [select for diffs], Sun May 21 15:17:13 1995 UTC (28 years, 10 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.9: +14 -16 lines
Diff to previous 1.9 (colored) to selected 1.30 (colored)

Use inet_aton(), not inet_addr().

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 28 17:22:28 1995 UTC (29 years ago) by jtc
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored) to selected 1.30 (colored)

KERNEL -> _KERNEL

Revision 1.8 / (download) - annotate - [select for diffs], Sat Mar 18 14:57:42 1995 UTC (29 years ago) by cgd
Branch: MAIN
Changes since 1.7: +7 -2 lines
Diff to previous 1.7 (colored) to selected 1.30 (colored)

convert to new RCS Id conventions; reduce my headache

Revision 1.7 / (download) - annotate - [select for diffs], Thu Dec 29 00:48:42 1994 UTC (29 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.30 (colored)

fix bug 547.  it looks like somebody mis-pasted.  kirk has been informed.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Sep 23 14:27:30 1994 UTC (29 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +6 -7 lines
Diff to previous 1.5 (colored) to selected 1.30 (colored)

Eliminate uses of some obsolete functions.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Sep 17 05:27:11 1994 UTC (29 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +8 -4 lines
Diff to previous 1.4 (colored) to selected 1.30 (colored)

Get the root filehandle using the same transport as the mount itself.  From
Ken Hornstein.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Tue Sep 6 19:36:47 1994 UTC (29 years, 6 months ago) by cgd
Branch: netbsd-1-0
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
Changes since 1.2: +4 -2 lines
Diff to previous 1.2 (colored) next main 1.3 (colored) to selected 1.30 (colored)

from trunk.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Sep 5 02:21:06 1994 UTC (29 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored) to selected 1.30 (colored)

Fix incorrect error messages.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jul 27 03:16:06 1994 UTC (29 years, 8 months ago) by brezak
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored) to selected 1.30 (colored)

Use default realm instead of constant

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jun 24 12:04:53 1994 UTC (29 years, 9 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.1: +8 -6 lines
Diff to previous 1.1 (colored) to selected 1.30 (colored)

Make numerical IP addresses work (fix from Christos Zoulas).

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Jun 13 22:51:12 1994 UTC (29 years, 9 months ago) by mycroft
Branch: CSRG
CVS Tags: lite-1
Changes since 1.1: +1 -4 lines
Diff to previous 1.1 (colored) to selected 1.30 (colored)

Import 4.4-Lite version.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 8 19:23:05 1994 UTC (29 years, 9 months ago) by mycroft
Branch: MAIN
Diff to selected 1.30 (colored)

Update from 4.4-Lite, with local changes.

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 <webmaster@jp.NetBSD.org>