summaryrefslogtreecommitdiffstats
path: root/sbin/mount_msdos (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread;jmc2020-04-231-3/+3
|
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-2/+2
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* add missing AUTHORS; OK sobrado@, also checked by Sevan Janiyanschwarze2016-10-081-2/+12
|
* no more -x;jmc2016-05-212-4/+4
|
* Remove the -x flag from mount_msdos and always assume the execute bitnatano2016-05-212-18/+5
| | | | | | | | | | | for readable directories, while making it subject to the mask option (-m in mount_msdos), so it is still possible to mount with non-executable directories, but with semantics that are easier to comprehend. This makes directory listings with default mount options work again. ok deraadt@
* remove unused variableschl2015-11-021-3/+1
| | | | ok krw@ millert@
* Convert many atoi() calls to strtonum(), adding range checks and failurederaadt2015-04-181-19/+11
| | | | | handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-3/+4
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* Whole bunch of (unsigned char) casts carefully added for ctype calls.deraadt2013-11-221-3/+5
| | | | Careful second audit by millert
* remove some unnecessary sys/cdefs.h inclusionsderaadt2012-12-041-2/+1
|
* Revert previous.krw2012-07-091-5/+1
| | | | | | The standards gpds are jealous gods. kettenis@ and beck@ have shown EROFS is the wrong thing to return. So revert to EACCES until a better error code is decided on.
* Return EROFS when a read-write mount of a read-only sd(4) devicekrw2012-07-081-1/+5
| | | | | | | | | | is attempted. This is instead of the current EACCES and is intended to result in better error messages from mount(8). Tweak default EROFS error text to mention fsck'ing in mount_ext2fs and mount_msdos since they both have fsck's like ffs. ok deraadt@ aja@ ian@ phessler@
* no reason not to let msdosfs mount async, from Alexander Polakovtedu2011-04-041-1/+2
|
* looks like i jumped the gun with the duid stuff; back it outjmc2010-10-141-15/+4
|
* paste in the description of "special"; ok krwjmc2010-10-131-4/+15
|
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-5/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* document fat permissions a little better, based on some notes from martynasjmc2009-08-091-22/+45
| | | | feedback/ok sobrado martynas
* sets modes for dirs; too. ok sobrado@ & jmc@.martynas2009-08-071-4/+4
|
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* remove some bogus *p, from charles longeautedu2007-03-201-4/+4
| | | | ok deraadt millert
* sort options; sync usage;jmc2006-12-152-29/+41
|
* Nuke GEMDOSFS. Unused part of unused atari port. Simplifieskrw2006-12-152-15/+4
| | | | | | | | MSDOSFS code. Eliminates -G option to mount_msdos. Nit detection by gwk@, tom@, jmc@. ok weingart@ tom@ thib@ dlg@ deraadt@
* Sync with recent realpath(3) changes: on failure, don't use the secondjaredy2005-04-081-3/+3
| | | | | | argument "resolved", since it is undefined. ok and help millert, otto
* Document some limitations of the MS-DOS filesystem.tom2005-02-281-2/+13
| | | | | | | Input from yaredy@, krw@, miod@, jmc@, deraadt@. ok for earlier versions todd@, jmc@ ok final version deraadt@
* correct mistake in license clause numbering;jmc2005-02-281-2/+2
| | | | | | same correction applied to netbsd -r1.15; ok millert@ deraadt@
* use realpath() in helpers instead of doing it ourselves every time.tedu2003-07-031-13/+5
| | | | also fixes pr1662. from otto moerbeek
* add documentation from mount(8) that "special" device must correspondjmc2003-07-031-1/+8
| | | | | | | to a partition in the disklabel. suggested by Phil Pennock. ok krw@ millert@
* convert strncat -> strlcatavsm2003-07-021-5/+5
| | | | millert@ ok
* ansificationderaadt2003-06-111-13/+9
|
* support for making directories executable if readable.tedu2003-04-182-4/+10
| | | | | | to use this, you want to run mount_msdos with -m 0644 -x or so. ok millert@
* typos;jmc2003-02-091-2/+2
|
* Missing .Xr's from Margarida Sequeira <niness@devilness.org>.fgsch2002-06-261-3/+3
| | | | Remove unmount(2) per millert suggestion; millert@ ok.
* In mount.h, rename field export -> export_info, to avoid collision with C++.espie2002-04-231-5/+5
| | | | | | | | | | | Synch files that use that field. (This argument is an internal interface specific to OpenBSD, so it won't cause compatibility problems.) (No bump, not an ABI change). ok art, millert...
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-6/+6
|
* o) {Open,Net,Free}BSD -> .{O,N,F}x;mpech2001-08-171-3/+6
| | | | | | | o) "start sentence on new line" issues; o) minimal -mdoc improvements; millert@ ok
* Fix a typo (perfomance -> performance) and lots of section shuffling;aaron2001-06-081-10/+10
| | | | mpech@prosoft.org.lv
* invoked from mount -t ...marc2000-10-191-1/+10
|
* Remove hard sentence breaks, and some other cleanup along the way.aaron2000-03-181-7/+11
|
* grammar police: do not hyphenate compound words that act as adjectives if theaaron1999-05-121-2/+2
| | | | | | first word ends in -ly i.e., fully-qualified, newly-created, globally-visible, etc. are wrong
* if mount fails with EINVAL, say "not an MSDOS filesystem"millert1999-04-201-3/+3
|
* nice error message when mount(2) returns EOPNOTSUPPart1998-12-211-2/+5
|
* always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netaaron1998-12-151-2/+2
|
* kill redundant .Nm macro arguments; other misc fixesaaron1998-11-281-5/+5
|
* msdosfs does FAT32d1998-11-211-6/+1
|
* sbin/ man page fixesaaron1998-09-171-12/+17
|
* $OpenBSD$deraadt1997-09-211-2/+1
|
* Now that mount(2) sets errno to EFTYPE, not EINVAL for "invalid file system"kstailey1997-06-201-6/+3
| | | | we can use NLS for the text, not a hardcode English message.
* getopt(3) returns -1 when out of args, not EOF, whee!millert1997-01-151-3/+3
|
* does noone know how to use strncat correctly?deraadt1996-12-161-4/+4
|
* better error messagesderaadt1996-12-091-4/+22
|