summaryrefslogtreecommitdiff
path: root/sbin/mount/mount.c
AgeCommit message (Expand)Author
2020-12-11pass down the `skip' flag to the mountfs() function in the case ofRobert Nagy
2019-07-19Adapt to POSIX realpath(3); if it returns NULL, use the mount path as-is.Todd C. Miller
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2017-02-06Postpone pledge call until after the getopt switch and hoist the call toTheo Buehler
2017-01-25Some simple cleanup:Theo Buehler
2017-01-24whitespaceTheo Buehler
2016-09-10Add a noperm mount flag for FFS to be used for building release setsMartin Natano
2016-09-04strlen + malloc + snprintf == asprintfMichal Mazurek
2016-06-26somebody forgot to look at format string warningsTed Unangst
2016-06-20Add a bit more verbosity to tmpfs mount(8) output.Antoine Jacoutot
2016-05-27W^X violations are no longer permitted by default. A kernel log messageTheo de Raadt
2016-05-25remove knowledge of MNT_EXKERBTheo de Raadt
2016-05-21Remove the -x flag from mount_msdos and always assume the execute bitMartin Natano
2015-11-23Use pledge "disklabel" as needed. The theory here is these tools become moreTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-09-08Delete procfs; it's always had races and is now unused: no one noticed forPhilip Guenther
2014-07-17Convert a couple calloc()s that were originally malloc()s to reallocarray()s.Philip Guenther
2014-07-15add -N to usage()/SYNOPSIS and tweak previous;Jason McIntyre
2014-07-13Introduce a -N option to mount and a 'net' mount option.Claudio Jeker
2014-06-24remove the noaccesstime synonym for noatime which was previously added for BS...Daniel Dickman
2013-04-21When mount(1) is run in verbose mode, display f_mntfromspec if it differsJoel Sing
2012-05-29Make 'mount nfssrv:/path' without mount point work again :Landry Breuil
2011-04-12Make mount work when the special is provided as a DUID.Joel Sing
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'Miod Vallat
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-05-12don't define _KERNEL. Theres no need and its gross.Thordur I. Bjornsson
2007-11-17Don't err() out if a fstab line refers to a non-existant mount point.Kenneth R Westerback
2007-10-16sync the synopsis and usage of commandsIgor Sobrado
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-06-01remove crufty adosfs. everytime we try to change a vfs layer interface,Theo de Raadt
2006-12-15Nuke GEMDOSFS. Unused part of unused atari port. SimplifiesKenneth R Westerback
2006-12-06print readdirplus (rdplus) info for nfs mounts.Thordur I. Bjornsson
2006-04-08Memory leak on fork error plus change time variable to preventRay Lai
2006-03-12Add the -s flag, meaning: skip mount if the file system isOtto Moerbeek
2005-05-26remove traces from union et al; pedro@ ok.Federico G. Schwindt
2005-05-26remove reference to MNT_UNIONPedro Martelletto
2005-04-08Sync with recent realpath(3) changes: on failure, don't use the secondJared Yanovich
2004-11-13Let mount -a mount mfs systems shadowing a disk partition, if disklabel reportsMiod Vallat
2004-09-15print attr cache parameters in verbose mode. ok pedro@ millert@Otto Moerbeek
2004-03-16Do not signal mountd when just showing mounts. Fixes PR 3695, althoughOtto Moerbeek
2003-10-01free without testTheo de Raadt
2003-08-05print info about procfs now that it's there to look atTed Unangst
2003-07-29spacesTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-20print "direxec" when it's enabled on msdosfs.Ted Unangst
2002-11-06- make -u identical with "-o update". The same for -f,-r,-w.Grigoriy Orlov
2002-07-03ansiTheo de Raadt
2002-06-09rm trailing whitespaceTodd T. Fries
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained o...Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller