summaryrefslogtreecommitdiff
path: root/sbin/mount
AgeCommit message (Collapse)Author
2013-04-21When mount(1) is run in verbose mode, display f_mntfromspec if it differsJoel Sing
from f_mntfromname. ok krw@
2012-08-23remove unneccessary .Pp;Jason McIntyre
2012-08-23get rid of mount_nnpfsTheo de Raadt
2012-05-29Make 'mount nfssrv:/path' without mount point work again :Landry Breuil
- dont error out in realpath() check if argv contains @ or : (ie, is a nfs remote path) - relax getfsspec() call so that it succeeds for nfs remote paths too, not only for duid devices. Now we behave like Linux & FreeBSD (at least).. Prompted by a diff from giovanni@ for xfce4-mount ok jsing@ krw@
2011-04-12Make mount work when the special is provided as a DUID.Joel Sing
Diff from Alexander Polakov. ok phessler@
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'Miod Vallat
for chars.
2011-04-05Remove portalfs.Thordur I. Bjornsson
While it is a terribly cool idea, it's just awful and since noone has stepped up to the plate to keep it up with the current vop state, retire it to the attic. ok krw@, deraadt@, guenther@, miod@. comments from jmc@
2010-09-28document disklabel uids and move a little text to improve readability; theJason McIntyre
duid text was supplied by krw ...after much discussion with jsing and krw ok krw
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
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
2009-06-04xfs -> nnpfs;Jason McIntyre
2009-05-12don't define _KERNEL. Theres no need and its gross.Thordur I. Bjornsson
2008-11-14when describing options that can be passed to mount:Jason McIntyre
- keep the examples in this page and fstab(5) in sync - give an equivalent fstab(5) entry to show how options are specified these changes are necessary because of the differing ways we pass options to mount. while here, zap some .Tn ok otto
2007-11-17Don't err() out if a fstab line refers to a non-existant mount point.Kenneth R Westerback
Just print an error message and allow processing to continue. This fixes 'mount -a' so it mounts all the filesystems it can rather than skipping all fstab entries after a non-existant mount point. This also brings us more into line with NetBSD and FreeBSD behaviour. ok deraadt@ jsing@ millert@
2007-11-09FFS_SOFTUPDATES:Jason McIntyre
- no need to document needing a config option when it is already enabled by default in GENERIC - move to format similar to "async" - grammar tweak whilst here agreed by miod (i think) ok millert
2007-11-05- clarify the descriptions of "sync" and "async"Jason McIntyre
- "async" and "softdep" are mutually exclusive (from simon) - change the "no" example to sth potentially less confusing (and safer) some feedback from millert ok simon
2007-10-16sync the synopsis and usage of commandsIgor Sobrado
ok jmc@
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
adosfs has the issue and in an entirely different way. noone uses this code so this is hte best way to handle the problem diff from pedro who went to sleep but we need to move ahead; ok thib
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-26+.Xr mount_vnd 8 ,Jason McIntyre
2007-05-12remove references to mount_vnd.8 and fsck_vnd.8 as these are not hookedFelix Kronlage
into the build yet. ok jmc@
2007-04-14introduce {fsck,mount}_vnd tools to be able to describe vnd imagesAlexander von Gernler
in /etc/fstab instead of using some weird homegrown scripts. No support for boot time mounting yet, so "noauto" is still needed. original idea from david@ help and discussion todd@ bluhm@ beck@, manpage help jmc@ ok simon@ tedu@ bluhm@ todd@, "looks good" thib@
2007-02-20sort the -o options; from Igor SobradoJason McIntyre
2006-12-15Nuke GEMDOSFS. Unused part of unused atari port. SimplifiesKenneth R Westerback
MSDOSFS code. Eliminates -G option to mount_msdos. Nit detection by gwk@, tom@, jmc@. ok weingart@ tom@ thib@ dlg@ deraadt@
2006-12-06print readdirplus (rdplus) info for nfs mounts.Thordur I. Bjornsson
ok pedro@
2006-09-30Clear errno before calling the strtol functions.Ray Lai
From Paul Stoeber <x0001 at x dot de1 dot cc>. OK deraadt@.
2006-04-08Memory leak on fork error plus change time variable to preventRay Lai
shadowing time(3) function. From NetBSD from Coverity CID 1688. OK jaredy@ and moritz@
2006-03-16typo.Alexandre Anriot
ok otto@
2006-03-12Add the -s flag, meaning: skip mount if the file system isOtto Moerbeek
already mounted. This flag is very handy when mounting mfs partitions. The -s flag will be used in an upcoming etc/rc diff. ok henning@ deraadt@
2005-12-06Remove fdescfsPedro Martelletto
2005-11-24Remove kernfs, okay deraadt@.Pedro Martelletto
2005-06-27document `noauto' option;Jason McIntyre
ok millert@
2005-06-10add Xr to mount_udf(8);Jason McIntyre
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
argument "resolved", since it is undefined. ok and help millert, otto
2005-03-12add descriptions of examples;Jason McIntyre
ok otto@
2005-03-11Document 'no' mechanism for mount options; with lots of help fromOtto Moerbeek
jmc@
2004-11-13Let mount -a mount mfs systems shadowing a disk partition, if disklabel reportsMiod Vallat
the partition type as ffs. Makes people's life easier on platforms where disklabel does not record partition types and hardcodes values for them, such as sparc and sparc64. ok otto@
2004-09-15print attr cache parameters in verbose mode. ok pedro@ millert@Otto Moerbeek
2004-07-05userquota and groupquota _optionally_ have a value.Otto Moerbeek
ok pedro@ millert@
2004-06-22Rewrite of getmntopts(), making it more robust and getting rid ofOtto Moerbeek
the mount_nfs alternative implementation of the same function. Joint work with millert@. Fixes PR 3642. ok pedro@ millert@
2004-05-18Backout changes accidentally committed in prvious commit.Otto Moerbeek
2004-05-18Trailers are really wonders of the past. Remove them from man page andOtto Moerbeek
usage. ok millert@
2004-05-09does not need to link getmntopts.c itselfTheo de Raadt
2004-03-16Do not signal mountd when just showing mounts. Fixes PR 3695, althoughOtto Moerbeek
mountd may still act on out of date mount info. ok cedric@ millert@ deraadt@
2004-01-02fix mount_mfs example: -N is only an option for newfs not mount_mfsDavid Krause
also use a real device name like sd0b ok millert@ jmc@
2003-10-01note that for user mounts special should be -rw user, and node owned by user;Jason McIntyre
from a thread on misc@ ok tedu@
2003-10-01free without testTheo de Raadt
2003-09-26.Xr mount_ntfs;Jason McIntyre