aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Move mount.conf(8) to mount.conf(5); it's a kernel configuration fileEdward Tomasz Napierala2017-05-281-1/+1
| | | | | | | | | and not an administrative utility. MFC after: 2 weeks Notes: svn path=/head/; revision=319079
* Explicitly add more files to the 'runtime' package.Glen Barber2016-02-091-0/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295450
* Convert sbin/ to LIBADDBaptiste Daroussin2014-11-251-2/+1
| | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275030
* In this GRN, Marcel Moolenaar overhauled the logic for mountingCraig Rodrigues2013-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | | the root file system on bootup: |------------------------------------------------------------------------ |r214006 | marcel | 2010-10-17 22:01:53 -0700 (Sun, 17 Oct 2010) | 20 lines | | Re-implement the root mount logic using a recursive approach, whereby each |root file system (starting with devfs and a synthesized configuration) can |contain directives for mounting another file system as root. |------------------------------------------------------------------------ This commit adds a mount.conf(8) man page which documents the root mount logic. mount.conf(8) also provides some examples for the /.mount.conf file, which can be used to change the root mount behavior. Reviewed by: marcel bjk Notes: svn path=/head/; revision=253433
* Switch the default WARNS level for sbin/ to 6.Ruslan Ermilov2009-10-191-1/+0
| | | | | | | Submitted by: Ulrich Spörlein Notes: svn path=/head/; revision=198236
* Use pidfile(3) API to restart mountd(8) on success mount.Pawel Jakub Dawidek2007-02-021-0/+3
| | | | | | | | This why we won't kill random process if there is a stale PID in /var/run/mountd.pid. Notes: svn path=/head/; revision=166439
* Remove UFS-specific parts from mount(8).Craig Rodrigues2005-11-231-1/+1
| | | | | | | | For mounting UFS, all mount options are passed directly to nmount(), without any UFS-specific logic. Notes: svn path=/head/; revision=152738
* - Minor fixes to raise WARNS level to 6.Craig Rodrigues2005-11-121-2/+2
| | | | | | | | | | | | | | | | | - Teach the mount program to call the nmount() syscall directly - Preserve existing method of calling mount() for UFS, until we clean things up. - Preserve existing method of forking and calling external mount programs for mfs, msdosfs, nfs, nfs4, ntfs, nwfs, nullfs, portalfs, reiserfs, smbfs, udf, umapfs, unionfs - devfs, linprocfs, procfs, ext2fs call nmount() syscall directly, since that is all those external mount programs were doing Reviewed by: phk Discussed on: arch Notes: svn path=/head/; revision=152344
* Bump WARNS up to 3.Craig Rodrigues2005-10-071-1/+1
| | | | Notes: svn path=/head/; revision=151044
* The previous change to mount(8) to report ufs or ufs2 usedBosko Milekic2004-04-261-2/+0
| | | | | | | | | | | | | | libufs, which only works for Charlie root. This change reverts the introduction of libufs and moves the check into the kernel. Since the f_fstypename is the same for both ufs and ufs2, we check fs_magic for presence of ufs2 and copy "ufs2" explicitly instead. Submitted by: Christian S.J. Peron <maneo@bsdpro.com> Notes: svn path=/head/; revision=128658
* Report the difference between ufs and ufs2.Greg Lehey2004-02-171-0/+2
| | | | | | | Submitted by: "Christian S.J. Peron" <maneo@bsdpro.com> Notes: svn path=/head/; revision=125933
* style.Makefile: Add a '?' before '=' in WARNS.Tom Rhodes2003-10-261-1/+1
| | | | Notes: svn path=/head/; revision=121520
* Default to WARNS=2.David E. O'Brien2001-12-041-0/+1
| | | | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87325
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74815
* Set the default manual section for sbin/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74531
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Removed ROOTSLICE_HUNT. The root device is now found better byBruce Evans1999-01-091-4/+1
| | | | | | | | | | getvfsent() in most cases. (The main exception is when /etc/fstab still hasn't been converted to use a slice for the root device, the root device is a SCSI device, and the /dev/sd* inode for this device still hasn't been renamed to /dev/da*.) Notes: svn path=/head/; revision=42438
* If we are mounting the root filesystem, and we're accessing it throughMike Smith1998-03-081-1/+4
| | | | | | | | | | | | | | | | | something that might refer to the compatability slice rather than the correct slice entry, try all the possible slice entries first. This is a compatability hack to deal with the case where the kernel has correctly mounted the root filesystem out of its slice, but the user has not updated their /etc/fstab file to reflect this. A diagnostic is emitted if the mount succeeds, indicating that the file should be updated. This is a prelude to fixing the kernel to behave as alluded to above. Reviewed by: (discussed with) julian, phk Notes: svn path=/head/; revision=34304
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowBruce Evans1998-01-201-2/+1
| | | | | | | the default. Notes: svn path=/head/; revision=32645
* Backed out previous commit - don't clobber the (normally equivalent)Bruce Evans1997-08-251-2/+1
| | | | | | | default for NOSHARED. Notes: svn path=/head/; revision=28734
* Try to avoid mounting filesystems multiple times. Also whileSteve Price1997-08-241-0/+2
| | | | | | | | | | I'm here do some -Wall cleaning. PR: kern/1839 Reviewed and corrected by: joerg Notes: svn path=/head/; revision=28671
* Merge from Lite2Peter Wemm1997-03-111-2/+3
| | | | | | | | | | - use new getvfsbyname() interface and mount(2) interface **DANGER WILL ROBINSON!!** You must be running a -current kernel from within a week or so in order for this to work! Notes: svn path=/head/; revision=23678
* Convert to our man installation style. Also fixed long-standing bugGarrett Wollman1994-08-051-1/+1
| | | | | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message. Notes: svn path=/head/; revision=1855
* BSD 4.4 Lite sbin SourcesRodney W. Grimes1994-05-261-0/+8
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin. Notes: svn path=/head/; revision=1558