search for: str_ntfs3g_probe

Displaying 8 results from an estimated 8 matches for "str_ntfs3g_probe".

2015 Jan 15
1
[PATCH 2/2] daemon: use ntfslabel(1) to get ntfs labels
...indicate errors * NB: you don't need to prefix the string with the current command, * it is added automatically by the client-side RPC stubs. diff --git a/daemon/ntfs.c b/daemon/ntfs.c index 762ca88..f1d12e0 100644 --- a/daemon/ntfs.c +++ b/daemon/ntfs.c @@ -33,6 +33,7 @@ GUESTFSD_EXT_CMD(str_ntfs3g_probe, ntfs-3g.probe); GUESTFSD_EXT_CMD(str_ntfsresize, ntfsresize); GUESTFSD_EXT_CMD(str_ntfsfix, ntfsfix); +GUESTFSD_EXT_CMD(str_ntfslabel, ntfslabel); int optgroup_ntfs3g_available (void) @@ -46,6 +47,29 @@ optgroup_ntfsprogs_available (void) return prog_exists (str_ntfsresize); } +char *...
2015 Jan 14
2
[PATCH] daemon: use btrfs(1) to get btrfs labels
blkid(1) (or actually, libblkid) seems to handle file system labels up to 127 characters. Considering that btrfs labels can be up to 255 characters, this means long labels are not read correctly (i.e. get truncated) by blkid. Get the file system type, and if btrfs is available invoke `btrfs filesystem` to get the label of btrfs file systems. --- daemon/blkid.c | 6 ++++++ daemon/btrfs.c | 24
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
...LL, &error, str_mount, "-o", "loop", buf, mp, NULL); free (mp); free (buf); if (r == -1) { diff --git a/daemon/ntfs.c b/daemon/ntfs.c index 2dedc26..613b9c3 100644 --- a/daemon/ntfs.c +++ b/daemon/ntfs.c @@ -30,16 +30,20 @@ #define MAX_ARGS 64 +GUESTFSD_EXT_CMD(str_ntfs3g_probe, ntfs-3g.probe); +GUESTFSD_EXT_CMD(str_ntfsresize, ntfsresize); +GUESTFSD_EXT_CMD(str_ntfsfix, ntfsfix); + int optgroup_ntfs3g_available (void) { - return prog_exists ("ntfs-3g.probe"); + return prog_exists (str_ntfs3g_probe); } int optgroup_ntfsprogs_available (void) { - retu...
2012 Aug 30
1
[PATCH] collect list of called external commands
...ULL, &error, str_mount, "-o", "loop", buf, mp, NULL); free (mp); free (buf); if (r == -1) { diff --git a/daemon/ntfs.c b/daemon/ntfs.c index 2dedc26..4f8791e 100644 --- a/daemon/ntfs.c +++ b/daemon/ntfs.c @@ -30,16 +30,20 @@ #define MAX_ARGS 64 +GUESTFS_EXT_CMD(str_ntfs3g_probe, ntfs-3g.probe); +GUESTFS_EXT_CMD(str_ntfsresize, ntfsresize); +GUESTFS_EXT_CMD(str_ntfsfix, ntfsfix); + int optgroup_ntfs3g_available (void) { - return prog_exists ("ntfs-3g.probe"); + return prog_exists (str_ntfs3g_probe); } int optgroup_ntfsprogs_available (void) { - return...
2017 Jul 27
0
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
...mp, NULL); if (r == -1) { reply_with_error ("%s: %s: %s", mountpoint, options, err); return -1; diff --git a/daemon/ntfs.c b/daemon/ntfs.c index 3b759fef9..878f6e58a 100644 --- a/daemon/ntfs.c +++ b/daemon/ntfs.c @@ -31,21 +31,16 @@ #define MAX_ARGS 64 -GUESTFSD_EXT_CMD(str_ntfs3g_probe, ntfs-3g.probe); -GUESTFSD_EXT_CMD(str_ntfsresize, ntfsresize); -GUESTFSD_EXT_CMD(str_ntfsfix, ntfsfix); -GUESTFSD_EXT_CMD(str_ntfslabel, ntfslabel); - int optgroup_ntfs3g_available (void) { - return prog_exists (str_ntfs3g_probe); + return prog_exists ("ntfs3g.probe"); } int op...
2017 Jul 24
0
[PATCH 2/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
...mp, NULL); if (r == -1) { reply_with_error ("%s: %s: %s", mountpoint, options, err); return -1; diff --git a/daemon/ntfs.c b/daemon/ntfs.c index 3b759fef9..c13bcc70c 100644 --- a/daemon/ntfs.c +++ b/daemon/ntfs.c @@ -31,21 +31,19 @@ #define MAX_ARGS 64 -GUESTFSD_EXT_CMD(str_ntfs3g_probe, ntfs-3g.probe); -GUESTFSD_EXT_CMD(str_ntfsresize, ntfsresize); -GUESTFSD_EXT_CMD(str_ntfsfix, ntfsfix); -GUESTFSD_EXT_CMD(str_ntfslabel, ntfslabel); +DECLARE_EXTERNAL_COMMANDS ("ntfs-3g.probe", + "ntfsresize", "ntfsfix", "ntfslabel"...
2017 Jul 27
3
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
This is a simpler patch that removes GUESTFSD_EXT_CMD completely.
2017 Jul 24
6
[PATCH 0/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
Replace GUESTFSD_EXT_CMD with a command line option ‘./guestfsd --print-external-commands’