| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
requires that errors are passed to the caller.
PR: 163668
Reviewed by: Garrett Cooper
|
|
|
|
|
|
|
|
| |
- Remove unneeded sysexits.h include.
No functional change.
Submitted by: bde
|
|
|
|
|
|
|
| |
fixing the mount(8) "failok" option.
PR: 163668
Reviewed by: Garrett Cooper, delphij (previous version)
|
|
|
|
|
|
| |
These tools declare global variables without using the static keyword,
even though their use is limited to a single C-file, or without placing
an extern declaration of them in the proper header file.
|
|
|
|
|
|
|
|
|
| |
options don't leak over into subsequent mounts listed in /etc/fstab.
While here, fix a memory leak in debug mode.
Reported by: rank1seeker @ gmail
Approved by: re (kib)
MFC after: 1 week
|
|
|
|
|
|
|
| |
is set so that mount can revert back to using MNT_NOWAIT when doing
getmntinfo.
Approved by: re (kib)
|
|
|
|
|
|
|
|
|
| |
so that it is visible to userland programs. This change enables
the `mount' command with no arguments to be able to show if a
filesystem is mounted using journaled soft updates as opposed
to just normal soft updates.
Approved by: re (bz)
|
|
|
|
|
|
|
|
|
| |
the system to proceed to boot without bailing out into single user mode,
even when the file system can not be successfully mounted.
This option is implemented in mount(8) and not passed into kernel.
MFC after: 1 month
|
|
|
|
|
|
| |
PR: docs/157389
Submitted by: Warren Block <wblock wonkity.com>
MFC after: 1 week
|
|
|
|
|
|
|
| |
NFS clients done by r221124.
This is a content change.
Submitted by: jh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NFS client (which I guess is no longer experimental). The fstype "newnfs"
is now "nfs" and the regular/old NFS client is now fstype "oldnfs".
Although mounts via fstype "nfs" will usually work without userland
changes, an updated mount_nfs(8) binary is needed for kernels built with
"options NFSCL" but not "options NFSCLIENT". Updated mount_nfs(8) and
mount(8) binaries are needed to do mounts for fstype "oldnfs".
The GENERIC kernel configs have been changed to use options
NFSCL and NFSD (the new client and server) instead of NFSCLIENT and NFSSERVER.
For kernels being used on diskless NFS root systems, "options NFSCL"
must be in the kernel config.
Discussed on freebsd-fs@.
|
| |
|
| |
|
|
|
|
|
| |
is in accordance with the information at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
|
|
|
|
|
|
| |
Drop reference to it in mount(8).
MFC: 3 days
|
|
|
|
|
|
|
|
|
| |
fstab(5) format requires that one of "rw", "rq" or "ro" is always
specified.
PR: bin/123021
Reviewed by: keramida, rodrigc
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
| |
mount(8): add xref to devfs(5)
devfs(5): change example to something more likely to be useful (it is not
necessary to mount a devfs on /dev manually, but for chroots/jails it is
often needed), mention since when devfs is preferred to device nodes on ufs
PR: 146600
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
| |
bottom of the manpages and order them consistently.
GNU groff doesn't care about the ordering, and doesn't even mention
CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put
them.
Found by: mdocml lint run
Reviewed by: ru
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We'll start noticing this with the next flag introduced as the lower
32bit are all used.
As this is old code we might need to do a full tree sweep one day, unless
changing our strategy to use a different `API' for getting/setting flags
along with the rest of the statfs data.
While here compare to 0 explicitly [1].
Suggested by: kib [1]
Reviewed by: kib
MFC after: 5 days
|
|
|
|
| |
- Add newnfs.
|
|
|
|
|
|
|
| |
I was considering committing all these patches one by one, but as
discussed with brooks@, there is no need to do this. If we ever
need/want to merge these changes back, it is still possible to do this
per application.
|
|
|
|
| |
Reviewed by: rwatson
|
| |
|
|
|
|
| |
Submitted by: Ulrich Spörlein
|
|
|
|
|
|
|
|
|
| |
does. This is not POLA violation, because there is no single file system in the
base that use MNT_IGNORE currently, although ZFS snapshots will be mounted with
MNT_IGNORE after next commit.
Reviewed by: kib
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
| |
experimental client is used when the fstype is "newnfs" or the "nfsv4"
option is specified. It includes the addition of the option:
gssname - to specify a client side initiator host based principal name
which is specific to NFSv4.
It also includes a change to mount.c, so that it knows about
mount_newnfs, but not mount_nfs4.
Reviewed by: dfr
Approved by: kib (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
an alternative program to be used for mounting a file system.
Ideally, all file systems
should be converted to pass string arguments to nmount(), so that
/sbin/mount can handle them. However, certain file systems such as FUSE have
not done this, and want to have their own userland mount programs.
For example, to mount an NTFS file system with the FUSE NTFS driver:
mount -t ntfs -o mountprog=/usr/local/bin/ntfs-3g /dev/acd0 /mnt
or via an fstab entry:
/dev/acd0 /mnt ntfs ro,noauto,mountprog=/usr/local/bin/ntfs-3g 0 0
PR: 120784
Requested by: Dominic Fandrey
|
|
|
|
| |
Fix that. Also move the current buffer size into the 'cpa' structure.
|
|
|
|
|
|
| |
Also fix RCSid spamage.
Inspired by patch from: Christoph Mallon <christoph.mallon@gmx.de>
|
|
|
|
| |
Reviewed by: imp (earlier version of patch)
|
| |
|
|
|
|
| |
overflow.
|
|
|
|
|
|
|
| |
overflown our internal buffer (though after the fact), and s/strncpy/strlcpy/
Reviewed by: rodrigc
Obtained from: Juniper Networks
|
|
|
|
|
|
|
| |
mount_fs.
PR: bin/125154
MFC after: 1 day
|
| |
|
|
|
|
|
|
| |
Reported and proof-readed by: pho
Discussed with: rodrigc
MFC after: 3 days
|
|
|
|
|
|
| |
file system may be passed using -o.
Approved by: remko, rodrigc
|
|
|
|
|
|
|
|
| |
lines down to '-o below'.
Approved by: remko
Noticed by: rodrigc
Pointyhat by: me
|
|
|
|
|
|
| |
mount_unionfs(8).
Approved by: remko
|
|
|
|
|
| |
ignored if this variable is non-zero, which is quite logical given the
variable's name.
|
|
|
|
|
|
| |
PR: bin/120162
Submitted by: Niki Denev
MFC after: 1 week
|
|
|
|
|
| |
PR: bin/75585
MFC after: 1 week
|
|
|
|
| |
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
| |
and it is seriously broken.
Discussed on: freebsd-arch@
Approved by: re (mux)
|
| |
|
|
|
|
|
|
|
|
|
| |
"-t msdosfs". The conversion has been happening since 1.43, but
no equivalent conversion happens in "umount -t", which led to some
confusion with some users.
PR: 79296
Submitted by: Nobuhiro Yasutomi <nobuhiro yasutomi nifty ne jp>
|
|
|
|
|
| |
This why we won't kill random process if there is a stale PID in
/var/run/mountd.pid.
|
|
|
|
|
|
|
| |
For filesystems which use vfs_mount_error() to log an error, this
char buffer will be populated with a string error message.
If nmount() fails, in addition to printing out strerror(errno),
print out the "errmsg" populated by vfs_mount_error().
|