search for: dstdir

Displaying 14 results from an estimated 14 matches for "dstdir".

Did you mean: destdir
2013 Sep 05
12
[PATCH 0/5] Memory leaks amended
Memory leaks found by the tool--valgrind along with static reviewing. Based on Daivd''s branch ''integration-20130903''. Gui Hecheng (5): btrfs-progs:free local variable buf upon unsuccessful returns btrfs-progs:local variable memory freed btrfs-progs: missing tree-freeing statements added btrfs-progs:free the local list pending_list in btrfs_scan_one_dir
2008 Apr 28
3
[Bug 1657] New: tests/functional/acl/nontrivial/ zfs_acl_cp_001_pos causes panic
...h testpool.106790/testfs1.106790 stdout| 03:02:14 SUCCESS: /usr/bin/chmod 777 /testdir1106790 stdout| 03:02:14 SUCCESS: set_cur_usr root stdout| 03:02:14 SUCCESS: usr_exec /usr/bin/touch /testdir106790/testfile stdout| 03:02:14 SUCCESS: usr_exec /usr/bin/mkdir /testdir106790/testdir /testdir1106790/dstdir.117616 stdout| 03:02:14 SUCCESS: usr_exec /usr/bin/chmod A0+user:other1:read_acl:deny /testdir106790/testfile stdout| 03:02:14 SUCCESS: usr_exec /usr/bin/cp -p /testdir106790/testfile /testdir1106790/dstdir.117616 stdout| 03:02:14 SUCCESS: usr_exec /usr/bin/cp -p /testdir106790/testfile /testdir110...
2018 Jun 09
4
Custom ISO With Post Installation Scripts
...will be deleted from /etc/profile.d/. DuckDuckGo suggested that I copy the script to /etc/rc.d/rc.local and make it executable; however, I have tried that a few times and the script simply does not execute. Below is an excerpt from the ks.cfg. export SRCDIR="/run/install/repo" export DSTDIR="/mnt/sysimage" # copy scripts to the destintion of the server cp -v $SRCDIR/postinstall/script1.sh $DSTDIR/etc/rc.d/rc.local/script1.sh # Make scripts executable chmod +x $DSTDIR/etc/rc.d/rc.local.sh Since this is a ISO for a community project, don't think that tools such as Ansib...
1999 Nov 23
0
[PATCH] Adding BSD compatible install script to 1.2pre14.
...i + +# If destination is a directory, append the input filename; if your system +# does not like double slashes in filenames, you may need to add some logic + + if [ -d $dst ] + then + dst="$dst"/`basename $src` + else + true + fi +fi + +## this sed command emulates the dirname command +dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` + +# Make sure that the destination directory exists. +# this part is taken from Noah Friedman's mkinstalldirs script + +# Skip lots of stat calls in the usual case. +if [ ! -d "$dstdir" ]; then +defaultIFS=' +' +IFS=&...
2013 Nov 16
16
[PATCH] BTRFS-PROG: recursively subvolume snapshot and delete
Hi All, the following patches implement the recursively snapshotting and deleting of a subvolume. To snapshot recursively you must pass the -R switch: # btrfs subvolume create sub1 Create subvolume ''./sub1'' # btrfs subvolume create sub1/sub2 Create subvolume ''sub1/sub2'' # btrfs subvolume snapshot -R sub1 sub1-snap Create a snapshot of
2018 Jun 11
0
Custom ISO With Post Installation Scripts
...t; DuckDuckGo suggested that I copy the script to /etc/rc.d/rc.local and > make it executable; however, I have tried that a few times and the > script simply does not execute. > > Below is an excerpt from the ks.cfg. > > > export SRCDIR="/run/install/repo" > export DSTDIR="/mnt/sysimage" > > # copy scripts to the destintion of the server > cp -v $SRCDIR/postinstall/script1.sh > $DSTDIR/etc/rc.d/rc.local/script1.sh > > # Make scripts executable > chmod +x $DSTDIR/etc/rc.d/rc.local.sh > > Since this is a ISO for a community project...
2005 Jul 24
0
[Bug 2913] New: rsync of symlinks on >=bsd needs lutimes(2) and lchmod(2)
...ed slinks earn the time of the symlink(2) call by rsync. further, an lutimes(2) run elsewhere against the slink is not picked up by later rsync runs. both break ex1. similarly, rsync ignores both umask and src perms when creatings slinks. neither are updated in later runs. breaking ex2. rm -r ./dstdir srcdir: lrwxrwx--- 1 u g 1 Jul 24 03:29:58 2005 a -> b -rw-r----- 1 u g 0 Jul 24 03:29:58 2005 b prw-rw---- 1 u g 0 Jul 24 03:29:58 2005 fifo srwxrwx--- 1 u g 0 Jul 24 03:29:58 2005 sockfile umask 0022 [root] rsync -axv --delete ./srcdir/ ./dstdir/ dstdir: lrwxrwxrwx 1 u g 1 Ju...
2005 Jul 31
7
[Bug 2933] regression with hardlinked devices
https://bugzilla.samba.org/show_bug.cgi?id=2933 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Additional Comments From wayned@samba.org 2005-07-31 15:50 ------- This is rather interesting. In the old days, rsync
2008 May 08
0
suggestion for rsync syntax/quoting issue
...couple of other list members, so I thought I'd pass it on. I'm not subscribed to the list, but it looks like non-subscribers can still post (if this gets bounced, I guess I will know I was incorrect in that assessment!) ... ---- #!/bin/sh HOST=machine1 MIRROR=machine2 SRCDIR=/path/to/data DSTDIR=/backups/path/to/data SSH='/usr/bin/ssh -c blowfish' RSYNC='/usr/bin/rsync -Lavz' $RSYNC -e "$SSH" $HOST:$SRCDIR $MIRROR:$DSTDIR ---- I'm sure you've probably solved it and moved on, but I wanted to pass this on anyway in the hopes that it's useful (or at leas...
2002 Nov 20
0
[PATCH] Updated patch to rsync for Stratus VOS
...;dist' target; need to know which files will be included diff -urp oldrsync/install-sh newrsync/install-sh --- oldrsync/install-sh Tue Nov 19 18:57:34 2002 +++ newrsync/install-sh Tue Nov 19 18:58:11 2002 @@ -208,7 +208,7 @@ else # Make a temp file name in the proper directory. - dsttmp=$dstdir/#inst.$$# + dsttmp=$dstdir/_inst.$$_ # Move or copy the file name to the temp name diff -urp oldrsync/lib/getaddrinfo.c newrsync/lib/getaddrinfo.c --- oldrsync/lib/getaddrinfo.c Sun Nov 17 04:52:57 2002 +++ newrsync/lib/getaddrinfo.c Sun Nov 17 05:05:28 2002 @@ -73,9 +73,9 @@ static const char...
2018 Jun 09
0
Custom ISO With Post Installation Scripts
On 09.06.2018 14:48, Earl Ramirez wrote: > # copy scripts to the destintion of the server > cp -v $SRCDIR/postinstall/script1.sh > $DSTDIR/etc/rc.d/rc.local/script1.sh are you sure about this line? rc.local must be a file, not a directory. best regards Ulf
2008 Jul 11
1
Question about log output
Hi all, I have a question as to how I can show the full content of my rsync logs as opposed to what I see below: Why do my logs look truncated? 2008/07/11 19:45:34 [18816] <f..t.... htdocs/etc... 2008/07/11 19:45:34 [18816] <f..t.... htdocs/etc... 2008/07/11 19:45:34 [18816] <f.st.... htdocs/etc... 2008/07/11 19:45:34 [18816] <f..t.... htdocs/etc... 2008/07/11 19:45:34 [18816]
2008 Apr 01
12
DO NOT REPLY [Bug 5365] New: --backup and --xattrs are not compatible
https://bugzilla.samba.org/show_bug.cgi?id=5365 Summary: --backup and --xattrs are not compatible Product: rsync Version: 3.0.0 Platform: x86 OS/Version: Other Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: fauthier@free.fr
2012 Feb 29
15
[RFC] [PATCH] Add btrfs autosnap feature
From: anand jain <anand.jain@oracle.com> Anand Jain (1): [RFC] Add btrfs autosnap feature Makefile | 6 +- autosnap.c | 1553 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ autosnap.h | 81 +++ btrfs-list.c | 140 +++++- btrfs.c | 46 ++- btrfs_cmds.c | 186 +++++++- btrfs_cmds.h | 3 +- scrub.c | 1 + 8 files changed, 1982 insertions(+), 34