CVS log for src/sbin/mount_ptyfs/mount_ptyfs.c
Up to [cvs.NetBSD.org] / src / sbin / mount_ptyfs
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Jul 26 08:20:23 2020 UTC (4 years, 9 months ago) by mlelstv
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
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,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
HEAD
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -8
lines
Refactor remaining mount_* commands to use the common pathadj()
function for resolving paths.
Make pathadj() no longer warn about symlinks. Symlinks in /dev are
regularly used in several places like LVM . The warning was also
only visible when calling a mount_* command directly as mount(8)
itself would resolve the path witout warning before passing it to
a mount_* command.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Sep 5 01:09:57 2016 UTC (8 years, 7 months ago) by sevan
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,
localcount-20160914,
is-mlppp-base,
is-mlppp,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -3
lines
Drop main() prototype.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Feb 21 22:51:29 2016 UTC (9 years, 2 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -2
lines
Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems.
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:00:49 2012 UTC (12 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +12 -13
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.12.6.1: download - view: text, markup, annotated - select for diffs
Thu Nov 1 16:44:57 2012 UTC (12 years, 5 months ago) by matt
Branches: matt-nb6-plus
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +6 -16
lines
sync with netbsd-6-0-RELEASE.
Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 18:59:30 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.1: +12 -13
lines
sync with head
Revision 1.12.4.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 17:35:05 2012 UTC (12 years, 6 months ago) by riz
Branches: netbsd-6
CVS tags: 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-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,
matt-nb6-plus-nbase,
matt-nb6-plus-base
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +6 -16
lines
Pull up following revision(s) (requested by christos in ticket #566):
sbin/mount_ptyfs/mount_ptyfs.8: revision 1.11
sbin/mount_ptyfs/mount_ptyfs.8: revision 1.12
sys/fs/ptyfs/ptyfs.h: revision 1.9
sbin/mount_ptyfs/mount_ptyfs.c: revision 1.14
sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.43
sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.44
Does not make sense to mount this as NFS, so it is not a bug.
We can now mount multiple instances, but all of them show all the ptys.
let us get mounted multiple times.
remove -c and chroot option; they are always on now
Always do the chroot filename mapping; it is pointless not to do it.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Sep 20 18:56:05 2012 UTC (12 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
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,
agc-symver-base,
agc-symver
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +11 -3
lines
add back old options for compatibility, but complain if specified.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Sep 18 21:35:43 2012 UTC (12 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -15
lines
remove -c and chroot option; they are always on now
Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:41 2012 UTC (13 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -3
lines
sync with head
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Apr 2 21:08:02 2012 UTC (13 years ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4
Branch point for: tls-maxphys
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -3
lines
don't print 2 lines of info, remove the bogus one.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Aug 29 14:35:02 2011 UTC (13 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-0-RC2,
netbsd-6-0-RC1
Branch point for: yamt-pagecache,
netbsd-6,
matt-nb6-plus
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3
lines
Use __dead
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat May 21 20:05:02 2011 UTC (13 years, 11 months ago) by riastradh
Branches: MAIN
CVS tags: cherry-xenmp-base,
cherry-xenmp
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -5
lines
Make `mount_ptyfs -c' actually work.
The ALTF_* are bit masks, not indices, so use 4, not 3, for the one
after 2. Use 0x on all the values to emphasize this.
ok rmind
Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:19:03 2009 UTC (15 years, 11 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +21 -7
lines
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Mar 15 16:47:45 2009 UTC (16 years, 1 month ago) by christos
Branches: MAIN
CVS tags: matt-premerge-20091211,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jym-xensuspend-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +21 -7
lines
Allow ptyfs to be mounted inside a chrooted environment.
Revision 1.8.12.1: download - view: text, markup, annotated - select for diffs
Sun Sep 28 11:17:13 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +4 -4
lines
Sync with HEAD.
Revision 1.8.16.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:28:28 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +4 -4
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jul 20 01:20:22 2008 UTC (16 years, 9 months ago) by lukem
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2
Branch point for: jym-xensuspend
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4
lines
Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jul 16 17:06:54 2007 UTC (17 years, 9 months ago) by pooka
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.7: preferred, colored
Changes since revision 1.7: +3 -3
lines
Make all mount(2) return value error checks against -1. Some file
systems just checked != 0, breaking MNT_GETARGS. Others worked with < 0,
but make them check against -1 too for consistency. And sprinkle some
stylish line wrapping where appropriate.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jul 14 15:57:26 2007 UTC (17 years, 9 months ago) by dsl
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3
lines
Add additional 'sizeof args' parameter to mount(2).
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Oct 16 03:37:43 2006 UTC (18 years, 6 months 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.5: preferred, colored
Changes since revision 1.5: +3 -3
lines
use MOPT_NULL
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Mar 21 21:11:42 2006 UTC (19 years, 1 month ago) by christos
Branches: MAIN
CVS tags: abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -2
lines
Always check the results of getmntopts() and free them.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jan 31 05:19:19 2005 UTC (20 years, 3 months ago) by erh
Branches: MAIN
CVS tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +12 -4
lines
Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to
device nodes into absolute paths before using them.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Nov 27 05:52:16 2004 UTC (20 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3
lines
Add a missing =
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Nov 24 22:13:08 2004 UTC (20 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +67 -8
lines
Add arguments for ptyfs: slave tty group and mode, so we don't have to
hard-code them in the kernel.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Nov 11 01:42:17 2004 UTC (20 years, 5 months ago) by christos
Branches: MAIN
Add userland glue for ptyfs.
CVSweb <webmaster@jp.NetBSD.org>