| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=213298
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=208647
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=208027
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=204840
|
|
|
|
|
|
|
| |
- Add newnfs.
Notes:
svn path=/head/; revision=203757
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=201227
|
|
|
|
|
|
|
| |
Reviewed by: rwatson
Notes:
svn path=/head/; revision=200796
|
|
|
|
| |
Notes:
svn path=/head/; revision=199182
|
|
|
|
|
|
|
| |
Submitted by: Ulrich Spörlein
Notes:
svn path=/head/; revision=198236
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=197200
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=192930
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=189397
|
|
|
|
|
|
|
| |
Fix that. Also move the current buffer size into the 'cpa' structure.
Notes:
svn path=/head/; revision=187130
|
|
|
|
|
|
|
|
|
| |
Also fix RCSid spamage.
Inspired by patch from: Christoph Mallon <christoph.mallon@gmx.de>
Notes:
svn path=/head/; revision=187093
|
|
|
|
|
|
|
| |
Reviewed by: imp (earlier version of patch)
Notes:
svn path=/head/; revision=187035
|
|
|
|
| |
Notes:
svn path=/head/; revision=186505
|
|
|
|
|
|
|
| |
overflow.
Notes:
svn path=/head/; revision=186504
|
|
|
|
|
|
|
|
|
|
| |
overflown our internal buffer (though after the fact), and s/strncpy/strlcpy/
Reviewed by: rodrigc
Obtained from: Juniper Networks
Notes:
svn path=/head/; revision=186291
|
|
|
|
|
|
|
|
|
|
| |
mount_fs.
PR: bin/125154
MFC after: 1 day
Notes:
svn path=/head/; revision=182570
|
|
|
|
| |
Notes:
svn path=/head/; revision=179514
|
|
|
|
|
|
|
|
|
| |
Reported and proof-readed by: pho
Discussed with: rodrigc
MFC after: 3 days
Notes:
svn path=/head/; revision=179513
|
|
|
|
|
|
|
|
|
| |
file system may be passed using -o.
Approved by: remko, rodrigc
Notes:
svn path=/head/; revision=177076
|
|
|
|
|
|
|
|
|
|
|
| |
lines down to '-o below'.
Approved by: remko
Noticed by: rodrigc
Pointyhat by: me
Notes:
svn path=/head/; revision=177038
|
|
|
|
|
|
|
|
|
| |
mount_unionfs(8).
Approved by: remko
Notes:
svn path=/head/; revision=177035
|
|
|
|
|
|
|
|
| |
ignored if this variable is non-zero, which is quite logical given the
variable's name.
Notes:
svn path=/head/; revision=176370
|
|
|
|
|
|
|
|
|
| |
PR: bin/120162
Submitted by: Niki Denev
MFC after: 1 week
Notes:
svn path=/head/; revision=175964
|
|
|
|
|
|
|
|
| |
PR: bin/75585
MFC after: 1 week
Notes:
svn path=/head/; revision=175949
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=173994
|
|
|
|
| |
Notes:
svn path=/head/; revision=172788
|
|
|
|
|
|
|
|
|
|
| |
and it is seriously broken.
Discussed on: freebsd-arch@
Approved by: re (mux)
Notes:
svn path=/head/; revision=171023
|
|
|
|
| |
Notes:
svn path=/head/; revision=168698
|
|
|
|
|
|
|
|
|
|
|
|
| |
"-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>
Notes:
svn path=/head/; revision=166526
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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().
Notes:
svn path=/head/; revision=164977
|
|
|
|
|
|
|
|
|
|
| |
we exec an external mount program, or just call nmount()
to mount a filesystem.
Noticed by: kris
Notes:
svn path=/head/; revision=164266
|
|
|
|
|
|
|
|
|
|
| |
MNT_GJOURNAL flag is not a mount-time flag, but it is needed to show
'gjournal' option in mount(8) output.
Sponsored by: home.pl
Notes:
svn path=/head/; revision=163843
|
|
|
|
| |
Notes:
svn path=/head/; revision=163672
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in /etc/fstab.
This has been happening due to the priority inversion; options
specified on the command line should take precedence over options
from fstab over default "noro" option, but since both the default
"noro" and options specified on the command line (-w, -r, -o ...)
were put into the same "options" variable, "noro" took precedence
over fstab "ro" (this is easily visible with "mount -d").
PR: bin/100164
Notes:
svn path=/head/; revision=163671
|
|
|
|
| |
Notes:
svn path=/head/; revision=162395
|
|
|
|
|
|
|
| |
Spotted by: ru
Notes:
svn path=/head/; revision=162307
|
|
|
|
|
|
|
|
|
| |
Suggested by: Milos Vyletel (mv@rulez.sk)
Reviewed by: ru
Approved by: keramida (mentor), trhodes (mentor)
Notes:
svn path=/head/; revision=162154
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
not be mounted unless the -l flag was specified.
Add an rc script, mountlate, which basically runs 'mount -a -l'. It runs
after DAEMON but before LOGIN.
This is useful for things like loopback mounts, because mountcritremote
runs before mountd / nfsd (since /usr might be a remote file system), so
an attempt to mount a loopback network file system in mountcritremote will
fail.
Also add a progress message to mountcritlocal, for the sake of symmetry
with similar messages in mountcritremote and mountlate.
Reviewed by: freebsd-rc
MFC after: 3 weeks
Notes:
svn path=/head/; revision=160303
|
|
|
|
| |
Notes:
svn path=/head/; revision=159473
|
|
|
|
|
|
|
|
|
| |
keeping a flag to check whether we actually wanted to mount the filesystem
readonly, setup the options list so that we start off by assuming rw is what's
desired and let later flags change that.
Notes:
svn path=/head/; revision=159472
|
|
|
|
|
|
|
| |
Requested by: maxim
Notes:
svn path=/head/; revision=159177
|
|
|
|
|
|
|
|
| |
mount(8) doesn't use mount_procfs(8), and instead passes an fstype
of "procfs" directly to nmount().
Notes:
svn path=/head/; revision=158738
|
|
|
|
|
|
|
|
| |
mount no longer invokes mount_ext2fs, it calls nmount() directly
with fstype "ext2fs".
Notes:
svn path=/head/; revision=158715
|
|
|
|
|
|
|
|
|
| |
quota files location.
Submitted by: Kostik Belousov
Notes:
svn path=/head/; revision=158400
|
|
|
|
|
|
|
|
|
| |
the output of ``mount -p''.
Approved by: rodrigc
Notes:
svn path=/head/; revision=156229
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
additional -r (read-only) flag or or -w (read-write) flag,
then assume we want, mount -u -w.
When doing a mount update, this will implicitly pass a "noro" mount
option down to the VFS layer.
vfs_mergeopts() in vfs_mount.c will then remove the "ro" mount option
if it exists in the mount options for a mounted file system.
This means that "mount -u" works the same as "mount -u -w"
and will convert a read-only mount to read-write.
Notes:
svn path=/head/; revision=155997
|