| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
| |
we exec an external mount program, or just call nmount()
to mount a filesystem.
Noticed by: kris
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Spotted by: ru
|
|
|
|
|
|
| |
Suggested by: Milos Vyletel (mv@rulez.sk)
Reviewed by: ru
Approved by: keramida (mentor), trhodes (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Requested by: maxim
|
|
|
|
|
| |
mount(8) doesn't use mount_procfs(8), and instead passes an fstype
of "procfs" directly to nmount().
|
|
|
|
|
| |
mount no longer invokes mount_ext2fs, it calls nmount() directly
with fstype "ext2fs".
|
|
|
|
|
|
| |
quota files location.
Submitted by: Kostik Belousov
|
|
|
|
|
|
| |
the output of ``mount -p''.
Approved by: rodrigc
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
- mount(8) now calls the nmount(2) system call directly, not mount(2)
- specifying a filesystem type with -t will not automatically
invoke an external /sbin/mount_XXXX program....this only happens for
certain file system types. For all other file system types, nmount(2)
is called directly.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
system is mounted. This prevevents duplicated mounts.
The change I made against the original patch is to fall back to the given
path on realpath(2) failure instead of exiting with an error.
Submitted by: Andreas Kohn <andreas@syndrom23.de>
PR: bin/89782
MFC after: 3 days
|
|
|
|
|
|
| |
PR: docs/90902
Submitted by: Scott Robbins <scottro@nyc.rr.com>
MFC after: 3 days
|
|
|
|
|
|
| |
of forking an external mount_reiserfs program.
Reviewed by: dumbbell
|
|
|
|
| |
Submitted by: ru
|
|
|
|
| |
"rw" option down to kernel, since vfs_donmount() can now parse it.
|
|
|
|
| |
Requested by: jkoshy
|
|
|
|
|
|
| |
The presence of MNT_NODEV was confusing the am-utils autoconf scripts.
PR: conf/79715
|
|
|
|
|
|
|
|
|
| |
external mounting program list as well; otherwise, entry like the following
in /etc/fstab wouldn't work:
/dev/acd0 /mnt/cdrom cd9660 ro,-C=big5 0 0
Reviewed by: rodrigc
|
| |
|