Home | History | Annotate | Download | only in mount_ntfs
History log of /src/sbin/mount_ntfs/mount_ntfs.c
RevisionDateAuthorComments
 1.22  14-Sep-2009  pooka Set fspec to canon_dev instead of dev.
 1.21  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.20  15-Dec-2007  perry branches: 1.20.4; 1.20.8;
convert __attribute__s to applicable cdefs.h macros
 1.19  16-Jul-2007  pooka branches: 1.19.4; 1.19.6;
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.18  14-Jul-2007  dsl Add additional 'sizeof args' parameter to mount(2).
 1.17  10-Mar-2007  hubertf - removes unused ctype.h header
- correct comment in mount_nfs/getnfsargs.c: s/Nead/Need/

From: Slava Semushin <php-coder@altlinux.ru>
 1.16  17-Jan-2007  hubertf Remove more duplicate #includes,
from Slava Semushin <slava.semushin@gmail.com>
 1.15  16-Oct-2006  christos use MOPT_NULL
 1.14  21-Mar-2006  christos Always check the results of getmntopts() and free them.
 1.13  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.12  05-Feb-2005  xtraeme Kill __P(), use ANSI function declarations; WARNS=3.
 1.11  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.10  02-Aug-2003  jdolecek g/c all traces of FreeBSD-specific code - it only obfuscated the code without
any real benefit
 1.9  03-May-2003  christos print masks and modes in octal.
 1.8  22-Mar-2003  jdolecek use <> rather than "" for #include mntopts.h
 1.7  01-Oct-2002  itojun minor KNF
 1.6  21-Sep-2002  christos MNT_GETARGS support
 1.5  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.4  14-Jun-2000  cgd fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well. No functional changes.
 1.3  25-Jun-1999  perseant branches: 1.3.6;
Regularize error reporting of mount_* commands for failure of mount(2)
to the form:

mount_xxx: dev on dir: reason for failure
 1.2  06-May-1999  christos Make this compile...
 1.1  06-May-1999  christos branches: 1.1.1;
Initial revision
 1.1.1.1  06-May-1999  christos Import yesterday's FreeBSD mount_ntfs source
 1.3.6.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.19.6.1  27-Dec-2007  mjf Sync with HEAD.
 1.19.4.1  09-Jan-2008  matt sync with HEAD
 1.20.8.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.20.4.1  28-Sep-2008  mjf Sync with HEAD.

RSS XML Feed