The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.107 / (download) - annotate - [select for diffs], Tue Dec 7 14:31:13 2021 UTC (13 months, 4 weeks ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.106: +3 -3 lines
Diff to previous 1.106 (colored)

remove impossible test.

Revision 1.106 / (download) - annotate - [select for diffs], Thu Dec 2 13:26:39 2021 UTC (14 months ago) by christos
Branch: MAIN
Changes since 1.105: +25 -23 lines
Diff to previous 1.105 (colored)

PR/56529: RVP: mount should try ffs when DIOCGWEDGEINFO returns an empty
dkw_ptype.

Revision 1.105 / (download) - annotate - [select for diffs], Sun Nov 21 05:09:15 2021 UTC (14 months, 2 weeks ago) by simonb
Branch: MAIN
Changes since 1.104: +4 -4 lines
Diff to previous 1.104 (colored)

Add some { } around an if body that is followed by an "else {".

Revision 1.103.4.1 / (download) - annotate - [select for diffs], Sun Jun 6 20:30:48 2021 UTC (20 months ago) by cjep
Branch: cjep_sun2x
Changes since 1.103: +2 -7 lines
Diff to previous 1.103 (colored) next main 1.104 (colored)

sync with head

Revision 1.104 / (download) - annotate - [select for diffs], Fri Jun 4 11:55:45 2021 UTC (20 months ago) by simonb
Branch: MAIN
CVS Tags: cjep_sun2x-base1
Changes since 1.103: +2 -7 lines
Diff to previous 1.103 (colored)

Remove the warning about autoselecting nfs based on : or @.

Ok jmcneill@, mrg@.

Revision 1.103 / (download) - annotate - [select for diffs], Sun Oct 18 10:57:30 2020 UTC (2 years, 3 months ago) by mlelstv
Branch: MAIN
CVS Tags: cjep_sun2x-base, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: cjep_sun2x
Changes since 1.102: +20 -12 lines
Diff to previous 1.102 (colored)

Make command line arguments -r and -w actually override defaults from fstab,
previously -w would only cancel a preceeding -r.

No longer strip -o rw.

Revision 1.100.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:48:55 2016 UTC (6 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.100: +3 -3 lines
Diff to previous 1.100 (colored) next main 1.101 (colored)

Sync with HEAD

Revision 1.102 / (download) - annotate - [select for diffs], Sun Oct 9 21:03:43 2016 UTC (6 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, 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, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.101: +3 -3 lines
Diff to previous 1.101 (colored)

try to be more clear about what is not found.

Revision 1.101 / (download) - annotate - [select for diffs], Sat Oct 8 06:47:59 2016 UTC (6 years, 4 months ago) by maya
Branch: MAIN
Changes since 1.100: +3 -3 lines
Diff to previous 1.100 (colored)

change warning message

previously attempting to use mount -t ext2 like myself would result in
the warning "mount: mount_ext2 not found for /mnt", which (if you're me)
can be misunderstood as "/mnt is not an ext2 filesystem"...

change it to "mount: mount_ext2 not found"

Revision 1.100 / (download) - annotate - [select for diffs], Sun Jan 4 22:05:37 2015 UTC (8 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.99: +4 -4 lines
Diff to previous 1.99 (colored)

gcc 4.9 produces vfork clobberation warnings for "name" and "buflen".
Since there's no performance reason to use vfork here, just replace it
with fork and be done with warnings once and for all.

Revision 1.97.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:26 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.97.2.1: +5 -5 lines
Diff to previous 1.97.2.1 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.93.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:37:29 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.93.2.2: +7 -9 lines
Diff to previous 1.93.2.2 (colored) to branchpoint 1.93 (colored) next main 1.94 (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.99 / (download) - annotate - [select for diffs], Sat Oct 5 08:06:35 2013 UTC (9 years, 4 months ago) by ast
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, 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
Changes since 1.98: +5 -5 lines
Diff to previous 1.98 (colored)

No code change: corrected spelling in comment, removed trailing white spaces.

Revision 1.97.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:09 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.97: +4 -6 lines
Diff to previous 1.97 (colored)

resync with head

Revision 1.98 / (download) - annotate - [select for diffs], Thu Jan 24 17:53:49 2013 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Changes since 1.97: +4 -6 lines
Diff to previous 1.97 (colored)

use return instead of exit.

Revision 1.93.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 18:59:29 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.93.2.1: +3 -3 lines
Diff to previous 1.93.2.1 (colored) to branchpoint 1.93 (colored)

sync with head

Revision 1.97 / (download) - annotate - [select for diffs], Thu Jun 14 00:39:33 2012 UTC (10 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.96: +3 -3 lines
Diff to previous 1.96 (colored)

don't print the NULL, but the error

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:40 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.93: +54 -57 lines
Diff to previous 1.93 (colored)

sync with head

Revision 1.96 / (download) - annotate - [select for diffs], Mon Apr 9 15:50:20 2012 UTC (10 years, 10 months ago) by mlelstv
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Changes since 1.95: +4 -3 lines
Diff to previous 1.95 (colored)

return exit code from mount_XXXX again

Revision 1.95 / (download) - annotate - [select for diffs], Sat Apr 7 04:13:06 2012 UTC (10 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.94: +12 -57 lines
Diff to previous 1.94 (colored)

use getfsspecname

Revision 1.94 / (download) - annotate - [select for diffs], Sat Apr 7 03:13:32 2012 UTC (10 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.93: +100 -59 lines
Diff to previous 1.93 (colored)

Accept NAME=label for special so that we can wire down our wedges.

Revision 1.93 / (download) - annotate - [select for diffs], Mon Aug 29 14:35:00 2011 UTC (11 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: 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
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored)

Use __dead

Revision 1.92 / (download) - annotate - [select for diffs], Thu Jan 13 11:57:02 2011 UTC (12 years ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base7, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

In case we are union-mounting /, don't force MNT_UPDATE.  This makes
the following work:

	mount -t tmpfs -o union tmpfs /

(some caveats are implied, such as if you "mkdir /usr" you're
screwed, but then again you'll get there with "rm -rf /usr" even
without union -- we supply rope)

per discussion with zafer, use case for jibbed

Revision 1.91 / (download) - annotate - [select for diffs], Thu Jan 14 21:46:24 2010 UTC (13 years ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-mips64-premerge-20101231
Changes since 1.90: +14 -4 lines
Diff to previous 1.90 (colored)

Remove puffs| from vfstype before making comparison to determine if
fs is mounted.

Fixes slightly-miscategorized kern/37626.

Revision 1.90 / (download) - annotate - [select for diffs], Thu Jan 14 21:30:17 2010 UTC (13 years ago) by pooka
Branch: MAIN
Changes since 1.89: +8 -3 lines
Diff to previous 1.89 (colored)

If getargs and vfs has PUFFS_TYPEPREFIX, use mount_puffs to query args.

Revision 1.88.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:19:02 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.88: +6 -2 lines
Diff to previous 1.88 (colored) next main 1.89 (colored)

Sync with HEAD.

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

Revision 1.89 / (download) - annotate - [select for diffs], Mon May 4 11:41:48 2009 UTC (13 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.88: +6 -2 lines
Diff to previous 1.88 (colored)

disable automatic mountd reloading for now because it makes the service
temporary unavailable.  PR/41331 from FUKAUMI Naoki.

Revision 1.86.2.2 / (download) - annotate - [select for diffs], Thu Jan 22 20:27:59 2009 UTC (14 years ago) by snj
Branch: netbsd-5
CVS Tags: 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, 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
Changes since 1.86.2.1: +6 -3 lines
Diff to previous 1.86.2.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

Pull up following revision(s) (requested by pooka in ticket #288):
	include/mntopts.h: revision 1.12
	sbin/mount/mount.8: revision 1.63
	sbin/mount/mount.c: revision 1.88
Support mount -o rump, which uses the rump server instead of using
the kernel service.  E.g. "mount -t efs -o rump /dev/sgidev /mnt"
runs effectively "rump_efs /dev/sgidev /mnt".

Revision 1.84.12.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:48:53 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.84.12.1: +11 -3 lines
Diff to previous 1.84.12.1 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)

Sync with HEAD.

Revision 1.86.2.1 / (download) - annotate - [select for diffs], Fri Jan 16 22:22:52 2009 UTC (14 years ago) by bouyer
Branch: netbsd-5
Changes since 1.86: +9 -4 lines
Diff to previous 1.86 (colored)

Pull up following revision(s) (requested by pooka in ticket #266):
	sbin/mount/mount.c: revision 1.87
Warn that autoselecting nfs based on : or @ in the device path will
be removed in a future release.

Revision 1.88 / (download) - annotate - [select for diffs], Sun Jan 11 20:39:34 2009 UTC (14 years ago) by pooka
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.87: +6 -3 lines
Diff to previous 1.87 (colored)

Support mount -o rump, which uses the rump server instead of using
the kernel service.  E.g. "mount -t efs -o rump /dev/sgidev /mnt"
runs effectively "rump_efs /dev/sgidev /mnt".

Revision 1.87 / (download) - annotate - [select for diffs], Sun Jan 11 12:33:50 2009 UTC (14 years ago) by pooka
Branch: MAIN
Changes since 1.86: +9 -4 lines
Diff to previous 1.86 (colored)

Warn that autoselecting nfs based on : or @ in the device path will
be removed in a future release.

Revision 1.84.12.1 / (download) - annotate - [select for diffs], Sun Sep 28 11:17:12 2008 UTC (14 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.84: +5 -5 lines
Diff to previous 1.84 (colored)

Sync with HEAD.

Revision 1.84.16.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:28:25 2008 UTC (14 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.84: +5 -5 lines
Diff to previous 1.84 (colored) next main 1.85 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Aug 5 20:57:45 2008 UTC (14 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, matt-mips64-base2
Branch point for: netbsd-5
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored)

Refactor mount utilities to provide a mount_fs_parseargs() routine.
Use this routine both in mount_fs and rump_fs to provide equivalent
command line parameters and therefore usage interchangeability.
While doing this, combine some common mountgoop to mountprog.h

Revision 1.85 / (download) - annotate - [select for diffs], Sun Jul 20 01:20:22 2008 UTC (14 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.84: +4 -4 lines
Diff to previous 1.84 (colored)

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

Revision 1.84 / (download) - annotate - [select for diffs], Tue Jul 17 23:56:01 2007 UTC (15 years, 6 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, wrstuden-revivesa-base-1, wrstuden-revivesa-base, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: wrstuden-revivesa, mjf-devfs2
Changes since 1.83: +5 -4 lines
Diff to previous 1.83 (colored)

cast sizeof() to int for printf widths.

Revision 1.83 / (download) - annotate - [select for diffs], Tue Jul 17 20:13:43 2007 UTC (15 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.82: +5 -5 lines
Diff to previous 1.82 (colored)

kill MFSTYPENAME

Revision 1.82 / (download) - annotate - [select for diffs], Mon Oct 16 02:54:23 2006 UTC (16 years, 3 months ago) by christos
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.81: +6 -12 lines
Diff to previous 1.81 (colored)

sprinkle volatile.

Revision 1.81 / (download) - annotate - [select for diffs], Thu May 4 19:38:50 2006 UTC (16 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.80: +12 -7 lines
Diff to previous 1.80 (colored)

since yamt prohibits any flag with MNT_GETARGS, don't set MNT_UPDATE for
/ when we do getargs.

Revision 1.80 / (download) - annotate - [select for diffs], Tue Mar 21 21:37:34 2006 UTC (16 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.79: +4 -2 lines
Diff to previous 1.79 (colored)

Coverity CID 1688: Fix memory leak.

Revision 1.79 / (download) - annotate - [select for diffs], Fri Mar 17 15:53:46 2006 UTC (16 years, 10 months ago) by rumble
Branch: MAIN
Changes since 1.78: +4 -2 lines
Diff to previous 1.78 (colored)

Check for allocation failures in malloc, calloc, realloc, asprintf, and
vasprintf and try to handle them.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Jun 27 01:00:05 2005 UTC (17 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored)

Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Sat Mar 19 13:19:55 2005 UTC (17 years, 10 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.76: +7 -6 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

Pull up revision 1.77 (requested by lukem in ticket #10):
Fix core dump when doing
	mount fileserver:/somepath
by not passing a NULL pointer to getfsfile(3).
(Bug was introduced in rev 1.74 as part of fix for PR 28644.)

Revision 1.77 / (download) - annotate - [select for diffs], Fri Mar 18 04:24:35 2005 UTC (17 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.76: +7 -6 lines
Diff to previous 1.76 (colored)

Fix core dump when doing
	mount fileserver:/somepath
by not passing a NULL pointer to getfsfile(3).
(Bug was introduced in rev 1.74 as part of fix for PR 28644.)

Revision 1.76 / (download) - annotate - [select for diffs], Sat Feb 5 14:44:46 2005 UTC (18 years ago) by xtraeme
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.75: +24 -41 lines
Diff to previous 1.75 (colored)

Kill __P(), use ANSI function declarations.

Revision 1.75 / (download) - annotate - [select for diffs], Mon Jan 31 14:18:08 2005 UTC (18 years ago) by he
Branch: MAIN
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (colored)

Move local variable declaration to variable declaration section at
top of function, and at least away from after active code within
a block.  Fixes build problem with gcc 2 (for vax).

Revision 1.74 / (download) - annotate - [select for diffs], Mon Jan 31 02:32:35 2005 UTC (18 years ago) by erh
Branch: MAIN
Changes since 1.73: +42 -9 lines
Diff to previous 1.73 (colored)

PR #28644: Use realpath to make mount more forgiving of non-canonical
mount paths entered on the command line.

Revision 1.73 / (download) - annotate - [select for diffs], Sat Sep 25 03:32:52 2004 UTC (18 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.72: +11 -2 lines
Diff to previous 1.72 (colored)

Try the DIOCGWEDGEINFO ioctl first.  If that succeeds (i.e. the block
device is a wedge), use the partition type string from the dkwedge_info
structure to get the file system type.

Revision 1.72 / (download) - annotate - [select for diffs], Thu Aug 19 23:02:09 2004 UTC (18 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.71: +4 -4 lines
Diff to previous 1.71 (colored)

Handle RESCUEDIR

Revision 1.71 / (download) - annotate - [select for diffs], Fri Apr 30 00:48:07 2004 UTC (18 years, 9 months ago) by enami
Branch: MAIN
Changes since 1.70: +7 -2 lines
Diff to previous 1.70 (colored)

Print fsid on verbose printing.  It is useful when debugging nfs.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Apr 22 10:17:00 2004 UTC (18 years, 9 months ago) by hannken
Branch: MAIN
Changes since 1.69: +4 -4 lines
Diff to previous 1.69 (colored)

Use PRIu64 to printf uint64_t. Compiles again on sparc64.

Revision 1.69 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:33 2004 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.68: +20 -17 lines
Diff to previous 1.68 (colored)

Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Mar 27 06:11:48 2004 UTC (18 years, 10 months ago) by cgd
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.67: +23 -7 lines
Diff to previous 1.67 (colored)

Recognize 'from_mount' as the device, which is especially useful when
putting root on NFS.  (From my PR, 20305.)

Revision 1.67 / (download) - annotate - [select for diffs], Fri Sep 19 08:29:58 2003 UTC (19 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.66: +12 -10 lines
Diff to previous 1.66 (colored)

realloc pedant

Revision 1.66 / (download) - annotate - [select for diffs], Thu Aug 7 10:04:26 2003 UTC (19 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.65: +3 -7 lines
Diff to previous 1.65 (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.65 / (download) - annotate - [select for diffs], Sun Jan 19 10:49:12 2003 UTC (20 years ago) by jdolecek
Branch: MAIN
Changes since 1.64: +2 -10 lines
Diff to previous 1.64 (colored)

do not link all mount programs into single image; the total size difference
isn't really that huge now that these are compiled as dynamic

Revision 1.64 / (download) - annotate - [select for diffs], Mon Sep 23 03:39:41 2002 UTC (20 years, 4 months ago) by enami
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.63: +10 -8 lines
Diff to previous 1.63 (colored)

Cosmetic changes.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Sep 23 03:35:22 2002 UTC (20 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

Properly terminate the output from mount -v.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Sep 21 21:30:27 2002 UTC (20 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.61: +4 -3 lines
Diff to previous 1.61 (colored)

make sure options is not NULL before we look in it. Thanks Charles.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Sep 21 18:43:32 2002 UTC (20 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.60: +85 -17 lines
Diff to previous 1.60 (colored)

MNT_GETARGS support

Revision 1.60 / (download) - annotate - [select for diffs], Fri Aug 23 03:17:19 2002 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.59: +5 -2 lines
Diff to previous 1.59 (colored)

if _PATH_RESCUE is defined, try that before _PATH_SBIN & _PATH_USRSBIN

Revision 1.59 / (download) - annotate - [select for diffs], Tue May 21 23:51:19 2002 UTC (20 years, 8 months ago) by nathanw
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
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored)

When attempting to guess the filesystem type from the disklabel, don't
consider a out-of-range partition letter at the end of the special
device node to be a fatal error; just return NULL and let the caller
fall back to FFS.

This fixes the "mount -u /kern/rootdev /" done by the script installer.

XXX this is still gross, and breaks things like
"mount /my/strange/dev/path/b /mnt". Perhaps it should stat the node
and use the minor number as an index instead?

Revision 1.58 / (download) - annotate - [select for diffs], Wed Jan 30 21:40:31 2002 UTC (21 years ago) by christos
Branch: MAIN
Changes since 1.57: +6 -25 lines
Diff to previous 1.57 (colored)

Use __MNT_FLAGS from <sys/mount.h> instead of rolling our own list. Also
when -v is used, print even the silent flags.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Dec 20 20:10:37 2001 UTC (21 years, 1 month ago) by soren
Branch: MAIN
Changes since 1.56: +5 -5 lines
Diff to previous 1.56 (colored)

Sync getopt() / man page with actual getopt options.

Revision 1.47.4.2 / (download) - annotate - [select for diffs], Mon Feb 26 16:50:36 2001 UTC (21 years, 11 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.47.4.1: +74 -4 lines
Diff to previous 1.47.4.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Pull up revisions 1.48-1.49,1.51,1.54 (via patch, requested by abs):
  If both special and node are given (but no type), the disklabel
  is checked for the file system type before falling back to ffs.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Feb 18 06:15:49 2001 UTC (21 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.55: +6 -2 lines
Diff to previous 1.55 (colored)

Add x_mount, which does not include any MOUNT_PROGS.
Installer does not require all vfs progs and all binaries
are crunched after all.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Nov 1 04:10:02 2000 UTC (22 years, 3 months ago) by enami
Branch: MAIN
Changes since 1.54: +3 -5 lines
Diff to previous 1.54 (colored)

Factor out some function declarations into a header file.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Nov 1 04:06:49 2000 UTC (22 years, 3 months ago) by enami
Branch: MAIN
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

When failed to read disklabel to deduce filesystem type,
	- don't warn.  It's just too verbose when we know there is
	  no disklabel and want to use the default filesystem type.
	- close the file descriptor so that further mount success.

Revision 1.53 / (download) - annotate - [select for diffs], Wed Nov 1 04:01:45 2000 UTC (22 years, 3 months ago) by enami
Branch: MAIN
Changes since 1.52: +42 -39 lines
Diff to previous 1.52 (colored)

Cosmetic changes.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Oct 30 21:31:50 2000 UTC (22 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.51: +21 -17 lines
Diff to previous 1.51 (colored)

mount(8) now includes code for all mount_*(8) but mount_portal(8) and
mount_mfs(8); the mount_*(8) are hardlinked to mount (appropriate mount routine
is called depending on program name) - this saves approx. 1.7MB of /sbin
space
mount.c: make all local symbols static

Revision 1.47.4.1 / (download) - annotate - [select for diffs], Wed Oct 18 00:39:46 2000 UTC (22 years, 3 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Pullup sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Oct 11 17:56:05 2000 UTC (22 years, 4 months ago) by abs
Branch: MAIN
Changes since 1.50: +28 -17 lines
Diff to previous 1.50 (colored)

When determining the filesystem type automatically, only try the raw device
for the disklabel if the given device fails with EBUSY. Also make disklabel
errors non fatal (just fall back to ffs as per pre-autofilesystem behaviour)
Based on further discussion with Launey Thomas <ljt@alum.mit.edu>

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Tue Oct 10 22:23:25 2000 UTC (22 years, 4 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Pull up revision 1.50 (via patch, requested by is):
  Format string cleanup.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Oct 10 20:24:52 2000 UTC (22 years, 4 months ago) by is
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

Format string cleanups by Bill Sommerfeld.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Oct 2 18:52:47 2000 UTC (22 years, 4 months ago) by abs
Branch: MAIN
Changes since 1.48: +15 -3 lines
Diff to previous 1.48 (colored)

When opening a partition to automatically determine the filesystem type,
always use the raw partition in case it is already mounted and this is
an 'update' mount. Patch from Launey Thomas <ljt@alum.mit.edu>

Revision 1.48 / (download) - annotate - [select for diffs], Mon Sep 18 10:48:24 2000 UTC (22 years, 4 months ago) by abs
Branch: MAIN
Changes since 1.47: +51 -4 lines
Diff to previous 1.47 (colored)

If device and mountpoint are given without -t, and without a : in the
device, check the disklabel for filesystem type. Fall back to ffs as ever.

Revision 1.45.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:30:26 1999 UTC (23 years, 1 month ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.45: +8 -3 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Pull up to last week's -current.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Nov 16 11:53:17 1999 UTC (23 years, 2 months ago) by enami
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-5-base, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

If we didn't print an open paren, no need to print a closing paren
(by backing out part of previous commit).

Revision 1.46 / (download) - annotate - [select for diffs], Mon Nov 15 19:20:58 1999 UTC (23 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.45: +8 -3 lines
Diff to previous 1.45 (colored)

Print softdep information. Also print sync+async writes in verbose mode.

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Tue Oct 19 13:00:47 1999 UTC (23 years, 3 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.45: +10 -3 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Bring in Kirk McKusick's FFS softdep code on a branch.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Dec 1 23:20:43 1998 UTC (24 years, 2 months ago) by kenh
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, netbsd-1-4, fvdl-softdep
Changes since 1.44: +3 -2 lines
Diff to previous 1.44 (colored)

Add support for a new flag: "nodevmtime".  This sets the MNT_NODEVMTIME mount
flag.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Aug 25 19:18:16 1998 UTC (24 years, 5 months ago) by ross
Branch: MAIN
Changes since 1.43: +4 -3 lines
Diff to previous 1.43 (colored)

from Erik Bertelsen <erik@mediator.uni-c.dk>
 { put } { in } { lots } { of } { these } { to } { shut } { up } { egcs }

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jul 26 20:04:16 1998 UTC (24 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

const poisoning.

Revision 1.32.2.3 / (download) - annotate - [select for diffs], Fri May 8 05:26:13 1998 UTC (24 years, 9 months ago) by mycroft
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002
Changes since 1.32.2.2: +15 -10 lines
Diff to previous 1.32.2.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Pull up 1.42, per request of ross.

Revision 1.42 / (download) - annotate - [select for diffs], Wed May 6 02:36:35 1998 UTC (24 years, 9 months ago) by ross
Branch: MAIN
Changes since 1.41: +15 -10 lines
Diff to previous 1.41 (colored)

Rewrite options and fstype handling for upgrade mounts.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Nov 23 03:53:24 1997 UTC (25 years, 2 months ago) by enami
Branch: MAIN
Changes since 1.40: +3 -2 lines
Diff to previous 1.40 (colored)

Add MNT_SYMPERM to optnames[].

Revision 1.40 / (download) - annotate - [select for diffs], Wed Nov 5 21:29:33 1997 UTC (25 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.39: +12 -7 lines
Diff to previous 1.39 (colored)

lint

Revision 1.32.2.2 / (download) - annotate - [select for diffs], Sun Nov 2 00:17:34 1997 UTC (25 years, 3 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Changes since 1.32.2.1: +21 -16 lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored)

Pull rev 1.36, 1.37, 1.38 and 1.39 up from trunk (drochner)

Revision 1.39 / (download) - annotate - [select for diffs], Sat Nov 1 18:38:29 1997 UTC (25 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.38: +2 -21 lines
Diff to previous 1.38 (colored)

Take out last change (wait for mount_mfs completion).
I changed it in mount_mfs instead.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Nov 1 15:32:06 1997 UTC (25 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.37: +21 -2 lines
Diff to previous 1.37 (colored)

Fix a problem with asynchronous processing of mfs mounts: Calls to
statfs() or getmountinfo() did not tell about the freshly mounted
ramdisk.
XXX Imo, "mount_mfs" should not return before the mount is done.
This is the only place where this can be done cleanly. But this would
require a substancial restructuring of "newfs". For now, wait in "mount"
until the filesystem appears.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Nov 1 14:21:53 1997 UTC (25 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.36: +2 -3 lines
Diff to previous 1.36 (colored)

Fix a misbehaviour introduced in rev. 1.34 - mountfs() returned in
"verbose" mode after printing the exec args.
This invalidates most of my comment in the previous commit. (Not all,
there are still bogosities with mount_mfs.)

Revision 1.36 / (download) - annotate - [select for diffs], Sat Nov 1 13:59:00 1997 UTC (25 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.35: +21 -15 lines
Diff to previous 1.35 (colored)

When checking whether a filesystem is already mounted (for -a), get and
check all mounts (getmntinfo), not only the top one (statfs).
Otherwise we might miss lower level mounts on the same mountpoint.
XXX "mount" behaves differently with the "verbose" flag (-v) in some
cases, probably due to asynchronous calls to fs dependant mount programs.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Fri Oct 31 21:20:38 1997 UTC (25 years, 3 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.32: +77 -61 lines
Diff to previous 1.32 (colored)

Pull rev 1.33, 1.34 and 1.35 up from trunk (mycroft)

Revision 1.35 / (download) - annotate - [select for diffs], Fri Oct 31 09:40:29 1997 UTC (25 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.34: +65 -49 lines
Diff to previous 1.34 (colored)

Import modified mangle() from mount(8).
Also rewrite catopt() with a more sane interface.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Oct 29 19:41:24 1997 UTC (25 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.33: +7 -4 lines
Diff to previous 1.33 (colored)

PR/2974: VaX#n8: fix the rest of the problems that were not addressed by 4384.
 - vfork exit -> _exit
 - debug and verbose consistency with fsck.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Oct 29 18:55:58 1997 UTC (25 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.32: +10 -13 lines
Diff to previous 1.32 (colored)

PR/4384: Brian Grayson: Pass the real argv[0] to the exec'ed child.
Also while I am here, remove bogus XXX comment about mount_mfs.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Sep 16 12:22:45 1997 UTC (25 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.31: +37 -78 lines
Diff to previous 1.31 (colored)

resolve conflicts from lite-2 import, with two major modifications
that require all of /sbin/mount_* and /sbin/umount to be modified:
* incorporate vfslist.c, adding checkvfsname() and makevfslist()
* getmntopts() now takes 4 args (adding int *altflagp)

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Tue Sep 16 09:03:20 1997 UTC (25 years, 4 months ago) by lukem
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +75 -101 lines
Diff to previous 1.1.1.2 (colored)

imported from lite-2

Revision 1.31 / (download) - annotate - [select for diffs], Mon Sep 15 04:09:07 1997 UTC (25 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

* getopt returns -1 not EOF
* use .Nm correctly

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jul 30 03:45:27 1997 UTC (25 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.29: +11 -4 lines
Diff to previous 1.29 (colored)

When we mount -u and there is no vfstype specified, deduce the vfstype from
statfs.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jul 4 15:17:57 1997 UTC (25 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.28: +18 -12 lines
Diff to previous 1.28 (colored)

Fix warnings.

Revision 1.28 / (download) - annotate - [select for diffs], Sat May 31 09:27:57 1997 UTC (25 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

More accurate failure message for unknown filesystem types, as
suggested in PR#1274.

Revision 1.27 / (download) - annotate - [select for diffs], Sat May 17 19:36:35 1997 UTC (25 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

NULL => 0 (Arne Juul; PR#3629)

Revision 1.26 / (download) - annotate - [select for diffs], Mon Mar 10 03:59:54 1997 UTC (25 years, 11 months ago) by mikel
Branch: MAIN
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

add support for MNT_NOATIME; from Lennart Augustsson in PR bin/3304.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Oct 23 22:50:05 1996 UTC (26 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.24: +3 -2 lines
Diff to previous 1.24 (colored)

recognize MNT_NOCOREDUMP and print the 'nocoredump' flag for file
systems which have MNT_NOCOREDUMP set.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Nov 18 03:34:29 1995 UTC (27 years, 2 months ago) by cgd
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.23: +24 -13 lines
Diff to previous 1.23 (colored)

Recognize all mount flags exported from the kernel (but only print the
ones that we used to print).  Note unrecognized flags(s) when printing
mount list.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Aug 22 19:58:33 1995 UTC (27 years, 5 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored)

Call mount_ffs instead of mount_ufs; PR #1379

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jul 12 06:05:04 1995 UTC (27 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.21: +15 -12 lines
Diff to previous 1.21 (colored)

fix a goof in my previous code, that i thought of while reading pr 749.
add a -A flag, which does the same thing as '-a', but doesn't check for
remounts.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jul 12 03:45:14 1995 UTC (27 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.20: +18 -8 lines
Diff to previous 1.20 (colored)

remove FFS mounting code from mount(8); there are now _no_ 'internal' mount
types.  when using mount(8) with '-a', do _NOT_ remount file systems
that have been mounted once already.  (This cannot be 100% precisely
determined (thanks to mfs, union fs, and similar file systems which
don't use a 'real' mounted-from node), and changed options cannot be updated
with mount -a.  however, options wouldn't be updated with the old mount -a
anyway, and this solves several annoyances.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jul 4 23:41:33 1995 UTC (27 years, 7 months ago) by ghudson
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Give an argument to the warning message for when realpath() fails.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jun 22 11:16:44 1995 UTC (27 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

specify precision, not minimum field width.  pointed out by John Kohl

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 18 10:58:59 1995 UTC (27 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored)

don't assume f_fstypename is larger than MFSNAMELEN or is nul-terminated

Revision 1.17 / (download) - annotate - [select for diffs], Sun May 28 05:25:34 1995 UTC (27 years, 8 months ago) by jtc
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

sys_siglist[] -> strsignal()

Revision 1.16 / (download) - annotate - [select for diffs], Sat Mar 18 14:57:02 1995 UTC (27 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.15: +7 -2 lines
Diff to previous 1.15 (colored)

convert to new RCS Id conventions; reduce my headache

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jan 30 17:22:42 1995 UTC (28 years ago) by mycroft
Branch: MAIN
Changes since 1.14: +52 -47 lines
Diff to previous 1.14 (colored)

Change type list code to match umount(8).

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 18 16:03:02 1994 UTC (28 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

compile against new headers

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Mon Aug 29 02:38:01 1994 UTC (28 years, 5 months ago) by mycroft
Branch: netbsd-1-0
Changes since 1.13.2.1: +530 -0 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Display type of mount; suggested by Thomas Eberhardt.

Revision 1.13.2.1, Mon Aug 29 02:38:00 1994 UTC (28 years, 5 months ago) by mycroft
Branch: netbsd-1-0
Changes since 1.13: +0 -530 lines
FILE REMOVED

file mount.c was added on branch netbsd-1-0 on 1994-08-29 02:38:01 +0000

Revision 1.13 / (download) - annotate - [select for diffs], Mon Aug 29 02:38:00 1994 UTC (28 years, 5 months ago) by mycroft
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.12: +10 -10 lines
Diff to previous 1.12 (colored)

Display type of mount; suggested by Thomas Eberhardt.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Mon Jun 13 22:47:56 1994 UTC (28 years, 8 months ago) by mycroft
Branch: WFJ-920714, CSRG
CVS Tags: lite-1
Changes since 1.1.1.1: +354 -658 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4-Lite version.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jun 8 19:02:43 1994 UTC (28 years, 8 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base
Changes since 1.11: +371 -680 lines
Diff to previous 1.11 (colored)

Update from 4.4-Lite, with local changes.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Apr 18 06:15:08 1994 UTC (28 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.10: +1 -4 lines
Diff to previous 1.10 (colored)

allow external mount types, even if LETS_GET_SMALL

Revision 1.10 / (download) - annotate - [select for diffs], Fri Apr 15 00:47:33 1994 UTC (28 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

oops, forgot one

Revision 1.9 / (download) - annotate - [select for diffs], Thu Apr 14 03:25:14 1994 UTC (28 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.8: +56 -53 lines
Diff to previous 1.8 (colored)

fs type names, and much clean

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jan 5 08:32:18 1994 UTC (29 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.7: +10 -1 lines
Diff to previous 1.7 (colored)

update for new (actually old... *sigh*) mount flags

Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 5 13:34:51 1993 UTC (29 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

should bzero automatic sockaddr's before use

Revision 1.6 / (download) - annotate - [select for diffs], Tue Sep 7 15:40:25 1993 UTC (29 years, 5 months ago) by ws
Branch: MAIN
Changes since 1.5: +1 -6 lines
Diff to previous 1.5 (colored)

Changes to VFS readdir semantics
NFS changes for better cookie support
ISOFS changes for better Rockridge support and support for generation numbers

Revision 1.5 / (download) - annotate - [select for diffs], Tue Aug 3 01:25:52 1993 UTC (29 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +18 -1 lines
Diff to previous 1.4 (colored)

Recognize `noauto' (and `auto', just for symmetry) in fstab.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 1 18:26:27 1993 UTC (29 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Add RCS identifiers.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 23 00:28:52 1993 UTC (29 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

changed "Id" to "Header" for rcsids

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 22 08:04:00 1993 UTC (29 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

added rcs ids to all files

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (29 years, 10 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (29 years, 10 months ago) by cgd
Branch: MAIN

Initial revision

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>