similar to: [PATCH 1/2] daemon: glob: do not return directories with trailing slash

Displaying 20 results from an estimated 1200 matches similar to: "[PATCH 1/2] daemon: glob: do not return directories with trailing slash"

2016 Feb 04
2
[PATCH v2 1/2] daemon: glob: add optarg to control trailing slash for dirs
Add a new optional bool "directoryslash" to indicate whether the caller wants trailing slashes in names of directories, defaulting to true (the current behaviour); this helps with interoperability with other tools (such as rm). Related to RHBZ#1293271. --- daemon/glob.c | 11 +++++++++-- generator/actions.ml | 21 ++++++++++++++++----- gobject/Makefile.inc | 2 ++ po/POTFILES
2016 Feb 03
0
[PATCH 2/3] daemon: glob: add option for not returning dirs with trailing slash
Add a new optional bool "nodirectoryslash", to indicate that the caller does not want trailing slashes in names of directories; this helps with interoperability with other tools (such as rm). Related to RHBZ#1293271. --- daemon/glob.c | 8 ++++++-- generator/actions.ml | 17 ++++++++++++----- gobject/Makefile.inc | 2 ++ po/POTFILES | 1 + 4 files changed, 21
2016 Feb 03
6
[PATCH 1/3] sysprep, get-kernel: explicit the Guestfs parameter
Help the OCaml compiler by expliciting Guestfs.guestfs as type for 'g' in some functions. --- get-kernel/get_kernel.ml | 2 +- sysprep/sysprep_operation_abrt_data.ml | 2 +- sysprep/sysprep_operation_bash_history.ml | 2 +- sysprep/sysprep_operation_ca_certificates.ml | 2 +- sysprep/sysprep_operation_crash_data.ml
2017 Apr 26
2
tempdir() may be deleted during long-running R session
On Tue, Apr 25, 2017 at 02:41:58PM +0000, Cook, Malcolm wrote: > Might this combination serve the purpose: > * R session keeps an open handle on the tempdir it creates, > * whatever tempdir harvesting cron job the user has be made sensitive enough not to delete open files (including open directories) Good suggestion but doesn't work with the (increasingly popular)
2013 Dec 12
2
Size detection/replair does not work with zlib
Hi! Usually dovecot auto detects or repairs the size of a maildir message. So I can place a message named "foo" in the cur directory and dovecot uses it. Now I tried the same with a zlib compressed message but here dovecot doesn't recognize/repair the size of the message. When I access this folder via IMAP the connection is diconnected and in dovecot logs I see the following
2004 Jun 22
1
Multiple --compare-dest args again
Hi all. A while ago (April 15th or so) I posted a patch that allows rsync to take multiple --compare-dest or --link-dest arguments, allowing fetching of files not present in multiple trees. I never got any feedback on it, though, so I'm picking it up again. :) Is there any interest in such a patch at all? Below is the usage example i outlined back then; --start-- [...] Its primary usage is
2012 Dec 18
2
Bug or strange behaviour or --output-prefix
Hi all, I was busy programming a tool to automatically run some tests to update the FLAC comparison page (http://xiph.org/flac/comparison.html) when I stumbled across some weird behaviour of the flac program. So I compiled from git and it seems that this bug still is there. As I don't have any experience on coding C and don't know which bug-report facility to use, this seemed the
2002 Dec 22
1
weird stat()
hei everyone, I have a weird problem: if I do a # cd /somedir; stat somesubdir |grep Modify where /somedir is some directory on an SMB-mounted filesystem I get one datetime... but I I do: # cd /somedir; stat * |grep Modify for the same directory I get a Modify time which consistently differs by 1 second. As I'm writing a perl module to detect differences in a filesystem and rely on the
2005 Feb 25
1
Feature request: Being able specify that the destination should follow source directory structure.
Greetings. If I do this: rsync --hard-links one.server.com::"module/somedir/images/redhat/3.0WS/en/os/i386 module/someotherdir/1.0/images/redhat/3.0WS/en/os/i386" /export/distros I get: /export/distros/i386/... and a conflict between the two sources. I want for destination: /export/distros/images/redhat/3.0WS/en/os/i386 /export/distros/1.0/images/redhat/3.0WS/en/os/i386 In other
2012 May 02
4
[PATCH 0/4] fish: Allow the glob command to expand device patterns (RHBZ#635971).
This patch set fixes a two year old bug in guestfish, namely that the 'glob' command does not expand /dev/* patterns. https://bugzilla.redhat.com/show_bug.cgi?id=635971 Rich.
2017 Apr 26
6
tempdir() may be deleted during long-running R session
On 26/04/2017 4:21 AM, Martin Maechler wrote: >>>>>> <frederik at ofb.net> >>>>>> on Tue, 25 Apr 2017 21:13:59 -0700 writes: > > > On Tue, Apr 25, 2017 at 02:41:58PM +0000, Cook, Malcolm wrote: > >> Might this combination serve the purpose: > >> * R session keeps an open handle on the tempdir it creates, >
2009 Apr 10
3
Local disk rsync
I've done quite a bit of looking, but I haven't found an answer that answers this question. Environment: cygwin on Windows rsync 3.0.4 I know that rsync isn't optimzed for speed on local copies - that's clear in my testing. I'm attemting to sync a large volume of files. (In this case, I'm syncing a rdiff-backup set...) An initial sync will be about one fourth as fast a
2005 Apr 03
1
NFS over ssh problems
I've got a setup where I run nfs over ssh on several distros, and it's been working like a charm on suse, mandrake, redhat 7-9 etc, but I've been unable to get it to work on CentOS. First I set up ssh portforwarding using: /usr/bin/ssh root@<remotehost> -L 250:irc.dynip.no:2049 -f sleep 60d & Then I mount using the following params in fstab: localhost:/somedir
2012 Jul 27
1
Rsync like Time Machine
I've been very interested in these discussions and uses of rsync as a "clone" of Time Machine. A couple of things have been keeping me from a fully automated solution. I'd like to eliminate the need for Samba/NFS mounts of any kind, because they have proven to be unreliable for me and under some operating environments (Cygwin) it breaks --link-dest. In most of the articles
2017 Aug 03
0
[PATCH 6/6] tests: Add a regression test for RHBZ#1477623.
--- tests/regressions/Makefile.am | 2 ++ tests/regressions/rhbz1477623.sh | 49 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/tests/regressions/Makefile.am b/tests/regressions/Makefile.am index aef6982d1..25833824c 100644 --- a/tests/regressions/Makefile.am +++ b/tests/regressions/Makefile.am @@ -50,6 +50,7 @@ EXTRA_DIST = \ rhbz1285847.sh \
2013 Aug 23
1
Deleted mails in dsync backups
Hello we are doing regular backups of the mdbox mail folders using dsync -u username backup mdbox:/somedir/BACKUPS/username (still with version 2.1.10, but 2.2.5 is in testing phase) We do observe that the directory size in the BACKUPS directory is growing with respect to the original mail folders. I believe this is due to deleted mails not being purged in the backup. We are doing regular
2020 Apr 06
1
[v2v PATCH] tests: fix location to generated images
Some of the libvirt XMLs for tests refer to a generated phony disk image, and so far the relative path used worked almost by chance. (For each disk, the path to it was ../test-data/etc, and since the overlay pointing to it is stored directly in $LIBGUESTFS_CACHEDIR, which is $buildir/tmp, then the relative path was resolved.) Instead, have configure place the right top-level directory in those
2006 May 23
6
How to list all models of an application?!?
How can I get a list of all model classes in the domain of a Rails application (all models, both in "app/models" and in components/somedir/model.rb)? Thanx in advance for your precious help! Edoardo "Dado" Marcora
2014 Dec 31
1
Cannot access server error
Hi, I'm having a peculiar problem with my Samba server and have not been able to figure out how to solve it. I've had this server for a very long time, but recently the main hard drive failed and I only kept backups of the user files. I set the server back up with Debian Wheezy and Samba 3.6.6. My problem is as follows: I have 4 Unix users and groups: user1:group1 (admin account, so has
2015 Oct 21
1
[PATCH] tests: use fake-virt-tools also in tests outside v2v
We have phony tools for v2v tests, introduced with commit c1af1ba32f126b7be275bcc8cd4ea4e5af27a88e; make use of it also in tests related to v2v outside the v2v directory. --- p2v/test-virt-p2v.sh | 6 +----- tests/regressions/rhbz1232192.sh | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/p2v/test-virt-p2v.sh b/p2v/test-virt-p2v.sh index 8c3731c..540d2fd