summaryrefslogtreecommitdiffstats
path: root/sbin/mount/mount.c
AgeCommit message (Expand)AuthorFilesLines
2019-07-19Adapt to POSIX realpath(3); if it returns NULL, use the mount path as-is.millert1-9/+8
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-4/+4
2017-02-06Postpone pledge call until after the getopt switch and hoist the call totb1-21/+21
2017-01-25Some simple cleanup:tb1-17/+19
2017-01-24whitespacetb1-3/+2
2016-09-10Add a noperm mount flag for FFS to be used for building release setsnatano1-1/+2
2016-09-04strlen + malloc + snprintf == asprintfakfaew1-6/+3
2016-06-26somebody forgot to look at format string warningstedu1-3/+3
2016-06-20Add a bit more verbosity to tmpfs mount(8) output.ajacoutot1-1/+16
2016-05-27W^X violations are no longer permitted by default. A kernel log messagederaadt1-1/+2
2016-05-25remove knowledge of MNT_EXKERBderaadt1-2/+1
2016-05-21Remove the -x flag from mount_msdos and always assume the execute bitnatano1-3/+1
2015-11-23Use pledge "disklabel" as needed. The theory here is these tools become morederaadt1-1/+4
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-4/+5
2014-09-08Delete procfs; it's always had races and is now unused: no one noticed forguenther1-8/+1
2014-07-17Convert a couple calloc()s that were originally malloc()s to reallocarray()s.guenther1-6/+6
2014-07-15add -N to usage()/SYNOPSIS and tweak previous;jmc1-2/+2
2014-07-13Introduce a -N option to mount and a 'net' mount option.claudio1-2/+16
2014-06-24remove the noaccesstime synonym for noatime which was previously added for BSD/OS compatibility.daniel1-2/+1
2013-04-21When mount(1) is run in verbose mode, display f_mntfromspec if it differsjsing1-5/+14
2012-05-29Make 'mount nfssrv:/path' without mount point work again :landry1-4/+3
2011-04-12Make mount work when the special is provided as a DUID.jsing1-2/+4
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'miod1-2/+2
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-15/+1
2009-05-12don't define _KERNEL. Theres no need and its gross.thib1-4/+2
2007-11-17Don't err() out if a fstab line refers to a non-existant mount point.krw1-4/+6
2007-10-16sync the synopsis and usage of commandssobrado1-7/+5
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt1-4/+4
2007-06-01remove crufty adosfs. everytime we try to change a vfs layer interface,deraadt1-11/+2
2006-12-15Nuke GEMDOSFS. Unused part of unused atari port. Simplifieskrw1-4/+2
2006-12-06print readdirplus (rdplus) info for nfs mounts.thib1-2/+4
2006-04-08Memory leak on fork error plus change time variable to preventray1-4/+5
2006-03-12Add the -s flag, meaning: skip mount if the file system isotto1-6/+9
2005-05-26remove traces from union et al; pedro@ ok.fgsch1-3/+3
2005-05-26remove reference to MNT_UNIONpedro1-3/+2
2005-04-08Sync with recent realpath(3) changes: on failure, don't use the secondjaredy1-4/+4
2004-11-13Let mount -a mount mfs systems shadowing a disk partition, if disklabel reportsmiod1-2/+5
2004-09-15print attr cache parameters in verbose mode. ok pedro@ millert@otto1-2/+12
2004-03-16Do not signal mountd when just showing mounts. Fixes PR 3695, althoughotto1-2/+3
2003-10-01free without testderaadt1-4/+3
2003-08-05print info about procfs now that it's there to look attedu1-2/+9
2003-07-29spacesderaadt1-4/+4
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-7/+3
2003-04-20print "direxec" when it's enabled on msdosfs.tedu1-2/+4
2002-11-06- make -u identical with "-o update". The same for -f,-r,-w.gluk1-96/+126
2002-07-03ansideraadt1-33/+19
2002-06-09rm trailing whitespacetodd1-3/+3
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)millert1-4/+4
2002-02-16Part 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.millert1-11/+11
2002-01-18print out the ctime of a mount when verbose; millert@ okmickey1-2/+12