summaryrefslogtreecommitdiffstats
path: root/sbin/mount_msdosfs
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Use ${LIBDATADIR} instead of hardcoding /usr/libdata into thesheldonh2000-08-011-1/+1
| | | | | | | ${TABDIR} path. PR: 17945 Submitted by: Benno Rice <benno@netizen.com.au>
* Don't call err with no format string.kris2000-07-101-1/+1
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-2/+4
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Adjust paths after repository copy.bde2000-01-141-1/+1
|
* Add Latin2 conversion tableache2000-01-082-1/+59
| | | | Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
* Allow #-comments in conversion table fileache2000-01-084-19/+63
|
* mount* fixes from Martin Blapp <mb@imp.ch>:phk1999-10-091-13/+11
| | | | | | | | | | | | | | | | | Made mount more userfriendly (bad slashes are now filtered out) and we remove in mount_nfs trailing slashes if there are any. Fixed mount_xxx binarys to resolve with realpath(3) the mountpoint. Translate the deprecated nfs-syntax with '@' to ':' . The ':' syntax has now precedence, but '@' still works. Notify the user that the '@' syntax should not be used. PR: 7846 PR: 13692 Submitted by: Martin Blapp <mb@imp.ch> Reviewed by: phk
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* This lets you specify "gemdosfs", "shortnames", "longnames", andjkh1999-06-182-4/+21
| | | | | | | | | | | | | "nowin95" as arguments to the "-o" flag, as alternatives to "-G", "-s", "-l", and "-9"; when running "mount_msdos" by hand, that doesn't let you do anything you couldn't already do, but if you're letting "mount" run it, it lets you specify those options, which is especially useful if, for example, you have an entry in "/etc/fstab" for some file system, with "noauto" set, so you can conveniently mount a DOS partition from a removable drive and force it to treat the file system as VFAT rather than boring old FAT. Submitted by: Guy Harris <guy@netapp.com>
* Update to match rev. 1.28 of msdosfs_lookup.c.dt1999-01-111-11/+2
|
* Split usage string.charnier1998-06-302-8/+14
|
OpenPOWER on IntegriCloud