summaryrefslogtreecommitdiffstats
path: root/sbin/mount_msdosfs
Commit message (Collapse)AuthorAgeFilesLines
* MFC r314655:ngie2017-05-301-1/+1
| | | | | | bin: normalize paths using SRCTOP-relative paths or :H when possible This simplifies make logic/output
* MFC r306276, but don't remove findwin95asomers2016-10-211-8/+1
| | | | | | | Mount msdosfs with longnames support by default. The old behavior depended on the FAT version and on what files were in the root directory. "mount_msdosfs -o shortnames" is still supported.
* MFC r306611:sevan2016-10-101-13/+24
| | | | | | | | | | | | | | Amend history to mention predecessor originated from 386BSD[1] & current implementation from NetBSD[2]. Reword history since the utility was renamed once more in FreeBSD 5.0. Separate out author & historical information regarding character code conversion. Add AUTHORS section. [1] https://groups.google.com/forum/#!search/mount_pcfs.c/comp.unix.bsd/9qhH0v1tZm0/inlPnXZj_2sJ [2] http://cvsweb.netbsd.org/bsdweb.cgi/src/sbin/mount_msdos/mount_msdos.c?rev=1.6&content-type=text/x-cvsweb-markup PR: 212536 Approved by: bcr (mentor) Differential Revision: https://reviews.freebsd.org/D8105
* Explicitly add more files to the 'runtime' package.gjb2016-02-091-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* Add META_MODE support.sjg2015-06-131-0/+20
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-2/+1
| |\ | |/ |/|
| * Merge head from 7/28sjg2014-08-191-2/+2
| |\
| * | Updated dependenciessjg2014-05-161-1/+0
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Merge head@256284sjg2013-10-131-5/+5
| |\ \
| * \ \ sync from headsjg2013-04-121-4/+3
| |\ \ \
| * | | | Updated dependenciessjg2013-03-111-0/+1
| | | | |
| * | | | Updated dependenciessjg2013-02-161-2/+0
| | | | |
| * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+21
| | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | Convert sbin/ to LIBADDbapt2014-11-251-2/+1
| |_|_|/ |/| | | | | | | | | | | Reduce overlinking
* | | | use .Mt to mark up email addresses consistently (part1)bapt2014-06-201-2/+2
| |_|/ |/| | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* | | Sweep man pages replacing ad -> ada.pluknet2013-10-011-5/+5
| |/ |/| | | | | | | | | Approved by: re (blackend) MFC after: 1 week X-MFC note: stable/9 only
* | GC unused variables. Prefer NULL over 0 for pointers.jkim2013-03-051-4/+3
|/
* Change checkpath() to not exit on error. This is a prerequisite forjh2012-01-161-1/+2
| | | | | | | fixing the mount(8) "failok" option. PR: 163668 Reviewed by: Garrett Cooper, delphij (previous version)
* mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to theuqs2010-05-131-6/+6
| | | | | | | | | | | bottom of the manpages and order them consistently. GNU groff doesn't care about the ordering, and doesn't even mention CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put them. Found by: mdocml lint run Reviewed by: ru
* Remove reference to the bug in FreeBSD 2.0.kib2010-01-021-8/+0
| | | | | Submitted by: Valentin Nechayev <netch segfault kiev ua> MFC after: 3 days
* ANSIfy almost all applications that use WARNS=6.ed2009-12-291-7/+4
| | | | | | | I was considering committing all these patches one by one, but as discussed with brooks@, there is no need to do this. If we ever need/want to merge these changes back, it is still possible to do this per application.
* Switch the default WARNS level for sbin/ to 6.ru2009-10-191-1/+0
| | | | Submitted by: Ulrich Spörlein
* Add missing qualifier which was missed in the previous commit.trhodes2009-01-051-1/+1
| | | | Noticed by: brooks
* Document the "-o large" option.trhodes2008-12-231-1/+6
| | | | PR: 129792
* Noticed the following error message:imp2008-11-291-2/+6
| | | | | | | | | | | | mount_msdosfs: /dev/cf0s1: : Operation not supported by device and thought I'd fix it to be: mount_msdosfs: /dev/cf0s1: Operation not supported by device Not sure why errmsg isn't getting filled in, or why this error is even happening at all... (fsck_msdosfs is clean, and I can mount this same CF elsewhere).
* Pass "errmsg" to nmount(), so that if nmount() fails, we can getrodrigc2007-01-291-1/+3
| | | | strings provided by vfs_mount_error().
* mount_msdosfs.c:rodrigc2006-06-011-10/+0
| | | | | | | | | | | | | | - remove call to getmntopts(), and just pass -o options to nmount(). This removes some confusion as to what options msdosfs can parse, by pushing the responsibility of option parsing to the VFS and FS specific code in the kernel. msdosfs_vfsops.c: - add "force" and "sync" to msdosfs_opts. They used to be specified in mount_msdosfs.c, so move them here. It's not clear whethere these options should be placed into global_opts in vfs_mount.c or not. Motivated by: marcus
* Fixing yet another regression introduced in rev1.37 by preserving cs_localavatar2005-12-011-0/+1
| | | | | | | pointer such that local to DOS code page conversion with combined option '-L,-D' works again. Reviewed by: rodrigc
* It turns out that set_charset() invokes build_iovec_argf() which modifiesavatar2005-11-251-6/+6
| | | | | | | | | | | | | iov address internally through realloc(3). However, since the function parameter wasn't designed to allow the modified iov being passed back to the caller, we ended up feeding iov with several corrupted entries(this depends on how many arguments were pushed into iovec before set_charset()) to nmount(2). This commit fixes this regression introduced in rev1.37 such that mount_msdosfs(8) with code page conversion option(-W,-D) enabled works again. Reviewed by: rodrigc
* - Adding the missing 'W' option back which was accidentally removedavatar2005-11-231-2/+2
| | | | | | | | in rev1.37. - Fixing a core dump inside build_iovec_argf by providing a !NULL format string to vsnprintf(3). Reviewed by: rodrigc
* o Style: restore tab indentation mangled in the previous delta.maxim2005-11-141-5/+5
|
* Increase WARNS level to 6.rodrigc2005-11-131-1/+1
|
* Convert mount_msdosfs to use nmount().rodrigc2005-11-131-98/+76
|
* Xref msdosfs(5)joel2005-09-141-0/+1
| | | | Approved by: brueffer (mentor)
* Use MOPT_END in favor of MOPT_NULL, which better describes the purporsedelphij2005-06-101-1/+1
| | | | of the macro.
* Add a handy macro to represent null mount option, MOPT_NULL, and makedelphij2005-06-011-1/+1
| | | | | | | | | | | | | | | | | | | 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.
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-101-12/+8
|
* NOSHARED -> NO_SHAREDru2004-12-211-1/+1
|
* Correct a style bug: remove a gratuitous space between ( and ".trhodes2004-08-311-1/+1
| | | | Ok'ed by: fjoe
* Remove support for gemdos, John removed it from the driver awhile ago.trhodes2004-07-081-8/+0
| | | | Glanced at by: jhb
* Assorted markup, grammar, and spelling fixes.ru2004-05-171-14/+19
|
* Make msdosfs long filenames matching case insensitive again.fjoe2003-12-081-8/+2
| | | | | PR: 59765 Submitted by: Ryuichiro Imura <imura@ryu16.org>
* Fix several old bugs which got worse over time:trhodes2003-10-233-9/+10
| | | | | | | | | | o WARNS should be WARNS?= (broke in rev 1.21). o Includes should be sorted. o Move "mntopt.h" out of the standard includes section. o Rewrite usage() to match the manual page and make it < 80 characters. o Remove extra .El call on line 187. It is unused and causes mdoc(7) warnings. Discussed with: bde
* Move prototypes into their function.trhodes2003-10-221-3/+1
|
* Make WARNS=2 build without error.trhodes2003-10-222-2/+2
|
* Add back the commas ',' in usage to avoid a garbled usage message.trhodes2003-10-221-2/+2
| | | | They were erroneously removed in revision 1.27.
* Describe '-M' in usage().fjoe2003-10-111-5/+7
| | | | | PR: 57462 Submitted by: Ryuichiro Imura <imura@ryu16.org>
* - Support for multibyte charsets in LIBICONV.fjoe2003-09-267-366/+141
| | | | | | | | - CD9660_ICONV, NTFS_ICONV and MSDOSFS_ICONV kernel options (with corresponding modules). - kiconv(3) for loadable charset conversion tables support. Submitted by: Ryuichiro Imura <imura@ryu16.org>
OpenPOWER on IntegriCloud