Christian Brueffer
ca001f0b39
Unbreak mount_udf by passing the correct iovec length into
...
nmount(). This has been broken since r247856.
PR: bin/186193
Submitted by: Arnot Belohlavek
MFC after: 1 week
2014-02-04 21:15:15 +00:00
Jung-uk Kim
067041766e
Use build_iovec() to make it less cryptic. This also fixes warnings.
2013-03-06 00:36:33 +00:00
Jung-uk Kim
7039dfb32f
GC unused variables. Prefer NULL over 0 for pointers.
2013-03-05 22:41:35 +00:00
Jaakko Heinonen
d325001438
Change checkpath() to not exit on error. This is a prerequisite for
...
fixing the mount(8) "failok" option.
PR: 163668
Reviewed by: Garrett Cooper, delphij (previous version)
2012-01-16 19:34:21 +00:00
Ed Schouten
1efe3c6b58
Add missing static keywords for global variables to tools in sbin/.
...
These tools declare global variables without using the static keyword,
even though their use is limited to a single C-file, or without placing
an extern declaration of them in the proper header file.
2011-11-04 13:36:02 +00:00
Stefan Farfeleder
6d04d8201d
style.Makefile(5): Remove -Wall from CFLAGS.
2006-07-17 20:53:25 +00:00
Xin LI
46b7a14ba4
Use MOPT_END in favor of MOPT_NULL, which better describes the purporse
...
of the macro.
2005-06-10 09:51:43 +00:00
Xin LI
73ac45052f
Add a handy macro to represent null mount option, MOPT_NULL, and make
...
use of the macro in sbin/mount*'s, by replacing:
mopts[] = {
MOPT_STDOPTS,
{ NULL }
}
With:
mopts[] = {
MOPT_STDOPTS,
MOPT_NULL
}
This change will help to reduce the situation that we don't explicitly
initialize "struct mntopt"'s. It should not contribute to any
functional/logical changes as far as I can tell.
2005-06-01 09:39:36 +00:00
Ruslan Ermilov
8d646af581
Sync program's usage() with manpage's SYNOPSIS.
2005-02-10 09:19:34 +00:00
Ruslan Ermilov
83c7ade90a
NOSHARED -> NO_SHARED
2004-12-21 09:59:45 +00:00
Mark Murray
4c723140a4
Remove advertising clause from University of California Regent's license,
...
per letter dated July 22, 1999.
Approved by: core, imp
2004-04-09 19:58:40 +00:00
Johan Karlsson
604d24db95
style.Makefile(5):
...
Use WARNS?= instead of WARNS=.
2004-02-23 20:25:27 +00:00
Max Khon
0f4e4130e1
Make msdosfs long filenames matching case insensitive again.
...
PR: 59765
Submitted by: Ryuichiro Imura <imura@ryu16.org>
2003-12-08 08:32:20 +00:00
Alexander Kabaev
cc639d5589
Correct iov_len values passed to nmount(2) syscall. More accurate
...
parameter checking introduced in vfs_mount.c r1.113 rejects them
otherwise.
Submitted by: R. Imura <imura at ryu16 dot org>
Approved by: re (scottl,rwatson)
2003-11-24 16:14:32 +00:00
Scott Long
cc2c948fb5
Add support for multibyte character conversions.
...
Submitted by: imura@ryu16.org
2003-11-05 06:21:45 +00:00
Tom Rhodes
6643a19c79
mount_udf(8) is currently not in 4.X, so obviously it did not first appear
...
in 4.6
PR: 46117
Submitted by: Ryuichiro Imura <imura@ryu16.org>
Approved by: re (bmah)
2002-12-12 05:56:36 +00:00
Tom Rhodes
ce66ddb763
s/filesystem/file system/g as discussed on -developers
2002-08-21 18:11:48 +00:00
Maxime Henrion
eddb9a0d78
Don't depend on namespace pollution in sys/mount.h and
...
include sys/uio.h.
2002-08-13 16:07:39 +00:00
Maxime Henrion
526ba6d32b
Now that the kernel is able to load modules itself,
...
remove all the code which was trying to do so.
This code was nasty in several ways, it was hiding
the kernel bug where the kernel was unable to properly
load a module, and it was quitting if it wasn't able
to load the module. The consequence is that an ABI
breakage of the vfsconf API would have broken *every*
mount utility.
2002-08-03 16:03:21 +00:00
Maxime Henrion
c3210a83c0
Convert UDF to nmount.
...
Reviewed by: scottl
2002-06-15 22:40:13 +00:00
Ruslan Ermilov
ee148739ad
mdoc(7) police: nits.
2002-05-30 12:20:49 +00:00
Jeroen Ruigrok van der Werven
7d4eb6135b
Sync with UDF p4 tree: Properly initialize part of the mntopts.
...
Move to WARNS=1.
2002-04-15 20:16:48 +00:00
Scott Long
51a7b740a1
Actually add the UDF files!
2002-04-14 16:52:14 +00:00