Home | History | Annotate | only in /src/sbin/mount_cd9660
History log of /src/sbin/mount_cd9660
RevisionDateAuthorComments
 1.13 02-Feb-2024  christos PR/57897: Ricardo Branco: Add support for mount options mask,dirmask,uid,gid
 1.12 05-Aug-2008  pooka 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
 1.11 27-Jun-2005  christos branches: 1.11.20; 1.11.24;
Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
 1.10 05-Feb-2005  xtraeme Kill __P(), use ANSI function declarations; WARNS=3.
 1.9 22-Mar-2003  jdolecek move getmntopts(3) to libutil, build and install also it's manpage
bump libutil minor
adjust individual mount_*/Makefile to use libutil getmntopts(3)
 1.8 21-Sep-2002  christos MNT_GETARGS support
 1.7 19-Aug-2002  lukem Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
 1.6 10-Oct-1997  christos CFLAGS->CPPFLAGS
 1.5 08-May-1997  gwr Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
 1.4 06-May-1997  gwr Use .PATH.c: ...
 1.3 18-Mar-1995  cgd convert to new RCS Id conventions; reduce my headache
 1.2 22-Dec-1994  cgd specify man pages the new way.
 1.1 08-Jun-1994  mycroft branches: 1.1.1;
Update from 4.4-Lite, with local changes.
 1.1.1.1 13-Jun-1994  mycroft Import 4.4-Lite version.
 1.11.24.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.11.20.1 28-Sep-2008  mjf Sync with HEAD.
 1.33 03-Feb-2024  wiz Sort options in man page.
 1.32 02-Feb-2024  christos PR/57897: Ricardo Branco: Add support for mount options mask,dirmask,uid,gid
 1.31 30-Jun-2018  sevan vnconfig name is retained for backwards compatibility. Use vndconfig.

Heads up by <tsutsui>
 1.30 29-Jun-2018  sevan Note vnconfig(8) may be of interest, especially when looking to mount an iso via
loopback.
 1.29 07-Jun-2017  abhinav branches: 1.29.4; 1.29.6;
s/filesystem/file system/
 1.28 03-Jan-2009  christos document nocasetrans.
 1.27 02-May-2008  martin Move TNF licenses to 2 clause form
 1.26 27-Dec-2005  reinoud branches: 1.26.20; 1.26.22;
Fix obvious typo in the man page of mount_cd9660:

-The behaviour is cotrollable by the
+The behaviour is controllable by the
 1.25 24-Jun-2005  hubertf it is iso8859, not 8869
 1.24 29-Mar-2005  hubertf Xref mscdlabel(8) - it may be useful. Bump date.
 1.23 31-Jan-2005  erh branches: 1.23.2;
Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to
device nodes into absolute paths before using them.
 1.22 22-Nov-2004  wiz New sentence, new line.
 1.21 21-Nov-2004  jdolecek update for UTF-8 encoding of Unicode file names on Joliet filesystems
 1.20 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22308, verified by myself.
 1.19 18-Apr-2003  wiz This command is not normally executed at boot time.
Closes PR 21225 by Aidan Kehoe.
 1.18 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.17 01-Oct-2002  wiz New sentence, new line. By Robert Elz with minimal fixes.
 1.16 16-Nov-2001  wiz Sort sections, use standard section headers.
 1.15 05-Jun-2001  wiz Drop arguments of .Os.
 1.14 09-Jan-2001  augustss Document what can happen with bad Rock Ridge info on the CD.
(Perhaps this can save someone the two hours I spent in the kernel
debugger tracking this down. :)
 1.13 16-Jul-2000  jdolecek note addition of rrcaseins in history
 1.12 15-Jul-2000  jdolecek Add an option to do case-insensitive lookups even on Rock-Ridge CD-ROMS.
Add 'rrcaseins' option to mount_cd9660(8).

This addresses kern/2419 by Jason Downs.
 1.11 15-Jul-2000  jdolecek add extatt, gens, nojoliet, norrip options - names taken from FreeBSD
add nrr as an alias for norrip, for compatibility with Solaris
retire -e, -g, -j, -r: they are still recognized and handled, but are
not listed in mount_cd9660's SYNOPSIS and are documented as
obsolete in mount_cd9660(8)
update history for joliet support and nomaplcase option
 1.10 14-Jun-2000  cgd branches: 1.10.2;
fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well. No functional changes.
 1.9 27-May-2000  jdolecek Add new mount option nomaplcase (name taken from Solaris) - if set, file
names read from non-Rock Ridge cdroms won't be translated to lower case.
This is functionally similar to -g flag, but the version numbers on files
are still stripped.
 1.8 13-Jul-1999  scw branches: 1.8.6;
From PR-7951 by Joachim Kuebart:

Add support for Microsoft Joliet long filename extensions to the
cd9660 filesystem.
 1.7 07-Mar-1999  mycroft Clean up SYNOPSIS formatting.
 1.6 06-Feb-1998  perry macroize BSD, NetBSD, FreeBSD and misc cleanup
 1.5 05-Dec-1997  ws Clarify handling of option -g and names of files without a Rockridge name
on CDs that otherwise do have Rockridge extensions.
The latter should really be handled differently in the code.
 1.4 15-Sep-1997  lukem branches: 1.4.2;
* update for WARNS=1
* getopt returns -1 not EOF
* fix .Nm usage
 1.3 23-Apr-1995  cgd slightly clean rcs ids, etc.
 1.2 18-Mar-1995  cgd convert to new RCS Id conventions; reduce my headache
 1.1 08-Jun-1994  mycroft branches: 1.1.1;
Update from 4.4-Lite, with local changes.
 1.1.1.1 13-Jun-1994  mycroft Import 4.4-Lite version.
 1.4.2.1 09-Dec-1997  thorpej Sync w/ trunk: better documentation of "-g" option. (ws)
 1.8.6.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.10.2.3 16-Jul-2000  jdolecek note addition of rrcaseins in history too
 1.10.2.2 16-Jul-2000  jdolecek pullup from trunk (approved by thorpej):
Add an option to do case-insensitive lookups even on Rock-Ridge CD-ROMS.
Add 'rrcaseins' option to mount_cd9660(8).

This addresses kern/2419 by Jason Downs.
 1.10.2.1 15-Jul-2000  jdolecek update from trunk (approved by thorpej):
add extatt, gens, nojoliet, norrip options - names taken from FreeBSD
add nrr as an alias for norrip, for compatibility with Solaris
retire -e, -g, -j, -r: they are still recognized and handled, but are
not listed in mount_cd9660's SYNOPSIS and are documented as
obsolete in mount_cd9660(8)
update history for joliet support and nomaplcase option
 1.23.2.1 30-Jul-2005  tron Pull up revision 1.25 (requested by hubertf in ticket #620):
it is iso8859, not 8869
 1.26.22.1 18-May-2008  yamt sync with head.
 1.26.20.2 17-Jan-2009  mjf Sync with HEAD.
 1.26.20.1 02-Jun-2008  mjf Sync with HEAD.
 1.29.6.1 10-Jun-2019  christos Sync with HEAD
 1.29.4.1 28-Jul-2018  pgoyette Sync with HEAD
 1.35 03-Feb-2024  wiz sync usage with man page
 1.34 02-Feb-2024  christos PR/57897: Ricardo Branco: Add support for mount options mask,dirmask,uid,gid
 1.33 16-Oct-2022  rillig mount_cd9660: remove unhandled option -i from getopt

Found by lint. While here, fix the other lint warning as well, as lint
still doesn't know that exit(3) doesn't return normally.
 1.32 29-Aug-2011  joerg Use __dead
 1.31 07-Oct-2009  pooka fspec: dev -> canon_dev
 1.30 03-Jan-2009  christos when using getargs, don't set read-only otherwise it fails with EINVAL.
 1.29 03-Jan-2009  christos reset args. Add casetrans
 1.28 05-Aug-2008  pooka 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
 1.27 20-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)
 1.26 16-Jul-2007  pooka branches: 1.26.12; 1.26.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.25 14-Jul-2007  dsl Add additional 'sizeof args' parameter to mount(2).
 1.24 16-Oct-2006  christos use MOPT_NULL
 1.23 16-Oct-2006  christos c99 initializer
 1.22 21-Mar-2006  christos Always check the results of getmntopts() and free them.
 1.21 23-Sep-2005  jmmv Apply the NFS exports list rototill patch:

- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
file sys/nfs/nfs_export.c. The former was becoming large and its code
is always compiled, regardless of the build options. Using the latter,
the code is only compiled in when NFSSERVER is enabled. While doing this,
also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
path and a set of export entries. At the moment it can only clear the
exports list or append entries, one by one, but it is done in a way that
allows setting the whole set of entries atomically in the future (see the
comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
that it becomes file system agnostic. In fact, all this whole thing was
done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
exports initialization; done internally by the kernel when initializing
the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
subsystems can run arbitrary code upon receipt of specific VFS events.
At the moment, this only provides support for unmount and is used to
destroy NFS exports lists from the file systems being unmounted, though it
has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
 1.20 05-Feb-2005  xtraeme Kill __P(), use ANSI function declarations; WARNS=3.
 1.19 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.18 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22308, verified by myself.
 1.17 22-Mar-2003  jdolecek use <> rather than "" for #include mntopts.h
 1.16 06-Jan-2003  wiz writable, not writeable.
 1.15 21-Sep-2002  christos MNT_GETARGS support
 1.14 30-Oct-2000  jdolecek make the code includable into other programs:
* make static all symbols which do not need to be exported
* rename main() to mount_FOO()
* new main() now just calls mount_FOO(), main() is only compiled in if
MOUNT_NOMAIN is not defined
* a_gid(), a_uid() and a_mask() were put into ../mount/fattr.[ch], local
versions removed
 1.13 15-Jul-2000  jdolecek Add an option to do case-insensitive lookups even on Rock-Ridge CD-ROMS.
Add 'rrcaseins' option to mount_cd9660(8).

This addresses kern/2419 by Jason Downs.
 1.12 15-Jul-2000  jdolecek add extatt, gens, nojoliet, norrip options - names taken from FreeBSD
add nrr as an alias for norrip, for compatibility with Solaris
retire -e, -g, -j, -r: they are still recognized and handled, but are
not listed in mount_cd9660's SYNOPSIS and are documented as
obsolete in mount_cd9660(8)
update history for joliet support and nomaplcase option
 1.11 27-May-2000  jdolecek branches: 1.11.2;
Add new mount option nomaplcase (name taken from Solaris) - if set, file
names read from non-Rock Ridge cdroms won't be translated to lower case.
This is functionally similar to -g flag, but the version numbers on files
are still stripped.
 1.10 21-Nov-1999  mjl branches: 1.10.2;
Make usage message match actual options.
 1.9 13-Jul-1999  scw branches: 1.9.4;
From PR-7951 by Joachim Kuebart:

Add support for Microsoft Joliet long filename extensions to the
cd9660 filesystem.
 1.8 25-Jun-1999  perseant Regularize error reporting of mount_* commands for failure of mount(2)
to the form:

mount_xxx: dev on dir: reason for failure
 1.7 28-May-1999  mjl Remove non-existant option -t from usage.
 1.6 01-Mar-1998  fvdl branches: 1.6.2;
Merge with Lite2 + local changes
 1.5 16-Sep-1997  lukem resolve conflicts from lite-2 merge
 1.4 15-Sep-1997  lukem * update for WARNS=1
* getopt returns -1 not EOF
* fix .Nm usage
 1.3 13-Apr-1996  jtc Add const qualifier to mopts table
 1.2 18-Mar-1995  cgd convert to new RCS Id conventions; reduce my headache
 1.1 08-Jun-1994  mycroft branches: 1.1.1;
Update from 4.4-Lite, with local changes.
 1.1.1.2 16-Sep-1997  lukem imported from lite-2
 1.1.1.1 13-Jun-1994  mycroft Import 4.4-Lite version.
 1.6.2.1 05-Sep-1999  he Pull up revision 1.8:
Regularize error reporting of mount_* commands for failure of
mount(2) to the form "mount_xxx: dev on dir: reason for failure"
(as opposed to the old "mount_xxx: : reason for failure").
(perseant)
 1.9.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.10.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.11.2.2 16-Jul-2000  jdolecek pullup from trunk (approved by thorpej):
Add an option to do case-insensitive lookups even on Rock-Ridge CD-ROMS.
Add 'rrcaseins' option to mount_cd9660(8).

This addresses kern/2419 by Jason Downs.
 1.11.2.1 15-Jul-2000  jdolecek update from trunk (approved by thorpej):
add extatt, gens, nojoliet, norrip options - names taken from FreeBSD
add nrr as an alias for norrip, for compatibility with Solaris
retire -e, -g, -j, -r: they are still recognized and handled, but are
not listed in mount_cd9660's SYNOPSIS and are documented as
obsolete in mount_cd9660(8)
update history for joliet support and nomaplcase option
 1.26.16.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.26.12.2 17-Jan-2009  mjf Sync with HEAD.
 1.26.12.1 28-Sep-2008  mjf Sync with HEAD.
 1.1 05-Aug-2008  pooka branches: 1.1.2; 1.1.4;
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
 1.1.4.2 28-Sep-2008  mjf Sync with HEAD.
 1.1.4.1 05-Aug-2008  mjf file mount_cd9660.h was added on branch mjf-devfs2 on 2008-09-28 11:17:12 +0000
 1.1.2.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.1.2.1 05-Aug-2008  wrstuden file mount_cd9660.h was added on branch wrstuden-revivesa on 2008-09-18 04:28:26 +0000

RSS XML Feed