similar to: [PATCH] docs: guestfs_case_sensitive_path returns error on non-existent path

Displaying 20 results from an estimated 10000 matches similar to: "[PATCH] docs: guestfs_case_sensitive_path returns error on non-existent path"

2013 Oct 29
0
[PATCH] docs: guestfs_case_sensitive_path returns error on non-existent path
--- generator/actions.ml | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/generator/actions.ml b/generator/actions.ml index c73a319..cb6d137 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -7150,13 +7150,32 @@ a problem. Bug or feature? You decide: L<http://www.tuxera.com/community/ntfs-3g-faq/#posixfilenames1> -This
2012 Sep 28
0
[PATCH v2] inspection: Fix calls to case_sensitive_path (RHBZ#858126).
From: "Richard W.M. Jones" <rjones at redhat.com> Don't assume that if guestfs_case_sensitive_path returns NULL, that it means the file does not exist. The (previously undefined) behaviour of case_sensitive_path was that a NULL return meant "either the file doesn't exist or some other error". However in commit 973581780d8a006f336684fef6762801402d775d this was
2013 Jun 05
3
[PATCH 1/3] inspection: Refactor windows systemroot detection to allow re-use
This change refactors guestfs___has_windows_systemroot to guestfs___get_windows_systemroot. The new function returns a dynamically allocated char * which must be freed. The new function is no less efficient than before, as it returns the result of guestfs___case_sensitive_path_silently, which is required anyway. The new code is slightly more efficient than before, as it re-uses the result of this
2016 Jan 26
1
[PATCH] inspect: resolve symlinks when detecting architecture
Resolve the paths of the binaries we are looking in the guest to identify the architecture. This way we can identify also busybox-based guests such as Alpine Linux, where all the "base" binaries in /bin are symlinks to busybox. --- src/inspect-fs-unix.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c
2019 Jun 28
2
Re: Guestfish command - "copy-out" not working for symbolic links
If it is one time operation you can call 'realpath' (http://libguestfs.org/guestfs.3.html#guestfs_realpath) first to resolve symlink. -- +380979184774 Mykola Ivanets пт, 28 черв. 2019 о 11:11 Chintan Patel <Chintan.Patel@microsoft.com> пише: > > HI, > > I’m trying to use copu-out command to copy files from remote disk but it’s not working if the file is symbolic
2009 Oct 26
3
[PATCH 0/3] Handle NTFS 3g case sensitive Windows paths in the daemon
In the current Perl library we have a function called resolve_windows_path which handles the useful [for Windows guests] case where we need to resolve the true, case-sensitive path behind a case-insensitive Windows path. For example, a Windows path like "C:\Windows\System32" can be presented to Linux by NTFS 3g in a variety of ways, eg: /WINDOWS/system32 /WINDOWS/SYSTEM32
2009 Nov 13
1
guestmount symlink issues
I'm trying to use guestmount to install some kernel modules in a guest: [mbooth at mbooth linux-2.6 (amit)]$ make modules_install INSTALL_MOD_PATH=~/etch ln: creating symbolic link `/home/mbooth/etch/lib/modules/2.6.32-rc6/source': No such file or directory make: *** [_modinst_] Error 1 I think something's screwy with symlinks. In the following, /tmp/source is a symlink, and I
2019 Jun 28
1
Re: Guestfish command - "copy-out" not working for symbolic links
Hi Nikolay, We use guestfish, so I preferred to use commands supported by guestfish. I tried as below but "realpath" is not working after I have the target path from symlink. --> Check if the path has a symlink. is-symlink path Ex. - is-symlink "/etc/resolv.conf" -> return true --> If it's true then get target link path readlink path ex. - readlink
2019 Jun 28
2
Re: Guestfish command - "copy-out" not working for symbolic links
guestfish --ro -a /path/to/disk run : mount /dev/your-blkdev / : download /etc/resolv.conf /path/on/host/dst.file -- +380979184774 Mykola Ivanets пт, 28 черв. 2019 о 21:29 Nikolay Ivanets <stenavin@gmail.com> пише: > > All API is exposed as gustfish commands > > -- > Mykola Ivanets > > пт, 28 черв. 2019, 21:28 користувач Chintan Patel
2019 Jun 28
0
Re: Guestfish command - "copy-out" not working for symbolic links
Chintan, Use 'download' (http://libguestfs.org/guestfs.3.html#guestfs_download) -- Mykola Ivanets пт, 28 черв. 2019, 18:55 користувач Chintan Patel < chintan.r.patel@outlook.com> пише: > Hi Nikolay, > > We use guestfish, so I preferred to use commands supported by guestfish. > I tried as below but "realpath" is not working after I have the target > path
2019 Jun 28
0
Re: Guestfish command - "copy-out" not working for symbolic links
All API is exposed as gustfish commands -- Mykola Ivanets пт, 28 черв. 2019, 21:28 користувач Chintan Patel < chintan.r.patel@outlook.com> пише: > This no going to work. > AS I told you I need something under guestfish command list not from > guestfs commands. > > Thanks, > Chintan > ------------------------------ > *From:* Nikolay Ivanets
2009 Jun 26
1
should Sys.glob() cope with a UNC windows path beginning with backslashes?
I find that Sys.glob() doesn't like UNC paths where the initial slashes are backslashes. The help page for Sys.glob() doesn't specificly mention UNC paths, but does say: "File paths in Windows are interpreted with separator \ or /." Is the failure to treat a path beginning with a double-backslash as a UNC network drive path the intended behavior? E.g., on a Windows system
2019 Jun 28
2
Re: Guestfish command - "copy-out" not working for symbolic links
This no going to work. AS I told you I need something under guestfish command list not from guestfs commands. Thanks, Chintan ________________________________ From: Nikolay Ivanets <stenavin@gmail.com> Sent: Friday, June 28, 2019 10:58 AM To: Chintan Patel Cc: Chintan Patel; libguestfs@redhat.com Subject: Re: [Libguestfs] Guestfish command - "copy-out" not working for symbolic
2019 Jun 28
0
Re: Guestfish command - "copy-out" not working for symbolic links
guestfish --ro -a /path/to/disk run : mount /dev/your-blkdev / : download /etc/resolv.conf /path/on/host/dst.file Is also not working for symbolic link - as "/etc/resolv.conf" is symbolic link. ________________________________ From: Nikolay Ivanets <stenavin@gmail.com> Sent: Friday, June 28, 2019 11:34 AM To: Chintan Patel Cc: Chintan Patel; libguestfs@redhat.com Subject: Re:
2011 Mar 22
2
R_HOME path getting munged in inst/doc/Makefile on Windows
Hello, I have come across two separate packages that have a Makefile in inst/doc which use the R_HOME variable. In both cases, the path to R_HOME gets munged in such a way that commands that include R_HOME fail on Windows: For example, one Makefile, for the xmapcore package ( https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/xmapcore/username/password: readonly) has this:
2012 Jan 03
1
[PATCH] AUTHORS: add the email address for each authors
Add the email address for authors. It will be better. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- AUTHORS | 48 ++++++++++++++++++++++++------------------------ 1 files changed, 24 insertions(+), 24 deletions(-) diff --git a/AUTHORS b/AUTHORS index 0d6fb3c..702de5d 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,24 +1,24 @@ -Angus Salkeld -Ani Peter -Charles Duffy -Daniel
2010 May 07
1
[PATCH] Warn instead of dying if grub refers to non-existent kernel
--- .gnulib | 2 +- perl/lib/Sys/Guestfs/Lib.pm | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gnulib b/.gnulib index e2843e3..6d28070 160000 --- a/.gnulib +++ b/.gnulib @@ -1 +1 @@ -Subproject commit e2843e30e8c2885eb8cbc77e20c4e0f4d562d44d +Subproject commit 6d28070c3cc7a02107bf66402983b9fe4c6f8f6f diff --git
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of local disk. Rich.
2011 Sep 20
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
OK since this approach makes sense I'll shoot with my questions :) 1. Where should get_utf8_argv go and is the name of this function OK? Right now the function is inside llvm::sys::fs namespace because I need access to Windows.h, should I leave it there. 2. get_utf8_argv allocates new char** representing utf8 argv, should I deallocate this inside driver.cpp, use std::vector<std::string>
2012 Dec 17
2
Formatting a path for unix with gsub
I have a path: path = "/nfs/users/nfs_n/ns9/ Phenotype Analysis/Results/Run_AmplRatio_neg BinaryAll trained without akapn+tnik.csv" I wish to replace the spaces with "\ " so that it can be read by a system call to unix. Using gsub I try: > gsub(" ","\\ ",path) [1] "/nfs/users/nfs_n/ns9/Phenotype Analysis/Results/Run_AmplRatio_neg BinaryAll