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


Keyword substitution: kv
Default branch: MAIN


Revision 1.107: download - view: text, markup, annotated - select for diffs
Tue Dec 7 14:31:13 2021 UTC (2 years, 11 months ago) by christos
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, 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, netbsd-10, HEAD
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +3 -3 lines
remove impossible test.

Revision 1.106: download - view: text, markup, annotated - select for diffs
Thu Dec 2 13:26:39 2021 UTC (2 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +25 -23 lines
PR/56529: RVP: mount should try ffs when DIOCGWEDGEINFO returns an empty
dkw_ptype.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Sun Nov 21 05:09:15 2021 UTC (2 years, 11 months ago) by simonb
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +4 -4 lines
Add some { } around an if body that is followed by an "else {".

Revision 1.103.4.1: download - view: text, markup, annotated - select for diffs
Sun Jun 6 20:30:48 2021 UTC (3 years, 5 months ago) by cjep
Branches: cjep_sun2x
Diff to: previous 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103: +2 -7 lines
sync with head

Revision 1.104: download - view: text, markup, annotated - select for diffs
Fri Jun 4 11:55:45 2021 UTC (3 years, 5 months ago) by simonb
Branches: MAIN
CVS tags: cjep_sun2x-base1
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +2 -7 lines
Remove the warning about autoselecting nfs based on : or @.

Ok jmcneill@, mrg@.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Sun Oct 18 10:57:30 2020 UTC (4 years ago) by mlelstv
Branches: MAIN
CVS tags: cjep_sun2x-base, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: cjep_sun2x
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +20 -12 lines
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 - view: text, markup, annotated - select for diffs
Fri Nov 4 14:48:55 2016 UTC (8 years ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100: +3 -3 lines
Sync with HEAD

Revision 1.102: download - view: text, markup, annotated - select for diffs
Sun Oct 9 21:03:43 2016 UTC (8 years, 1 month ago) by christos
Branches: 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-4-RELEASE, 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-3-RELEASE, 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
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -3 lines
try to be more clear about what is not found.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Sat Oct 8 06:47:59 2016 UTC (8 years, 1 month ago) by maya
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 4 22:05:37 2015 UTC (9 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:26 2014 UTC (10 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.97.2.1: preferred, colored; branchpoint 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.2.1: +5 -5 lines
Rebase to HEAD as of a few days ago.

Revision 1.93.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:37:29 2014 UTC (10 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.93.2.2: preferred, colored; branchpoint 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.2.2: +7 -9 lines
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 - view: text, markup, annotated - select for diffs
Sat Oct 5 08:06:35 2013 UTC (11 years, 1 month ago) by ast
Branches: 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
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +5 -5 lines
No code change: corrected spelling in comment, removed trailing white spaces.

Revision 1.97.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:28:09 2013 UTC (11 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +4 -6 lines
resync with head

Revision 1.98: download - view: text, markup, annotated - select for diffs
Thu Jan 24 17:53:49 2013 UTC (11 years, 9 months ago) by christos
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +4 -6 lines
use return instead of exit.

Revision 1.93.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 18:59:29 2012 UTC (12 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.93.2.1: preferred, colored; branchpoint 1.93: preferred, colored
Changes since revision 1.93.2.1: +3 -3 lines
sync with head

Revision 1.97: download - view: text, markup, annotated - select for diffs
Thu Jun 14 00:39:33 2012 UTC (12 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -3 lines
don't print the NULL, but the error

Revision 1.93.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:40 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +54 -57 lines
sync with head

Revision 1.96: download - view: text, markup, annotated - select for diffs
Mon Apr 9 15:50:20 2012 UTC (12 years, 7 months ago) by mlelstv
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +4 -3 lines
return exit code from mount_XXXX again

Revision 1.95: download - view: text, markup, annotated - select for diffs
Sat Apr 7 04:13:06 2012 UTC (12 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +12 -57 lines
use getfsspecname

Revision 1.94: download - view: text, markup, annotated - select for diffs
Sat Apr 7 03:13:32 2012 UTC (12 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +100 -59 lines
Accept NAME=label for special so that we can wire down our wedges.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Mon Aug 29 14:35:00 2011 UTC (13 years, 2 months ago) by joerg
Branches: 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
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -3 lines
Use __dead

Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu Jan 13 11:57:02 2011 UTC (13 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: uebayasi-xip-base7, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 14 21:46:24 2010 UTC (14 years, 9 months ago) by pooka
Branches: 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
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +14 -4 lines
Remove puffs| from vfstype before making comparison to determine if
fs is mounted.

Fixes slightly-miscategorized kern/37626.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Thu Jan 14 21:30:17 2010 UTC (14 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +8 -3 lines
If getargs and vfs has PUFFS_TYPEPREFIX, use mount_puffs to query args.

Revision 1.88.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:19:02 2009 UTC (15 years, 5 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88: +6 -2 lines
Sync with HEAD.

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

Revision 1.89: download - view: text, markup, annotated - select for diffs
Mon May 4 11:41:48 2009 UTC (15 years, 6 months ago) by yamt
Branches: MAIN
CVS tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +6 -2 lines
disable automatic mountd reloading for now because it makes the service
temporary unavailable.  PR/41331 from FUKAUMI Naoki.

Revision 1.86.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 22 20:27:59 2009 UTC (15 years, 9 months ago) by snj
Branches: 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
Diff to: previous 1.86.2.1: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.2.1: +6 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 17 13:48:53 2009 UTC (15 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.84.12.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.12.1: +11 -3 lines
Sync with HEAD.

Revision 1.86.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 16 22:22:52 2009 UTC (15 years, 9 months ago) by bouyer
Branches: netbsd-5
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +9 -4 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 11 20:39:34 2009 UTC (15 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +6 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 11 12:33:50 2009 UTC (15 years, 10 months ago) by pooka
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +9 -4 lines
Warn that autoselecting nfs based on : or @ in the device path will
be removed in a future release.

Revision 1.84.12.1: download - view: text, markup, annotated - select for diffs
Sun Sep 28 11:17:12 2008 UTC (16 years, 1 month ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +5 -5 lines
Sync with HEAD.

Revision 1.84.16.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:28:25 2008 UTC (16 years, 1 month ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +5 -5 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue Aug 5 20:57:45 2008 UTC (16 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, matt-mips64-base2
Branch point for: netbsd-5
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 20 01:20:22 2008 UTC (16 years, 3 months ago) by lukem
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -4 lines
Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)

Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Jul 17 23:56:01 2007 UTC (17 years, 3 months ago) by christos
Branches: 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
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +5 -4 lines
cast sizeof() to int for printf widths.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Jul 17 20:13:43 2007 UTC (17 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +5 -5 lines
kill MFSTYPENAME

Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Oct 16 02:54:23 2006 UTC (18 years ago) by christos
Branches: 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
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +6 -12 lines
sprinkle volatile.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Thu May 4 19:38:50 2006 UTC (18 years, 6 months ago) by christos
Branches: MAIN
CVS tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +12 -7 lines
since yamt prohibits any flag with MNT_GETARGS, don't set MNT_UPDATE for
/ when we do getargs.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Tue Mar 21 21:37:34 2006 UTC (18 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +4 -2 lines
Coverity CID 1688: Fix memory leak.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Fri Mar 17 15:53:46 2006 UTC (18 years, 7 months ago) by rumble
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -2 lines
Check for allocation failures in malloc, calloc, realloc, asprintf, and
vasprintf and try to handle them.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Jun 27 01:00:05 2005 UTC (19 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 19 13:19:55 2005 UTC (19 years, 7 months ago) by tron
Branches: 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
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +7 -6 lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 18 04:24:35 2005 UTC (19 years, 7 months ago) by lukem
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +7 -6 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 5 14:44:46 2005 UTC (19 years, 9 months ago) by xtraeme
Branches: MAIN
CVS tags: netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +24 -41 lines
Kill __P(), use ANSI function declarations.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Mon Jan 31 14:18:08 2005 UTC (19 years, 9 months ago) by he
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 31 02:32:35 2005 UTC (19 years, 9 months ago) by erh
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +42 -9 lines
PR #28644: Use realpath to make mount more forgiving of non-canonical
mount paths entered on the command line.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat Sep 25 03:32:52 2004 UTC (20 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +11 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Aug 19 23:02:09 2004 UTC (20 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -4 lines
Handle RESCUEDIR

Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Apr 30 00:48:07 2004 UTC (20 years, 6 months ago) by enami
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +7 -2 lines
Print fsid on verbose printing.  It is useful when debugging nfs.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Apr 22 10:17:00 2004 UTC (20 years, 6 months ago) by hannken
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +4 -4 lines
Use PRIu64 to printf uint64_t. Compiles again on sparc64.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Apr 21 01:05:33 2004 UTC (20 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +20 -17 lines
Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Mar 27 06:11:48 2004 UTC (20 years, 7 months ago) by cgd
Branches: 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
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +23 -7 lines
Recognize 'from_mount' as the device, which is especially useful when
putting root on NFS.  (From my PR, 20305.)

Revision 1.67: download - view: text, markup, annotated - select for diffs
Fri Sep 19 08:29:58 2003 UTC (21 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +12 -10 lines
realloc pedant

Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Aug 7 10:04:26 2003 UTC (21 years, 3 months ago) by agc
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -7 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 19 10:49:12 2003 UTC (21 years, 9 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -10 lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 23 03:39:41 2002 UTC (22 years, 1 month ago) by enami
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +10 -8 lines
Cosmetic changes.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Sep 23 03:35:22 2002 UTC (22 years, 1 month ago) by enami
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
Properly terminate the output from mount -v.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sat Sep 21 21:30:27 2002 UTC (22 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -3 lines
make sure options is not NULL before we look in it. Thanks Charles.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Sep 21 18:43:32 2002 UTC (22 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +85 -17 lines
MNT_GETARGS support

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Aug 23 03:17:19 2002 UTC (22 years, 2 months ago) by lukem
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +5 -2 lines
if _PATH_RESCUE is defined, try that before _PATH_SBIN & _PATH_USRSBIN

Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue May 21 23:51:19 2002 UTC (22 years, 5 months ago) by nathanw
Branches: 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
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 30 21:40:31 2002 UTC (22 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +6 -25 lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 20 20:10:37 2001 UTC (22 years, 10 months ago) by soren
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -5 lines
Sync getopt() / man page with actual getopt options.

Revision 1.47.4.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 16:50:36 2001 UTC (23 years, 8 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Diff to: previous 1.47.4.1: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.4.1: +74 -4 lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 18 06:15:49 2001 UTC (23 years, 8 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +6 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 1 04:10:02 2000 UTC (24 years ago) by enami
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -5 lines
Factor out some function declarations into a header file.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Nov 1 04:06:49 2000 UTC (24 years ago) by enami
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 1 04:01:45 2000 UTC (24 years ago) by enami
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +42 -39 lines
Cosmetic changes.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Oct 30 21:31:50 2000 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +21 -17 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 18 00:39:46 2000 UTC (24 years ago) by tv
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
Pullup sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Oct 11 17:56:05 2000 UTC (24 years, 1 month ago) by abs
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +28 -17 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 10 22:23:25 2000 UTC (24 years, 1 month ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +3 -3 lines
Pull up revision 1.50 (via patch, requested by is):
  Format string cleanup.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Oct 10 20:24:52 2000 UTC (24 years, 1 month ago) by is
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3 lines
Format string cleanups by Bill Sommerfeld.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Oct 2 18:52:47 2000 UTC (24 years, 1 month ago) by abs
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +15 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 18 10:48:24 2000 UTC (24 years, 1 month ago) by abs
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +51 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 27 18:30:26 1999 UTC (24 years, 10 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +8 -3 lines
Pull up to last week's -current.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Nov 16 11:53:17 1999 UTC (24 years, 11 months ago) by enami
Branches: 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
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 15 19:20:58 1999 UTC (24 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +8 -3 lines
Print softdep information. Also print sync+async writes in verbose mode.

Revision 1.45.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 19 13:00:47 1999 UTC (25 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +10 -3 lines
Bring in Kirk McKusick's FFS softdep code on a branch.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Dec 1 23:20:43 1998 UTC (25 years, 11 months ago) by kenh
Branches: 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
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -2 lines
Add support for a new flag: "nodevmtime".  This sets the MNT_NODEVMTIME mount
flag.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Aug 25 19:18:16 1998 UTC (26 years, 2 months ago) by ross
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -3 lines
from Erik Bertelsen <erik@mediator.uni-c.dk>
 { put } { in } { lots } { of } { these } { to } { shut } { up } { egcs }

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Jul 26 20:04:16 1998 UTC (26 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
const poisoning.

Revision 1.32.2.3: download - view: text, markup, annotated - select for diffs
Fri May 8 05:26:13 1998 UTC (26 years, 6 months ago) by mycroft
Branches: 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
Diff to: previous 1.32.2.2: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.2.2: +15 -10 lines
Pull up 1.42, per request of ross.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed May 6 02:36:35 1998 UTC (26 years, 6 months ago) by ross
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +15 -10 lines
Rewrite options and fstype handling for upgrade mounts.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Nov 23 03:53:24 1997 UTC (26 years, 11 months ago) by enami
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -2 lines
Add MNT_SYMPERM to optnames[].

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Nov 5 21:29:33 1997 UTC (27 years ago) by cgd
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +12 -7 lines
lint

Revision 1.32.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 2 00:17:34 1997 UTC (27 years ago) by mellon
Branches: netbsd-1-3
CVS tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Diff to: previous 1.32.2.1: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.2.1: +21 -16 lines
Pull rev 1.36, 1.37, 1.38 and 1.39 up from trunk (drochner)

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Nov 1 18:38:29 1997 UTC (27 years ago) by drochner
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -21 lines
Take out last change (wait for mount_mfs completion).
I changed it in mount_mfs instead.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Nov 1 15:32:06 1997 UTC (27 years ago) by drochner
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +21 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 1 14:21:53 1997 UTC (27 years ago) by drochner
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 1 13:59:00 1997 UTC (27 years ago) by drochner
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +21 -15 lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 31 21:20:38 1997 UTC (27 years ago) by mellon
Branches: netbsd-1-3
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +77 -61 lines
Pull rev 1.33, 1.34 and 1.35 up from trunk (mycroft)

Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Oct 31 09:40:29 1997 UTC (27 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +65 -49 lines
Import modified mangle() from mount(8).
Also rewrite catopt() with a more sane interface.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Oct 29 19:41:24 1997 UTC (27 years ago) by christos
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +7 -4 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 29 18:55:58 1997 UTC (27 years ago) by christos
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +10 -13 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 16 12:22:45 1997 UTC (27 years, 1 month ago) by lukem
Branches: MAIN
CVS tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +37 -78 lines
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 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Sep 16 09:03:20 1997 UTC (27 years, 1 month ago) by lukem
Branches: WFJ-920714, CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +75 -101 lines
imported from lite-2

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Sep 15 04:09:07 1997 UTC (27 years, 2 months ago) by lukem
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
* getopt returns -1 not EOF
* use .Nm correctly

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Jul 30 03:45:27 1997 UTC (27 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +11 -4 lines
When we mount -u and there is no vfstype specified, deduce the vfstype from
statfs.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Jul 4 15:17:57 1997 UTC (27 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +18 -12 lines
Fix warnings.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat May 31 09:27:57 1997 UTC (27 years, 5 months ago) by pk
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
More accurate failure message for unknown filesystem types, as
suggested in PR#1274.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat May 17 19:36:35 1997 UTC (27 years, 5 months ago) by pk
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4 lines
NULL => 0 (Arne Juul; PR#3629)

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Mar 10 03:59:54 1997 UTC (27 years, 8 months ago) by mikel
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -2 lines
add support for MNT_NOATIME; from Lennart Augustsson in PR bin/3304.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Oct 23 22:50:05 1996 UTC (28 years ago) by cgd
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -2 lines
recognize MNT_NOCOREDUMP and print the 'nocoredump' flag for file
systems which have MNT_NOCOREDUMP set.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Nov 18 03:34:29 1995 UTC (28 years, 11 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +24 -13 lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 22 19:58:33 1995 UTC (29 years, 2 months ago) by jtc
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -5 lines
Call mount_ffs instead of mount_ufs; PR #1379

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Jul 12 06:05:04 1995 UTC (29 years, 4 months ago) by cgd
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +15 -12 lines
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 - view: text, markup, annotated - select for diffs
Wed Jul 12 03:45:14 1995 UTC (29 years, 4 months ago) by cgd
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +18 -8 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 4 23:41:33 1995 UTC (29 years, 4 months ago) by ghudson
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3 lines
Give an argument to the warning message for when realpath() fails.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Jun 22 11:16:44 1995 UTC (29 years, 4 months ago) by cgd
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
specify precision, not minimum field width.  pointed out by John Kohl

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Jun 18 10:58:59 1995 UTC (29 years, 4 months ago) by cgd
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -5 lines
don't assume f_fstypename is larger than MFSNAMELEN or is nul-terminated

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun May 28 05:25:34 1995 UTC (29 years, 5 months ago) by jtc
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
sys_siglist[] -> strsignal()

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Mar 18 14:57:02 1995 UTC (29 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -2 lines
convert to new RCS Id conventions; reduce my headache

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jan 30 17:22:42 1995 UTC (29 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +52 -47 lines
Change type list code to match umount(8).

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Dec 18 16:03:02 1994 UTC (29 years, 10 months ago) by cgd
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -2 lines
compile against new headers

Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 29 02:38:01 1994 UTC (30 years, 2 months ago) by mycroft
Branches: netbsd-1-0
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.1: +530 -0 lines
Display type of mount; suggested by Thomas Eberhardt.

Revision 1.13.2.1
Mon Aug 29 02:38:00 1994 UTC (30 years, 2 months ago) by mycroft
Branches: netbsd-1-0
FILE REMOVED
Changes since revision 1.13: +0 -530 lines
file mount.c was added on branch netbsd-1-0 on 1994-08-29 02:38:01 +0000

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Aug 29 02:38:00 1994 UTC (30 years, 2 months ago) by mycroft
Branches: 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
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +10 -10 lines
Display type of mount; suggested by Thomas Eberhardt.

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Jun 13 22:47:56 1994 UTC (30 years, 5 months ago) by mycroft
Branches: WFJ-920714, CSRG
CVS tags: lite-1
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +354 -658 lines
Import 4.4-Lite version.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jun 8 19:02:43 1994 UTC (30 years, 5 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-0-base
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +371 -680 lines
Update from 4.4-Lite, with local changes.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Apr 18 06:15:08 1994 UTC (30 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -4 lines
allow external mount types, even if LETS_GET_SMALL

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Apr 15 00:47:33 1994 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
oops, forgot one

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Apr 14 03:25:14 1994 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +56 -53 lines
fs type names, and much clean

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jan 5 08:32:18 1994 UTC (30 years, 10 months ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +10 -1 lines
update for new (actually old... *sigh*) mount flags

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Dec 5 13:34:51 1993 UTC (30 years, 11 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
should bzero automatic sockaddr's before use

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Sep 7 15:40:25 1993 UTC (31 years, 2 months ago) by ws
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -6 lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 3 01:25:52 1993 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +18 -1 lines
Recognize `noauto' (and `auto', just for symmetry) in fstab.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 1 18:26:27 1993 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Add RCS identifiers.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Mar 23 00:28:52 1993 UTC (31 years, 7 months ago) by cgd
Branches: 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
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1 lines
changed "Id" to "Header" for rcsids

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Mar 22 08:04:00 1993 UTC (31 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -0 lines
added rcs ids to all files

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 7 months ago) by cgd
Branches: WFJ-920714, CSRG
CVS tags: patchkit-0-2-2, WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
initial import of 386bsd-0.1 sources

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 7 months ago) by cgd
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>