| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
For mounting UFS, all mount options are passed directly to nmount(),
without any UFS-specific logic.
|
|
|
|
|
|
|
| |
These options are read from fstab by quotacheck(8), but are not
valid mount options that need to be passed down the the filesystem.
Noticed by: maxim
|
|
|
|
| |
special logic which called mount() in a separate mount_ufs() function.
|
|
|
|
| |
Noticed by: maxim
|
|
|
|
|
|
| |
val is NULL before doing strlen() to calculate new len.
Submitted by: maxim
|
|
|
|
|
|
|
| |
- Add build_iovec_argf() helper function, for help converting old
mount options which used the mount_argf() function for the mount() syscall.
Discussed with: phk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
|
|
|
| |
'comparison between signed and unsigned' compiler warning.
|
|
|
|
| |
Make prototype in extern.h match prototype in mount_ufs.c
|
|
|
|
|
| |
Approved by: re (blanket)
MFC after: 3 days
|
|
|
|
| |
of the macro.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
use of the macro in sbin/mount*'s, by replacing:
mopts[] = {
MOPT_STDOPTS,
{ NULL }
}
With:
mopts[] = {
MOPT_STDOPTS,
MOPT_NULL
}
This change will help to reduce the situation that we don't explicitly
initialize "struct mntopt"'s. It should not contribute to any
functional/logical changes as far as I can tell.
|
|
|
|
|
|
|
|
| |
This unbreaks "/rescue/mount -t foo" -- previously it was necessary to
explicitly call "/rescue/mount_foo".
Hints from: gordon
X-MFC after: 3 days (if approved by re@)
|
|
|
|
|
|
|
| |
that it really wasn't intended as a security feature.
Wording mostly by: simon
Discussed with: secteam
|
| |
|
| |
|
|
|
|
| |
Noticed by: clement
|
|
|
|
| |
but allows a "nodev" in /etc/fstab, etc.
|
|
|
|
| |
Asked to commit by: phk
|
|
|
|
|
|
| |
front of it.
Reviewed by: phk
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
per letter dated July 22, 1999.
Approved by: core, imp
|
|
|
|
|
|
|
| |
MAC support on the file system, if supported, which causes MAC to treat
each object as having its own label, rather than using a single label
for all objects on the file system. This doesn't have to be used in
combination with the tunefs/newfs flags -- it's an alternative.
|
| |
|
|
|
|
| |
Submitted by: "Christian S.J. Peron" <maneo@bsdpro.com>
|
| |
|