summaryrefslogtreecommitdiffstats
path: root/sbin/mount_msdosfs
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Add a '-M mask' option so that users can have differenttrhodes2003-08-122-5/+34
| | | | | | | | | | | masks for files and directories. This should make some of the Midnight Commander users happy. Remove an extra ')' in the manual page. PR: 35699 Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru> (original version) Tested by: simon
* PR: docs/53688bms2003-08-091-8/+10
| | | | | Submitted by: bms Approved by: jake (mentor)
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-211-21/+21
|
* Now that the kernel is able to load modules itself,mux2002-08-031-13/+2
| | | | | | | | | | 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.
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-291-1/+1
| | | | | | for a long time now. Approved by: bde
* s/${INSTALL} -c/${INSTALL} ${COPY}/ru2002-07-181-1/+1
|
* The .Nm utilitycharnier2002-07-061-1/+1
|
* more file system > filesystemtrhodes2002-05-161-12/+12
|
* o __P removedimp2002-03-211-6/+6
| | | | o main prototype removed
* Default to WARNS=2.obrien2001-12-041-0/+2
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Fix decode tableache2001-11-231-5/+5
| | | | | PR: 32233 Submitted by: Basileios Anastasatos <B.Anastasatos@MyRealBox.com>
* Add Greek conversion tableache2001-11-202-1/+61
| | | | | PR: 32119 Submitted by: Basileios Anastasatos <B.Anastasatos@MyRealBox.com>
* Add KOI8-U tablesache2001-07-282-1/+61
| | | | Submitted by: Olexander Kunytsa <kunia@istc.kiev.ua>
* - VFS_SET(msdos) -> VFS_SET(msdosfs)ru2001-06-013-12/+12
| | | | | | - msdos.ko -> msdosfs.ko - mount_msdos(8) -> mount_msdosfs(8) - "msdos" -> "msdosfs" compatibility glue in mount(8)
* - sys/msdosfs moved to sys/fs/msdosfsru2001-05-251-1/+1
| | | | | - msdos.ko renamed to msdosfs.ko - /usr/include/msdosfs moved to /usr/include/fs/msdosfs
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+0
|
OpenPOWER on IntegriCloud