History log of /src/sbin/mount_ptyfs |
Revision | Date | Author | Comments |
1.6 | 26-Jul-2020 |
mlelstv | 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.
|
1.5 | 14-Jun-2010 |
pooka | naughty naughty, don't peek into src/sys
|
1.4 | 25-Nov-2004 |
wiz | Remove "CFLAGS+=-g".
|
1.3 | 24-Nov-2004 |
christos | Add arguments for ptyfs: slave tty group and mode, so we don't have to hard-code them in the kernel.
|
1.2 | 11-Nov-2004 |
jdolecek | add -I${NETBSDSRCDIR}/sys into CPPFLAGS, so that this picks up necessary kernel includes without need to have them installed
|
1.1 | 11-Nov-2004 |
christos | Add userland glue for ptyfs.
|
1.14 | 13-Aug-2014 |
hannken | Adapt to reality -- already open BSD style nodes do not appear on ptyfs mounts (this changed some months ago).
|
1.13 | 04-Apr-2014 |
christos | branches: 1.13.4; the bug has been fixed.
|
1.12 | 19-Sep-2012 |
christos | 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.
|
1.11 | 18-Sep-2012 |
christos | remove -c and chroot option; they are always on now
|
1.10 | 09-Sep-2012 |
wiz | branches: 1.10.2; Bump date for previous.
|
1.9 | 09-Sep-2012 |
dholland | ptyfs hasn't been experimental in a long time. (noticed by blymn)
|
1.8 | 18-Mar-2009 |
wiz | branches: 1.8.6; 1.8.8; 1.8.10; Drop trailing whitespace.
|
1.7 | 15-Mar-2009 |
christos | Allow ptyfs to be mounted inside a chrooted environment.
|
1.6 | 30-Apr-2008 |
martin | branches: 1.6.6; Convert TNF licenses to new 2 clause variant
|
1.5 | 31-Jan-2005 |
erh | branches: 1.5.26; 1.5.28; Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to device nodes into absolute paths before using them.
|
1.4 | 24-Nov-2004 |
christos | Add arguments for ptyfs: slave tty group and mode, so we don't have to hard-code them in the kernel.
|
1.3 | 11-Nov-2004 |
christos | Add a license; thanks manu.
|
1.2 | 11-Nov-2004 |
wiz | Nit fixes.
|
1.1 | 11-Nov-2004 |
christos | Add userland glue for ptyfs.
|
1.5.28.1 | 18-May-2008 |
yamt | sync with head.
|
1.5.26.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.6.6.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.8.10.1 | 01-Nov-2012 |
matt | sync with netbsd-6-0-RELEASE.
|
1.8.8.2 | 01-Oct-2012 |
riz | 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.
|
1.8.8.1 | 13-Sep-2012 |
riz | Pull up following revision(s) (requested by dholland in ticket #552): sbin/mount_ptyfs/mount_ptyfs.8: revision 1.9 sbin/mount_ptyfs/mount_ptyfs.8: revision 1.10 ptyfs hasn't been experimental in a long time. (noticed by blymn) Bump date for previous.
|
1.8.6.2 | 22-May-2014 |
yamt | 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")
|
1.8.6.1 | 30-Oct-2012 |
yamt | sync with head
|
1.10.2.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.10.2.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.13.4.1 | 17-Aug-2014 |
riz | Pull up following revision(s) (requested by hannken in ticket #29): sbin/mount_ptyfs/mount_ptyfs.8: revision 1.14 sys/fs/ptyfs/ptyfs_vnops.c: revision 1.48 sys/fs/ptyfs/ptyfs_vnops.c: revision 1.49 sys/fs/ptyfs/ptyfs_subr.c: revision 1.30 sys/fs/ptyfs/ptyfs_subr.c: revision 1.31 sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.51 sys/fs/ptyfs/ptyfs_subr.c: revision 1.32 sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.52 sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.53 sys/fs/ptyfs/ptyfs.h: revision 1.13 sys/fs/ptyfs/ptyfs.h: revision 1.14 Needs HASH_SLIST, not HASH_LIST. Change ptyfs to vcache. - Use (type, minor) as key. - Change ptyfs_allocvp to return a referenced vnode and lock where needed. - Remove unneeded vnode backpointer ptyfs_vnode. - Keep a single hashlist for pty nodes to make their attributes persistent. OK: Christos Zoulas Overflow if *data_len == OSIZE and args->version >= PTYFS_ARGSVERSION. Sent on tech-kern@, ok christos@ Adapt to reality -- already open BSD style nodes do not appear on ptyfs mounts (this changed some months ago). - Add a map of active controlling ptys per mount and no longer abuse the vnode lifecycle. - No longer set "recycle" on VOP_INACTIVE(). - Make ptyfs_used_get() private to ptyfs_subr.c - Stop copying device attributes from traditional ptys on first allocation. - Remove unneeded argument "lwp" from ptyfs_allocvp() and ptyfs_free_get(). OK: Christos Zoulas
|
1.18 | 26-Jul-2020 |
mlelstv | 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.
|
1.17 | 05-Sep-2016 |
sevan | Drop main() prototype.
|
1.16 | 21-Feb-2016 |
christos | Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems.
|
1.15 | 20-Sep-2012 |
christos | add back old options for compatibility, but complain if specified.
|
1.14 | 18-Sep-2012 |
christos | remove -c and chroot option; they are always on now
|
1.13 | 02-Apr-2012 |
christos | branches: 1.13.2; don't print 2 lines of info, remove the bogus one.
|
1.12 | 29-Aug-2011 |
joerg | branches: 1.12.2; 1.12.4; 1.12.6; Use __dead
|
1.11 | 21-May-2011 |
riastradh | 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
|
1.10 | 15-Mar-2009 |
christos | Allow ptyfs to be mounted inside a chrooted environment.
|
1.9 | 20-Jul-2008 |
lukem | branches: 1.9.4; Remove the \n and tabs from the __COPYRIGHT() strings. (Tweak some to use a consistent format.)
|
1.8 | 16-Jul-2007 |
pooka | branches: 1.8.12; 1.8.16; 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.
|
1.7 | 14-Jul-2007 |
dsl | Add additional 'sizeof args' parameter to mount(2).
|
1.6 | 16-Oct-2006 |
christos | use MOPT_NULL
|
1.5 | 21-Mar-2006 |
christos | Always check the results of getmntopts() and free them.
|
1.4 | 31-Jan-2005 |
erh | Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to device nodes into absolute paths before using them.
|
1.3 | 27-Nov-2004 |
christos | Add a missing =
|
1.2 | 24-Nov-2004 |
christos | Add arguments for ptyfs: slave tty group and mode, so we don't have to hard-code them in the kernel.
|
1.1 | 11-Nov-2004 |
christos | Add userland glue for ptyfs.
|
1.8.16.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.8.12.1 | 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.9.4.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.12.6.1 | 01-Nov-2012 |
matt | sync with netbsd-6-0-RELEASE.
|
1.12.4.1 | 01-Oct-2012 |
riz | 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.
|
1.12.2.2 | 30-Oct-2012 |
yamt | sync with head
|
1.12.2.1 | 17-Apr-2012 |
yamt | sync with head
|
1.13.2.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|