Displaying 20 results from an estimated 198 matches for "mount_opt".
Did you mean:
mount_opts
2005 Jul 12
1
HAL and mounting volume
...olicy/storage-policy.fdi
<?xml version="1.0" encoding="ISO-8859-1"?><!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="volume.fstype" string="vfat">
<merge key="volume.policy.mount_option.uid"
type="string">nobody</merge>
<merge key="volume.policy.mount_option.gid"
type="string">mounter</merge>
<merge key="volume.policy.mount_option.umask"
type="string">077</merge>...
2013 Aug 16
3
[PATCH v2] sysprep: added --mount-options option to mount selected
Nikita,
Please take a look at the attached patch. I have rewritten it
a little, and only lightly tested it.
Rich.
2017 Jul 14
0
[PATCH 09/27] daemon: Reimplement ‘mount’, ‘mount_ro’, ‘mount_options’, ‘mount_vfs’ APIs in OCaml.
...x 0ad9626a7..962b86079 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -111,105 +111,6 @@ is_device_mounted (const char *device)
return 0;
}
-/* The "simple mount" call offers no complex options, you can just
- * mount a device on a mountpoint. The variations like mount_ro,
- * mount_options and mount_vfs let you set progressively more things.
- *
- * It's tempting to try a direct mount(2) syscall, but that doesn't
- * do any autodetection, so we are better off calling out to
- * /bin/mount.
- */
-
-int
-do_mount_vfs (const char *options, const char *vfstype,
-...
2015 Oct 14
1
Ocfs2-devel Digest, Vol 138, Issue 31 review
OCFS2 is often used in high-availaibility systems, This patch enhances robustness for the filesystem.
but storage network is unstable?it still triggers a panic? such as ocfs2_start_trans -> __ocfs2_abort ->panic.
The 's_mount_opt' should depend on the mount option set, If errors=continue is set,
mark as a EIO error, change OCFS2_MOUNT_ERRORS_PANIC to OCFS2_MOUNT_ERRORS_CONT in __ocfs2_abort;
it's better than forcing a panic without decreasing availability,errors=continue seems be well to me.
Finally, any feedback a...
2015 Oct 14
1
Ocfs2-devel Digest, Vol 138, Issue 31 review
OCFS2 is often used in high-availaibility systems, This patch enhances robustness for the filesystem.
but storage network is unstable?it still triggers a panic? such as ocfs2_start_trans -> __ocfs2_abort ->panic.
The 's_mount_opt' should depend on the mount option set, If errors=continue is set,
mark as a EIO error, change OCFS2_MOUNT_ERRORS_PANIC to OCFS2_MOUNT_ERRORS_CONT in __ocfs2_abort;
it's better than forcing a panic without decreasing availability,errors=continue seems be well to me.
Finally, any feedback a...
2010 Oct 09
2
[PATCH 1/2] Ocfs2: Add a mount option "coherency=*" for O_DIRECT writes.
...llow concurrent O_DIRECT writes without EX lock among
+ nodes, which gains high performance at risk of getting
+ stale data on other nodes.
diff --git a/fs/ocfs2/ocfs2.h b/fs/ocfs2/ocfs2.h
index c67003b..2b987be 100644
--- a/fs/ocfs2/ocfs2.h
+++ b/fs/ocfs2/ocfs2.h
@@ -256,6 +256,9 @@ enum ocfs2_mount_options
control lists */
OCFS2_MOUNT_USRQUOTA = 1 << 10, /* We support user quotas */
OCFS2_MOUNT_GRPQUOTA = 1 << 11, /* We support group quotas */
+
+ OCFS2_MOUNT_COHERENCY_BUFFERED = 1 << 12 /* Allow concurrent O_DIRECT
+ writes */
};
#define OCFS2_OSB_SOF...
2016 Jan 06
0
[klibc:master] mount: Implement -o defaults
...gt;
CommitDate: Tue, 5 Jan 2016 17:48:54 -0800
[klibc] mount: Implement -o defaults
This is needed to support mounting non-root filesystems in
initramfs-tools.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>
---
usr/utils/mount_opts.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/usr/utils/mount_opts.c b/usr/utils/mount_opts.c
index 05d1729..bb26c7d 100644
--- a/usr/utils/mount_opts.c
+++ b/usr/utils/mount_opts.c
@@ -89,8 +89,13 @@ parse_mount_options(char *arg, unsigned long rwflag, struct extr...
2016 Aug 05
2
Cannot guestmount a Fedora 24 XFS disk.
I seem to be having trouble using guestmount to mount a Fedora 24 disk that is using XFS. This is the error messings I get when I try:
root@cpdev-cn5:/var/lib/libvirt/images/base# guestmount --rw -a ${disk_path}/${disk_name} -m /dev/${target}1 /tmp/fedora-master/
libguestfs: error: mount_options: /dev/vda1 on /: mount: wrong fs type, bad option, bad superblock on /dev/vda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
guestmount: '/dev/sda1' could not be mounted. Did you mean one...
2016 Aug 05
2
Cannot guestmount a Fedora 24 XFS disk.
I seem to be having trouble using guestmount to mount a Fedora 24 disk that is using XFS. This is the error messings I get when I try:
root@cpdev-cn5:/var/lib/libvirt/images/base# guestmount --rw -a ${disk_path}/${disk_name} -m /dev/${target}1 /tmp/fedora-master/
libguestfs: error: mount_options: /dev/vda1 on /: mount: wrong fs type, bad option, bad superblock on /dev/vda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
guestmount: '/dev/sda1' could not be mounted. Did you mean one...
2015 Jan 28
4
[PATCH 0/3] sparsify: Ignore read-only LVs (RHBZ#1185561).
virt-sparsify shouldn't die if sparsifying a filesystem that contains
read-only LVs.
https://bugzilla.redhat.com/show_bug.cgi?id=1185561
I thought about trying to make the LV writable temporarily, but I
suspect that if the sysadmin has made the LV read-only, then they
probably did it for a reason, so we shouldn't touch it.
Rich.
2016 Jan 06
3
[PATCH klibc 0/3] Changes to support initramfs-tools 0.117
...previously submitted but not applied.
Ben.
Ben Hutchings (3):
Implement realpath()
readlink: Add -f option
mount: Implement -o defaults
usr/include/stdlib.h | 2 ++
usr/klibc/Kbuild | 2 +-
usr/klibc/realpath.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
usr/utils/mount_opts.c | 9 +++++++--
usr/utils/readlink.c | 29 +++++++++++++++++++++++++----
5 files changed, 84 insertions(+), 7 deletions(-)
create mode 100644 usr/klibc/realpath.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature...
2011 Oct 08
2
guestmount issues with --live, but guestfish works just fine
...is from my shell session, if there's any more
information needed please let me know and I'll happily provide it.
[root at longitude ~]# virt-filesystems -d F16-rawhide/dev/sda2
/dev/sda3
[root at longitude ~]# guestmount --live -d F16-rawhide -m /dev/sda3:/
/mnt/guestfs/
libguestfs: error: mount_options: /dev/vda3 on /: mount: /dev/vda3
already mounted or / busy
mount: according to mtab, /dev/vda3 is already mounted on /
libguestfs: error: part_to_dev: part_to_dev_stub: /dev/vda3: device not
found
libguestfs: error: check_for_daemon_cancellation_or_eof: read 0x34 from
daemon, expected 0xffffee...
2012 Jun 15
6
[PATCH] Btrfs: add "nocompress" mount option
...=%s"},
+ {Opt_nocompress, "nocompress"},
{Opt_ssd, "ssd"},
{Opt_ssd_spread, "ssd_spread"},
{Opt_nossd, "nossd"},
@@ -404,6 +405,7 @@ int btrfs_parse_options(struct btrfs_root *root,
char *options)
goto out;
}
+ btrfs_clear_opt(info->mount_opt, NOCOMPRESS);
btrfs_set_opt(info->mount_opt, COMPRESS);
if (compress_force) {
btrfs_set_opt(info->mount_opt, FORCE_COMPRESS);
@@ -413,6 +415,11 @@ int btrfs_parse_options(struct btrfs_root *root,
char *options)
pr_info("btrfs: use %s compression\n",
compress_...
2016 May 16
3
[PATCH supermin] Add support for a DAX root filesystem.
DAX is explained in detail here:
https://lwn.net/Articles/610174/
This patch adds support to supermin for using a DAX root filesystem.
The corresponding libguestfs patches will be posted shortly once I've
tested them a bit more.
This requires qemu >= 2.6.
Unfortunately it's not really a win for a few reasons:
- Requires enabling ACPI, which slows everything down by hundreds of
2017 Apr 19
0
[PATCH supermin 2/3] init: Move variable declarations to the top of the function.
...a/init/init.c
+++ b/init/init.c
@@ -96,6 +96,18 @@ static char line[1024];
int
main ()
{
+ FILE *fp;
+ size_t n;
+ char *root, *path;
+ size_t len;
+ int dax = 0;
+ uint64_t delay_ns = 250000;
+ int virtio_message = 0;
+ struct timespec t;
+ int major, minor;
+ char *p;
+ const char *mount_options = "";
+
mount_proc ();
fprintf (stderr, "supermin: ext2 mini initrd starting up: "
@@ -132,13 +144,13 @@ main ()
exit (EXIT_FAILURE);
}
- FILE *fp = fopen ("/modules", "r");
+ fp = fopen ("/modules", "r");
if (fp...
2012 Sep 18
3
R: [PATCH 2/2] Btrfs-progs: add mount-option command
...CLUDING_EXTENT_DATA (1 << 21)
>+#define BTRFS_MOUNT_PANIC_ON_FATAL_ERROR (1 << 22)
>+
>+#define btrfs_clear_opt(o, opt) ((o) &= ~BTRFS_MOUNT_##opt)
>+#define btrfs_set_opt(o, opt) ((o) |= BTRFS_MOUNT_##opt)
>+#define btrfs_test_opt(root, opt) ((root)->fs_info->mount_opt& \
>+ BTRFS_MOUNT_##opt)
I think that the macro names are too generic, I suggest to rename the three
macros above as
#define btrfs_mount_XXXX_opt
Also, the last one should be
#define btrfs_test_opt(o, opt) ( o & BTRFS_MOUNT_##opt)
Or better the other two
#define btrfs_mount_...
2017 Apr 19
6
[PATCH supermin 0/3] Require root= parameter, refactor init.
Require the root= parameter is passed to specify which
root (apppliance) to mount. Libguestfs has done this since 2012.
The other two patches are small code refactorings in the init
program.
Rich.
2016 Mar 03
1
[PATCH] mllib: factor out mounting of guest root
...7 100644
--- a/mllib/common_utils.ml
+++ b/mllib/common_utils.ml
@@ -833,3 +833,21 @@ let read_first_line_from_file filename =
let is_regular_file path = (* NB: follows symlinks. *)
try (Unix.stat path).Unix.st_kind = Unix.S_REG
with Unix.Unix_error _ -> false
+
+let inspect_mount_root g ?mount_opts_fn root =
+ let mps = g#inspect_get_mountpoints root in
+ let cmp (a,_) (b,_) =
+ compare (String.length a) (String.length b) in
+ let mps = List.sort cmp mps in
+ List.iter (
+ fun (mp, dev) ->
+ let mountfn =
+ match mount_opts_fn with
+ | Some fn -> g#mount_op...
2010 Apr 20
1
libguestfs mounting solaris 10 ZFS guest
...e ZFS filesystems on the physical host machine.
Just really not sure how to make libguestfs deal with it. I have tried
mounting the pool and the underlying virtual disk device with no success.
# guestmount -o modules=zfs -a /dev/kvmVG00/sol10u6 -m
newpool/ROOT/s10up-08 --ro /mnt
libguestfs: error: mount_options: mount_options_stub:
newpool/ROOT/s10up-08: expecting a device name
# guestmount -o modules=zfs -a /dev/kvmVG00/sol10u6 -m /dev/dsk/c0d0s0
--ro /mnt
libguestfs: error: mount_options: mount_options_stub: /dev/dsk/c0d0s0:
No such file or directory
# guestmount -o modules=zfs -a /dev/kvmVG00/sol...
2018 Apr 09
2
[PATCH] daemon: Fix type signature of mount_vfs (RHBZ#1564983).
https://bugzilla.redhat.com/show_bug.cgi?id=1564983
Because Mount.mount_vfs was declared with the wrong type signature it
could never be called correctly from outside the daemon.
The root cause of this problem is that the generator doesn't generate
the type signatures automatically (which it could do, and fairly
easily). Therefore there are probably other similar bugs waiting to
be found.