The Samba-Bugzilla – Attachment 4648 Details for
Bug 6362
--dry-run conflicts with --hard-links
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
A shell script to duplicate the issue
test-script (text/plain), 518 bytes, created by
Wayne Davison
on 2009-09-05 10:26:02 UTC
(
hide
)
Description:
A shell script to duplicate the issue
Filename:
MIME Type:
Creator:
Wayne Davison
Created:
2009-09-05 10:26:02 UTC
Size:
518 bytes
patch
obsolete
>#!/bin/bash > >RSYNC=$1 >if [ -z "$RSYNC" ]; then > RSYNC=/home/wayne/src/rsync/rsync >fi > >if [ ! -d /tmp/X1/data ];then > mkdir -p /tmp/X1/data > cd /tmp/X1/data > for file in {1..100}; do dd if=/dev/zero of=./$file bs=1k count=16; done >fi > >cd /tmp/X1 > >for num in {1..9}; do > if [ ! -d data_hl$num ]; then > rsync -av --hard-links --link-dest=/tmp/X1/data/ data/ data_hl$num/ > fi >done > >cd /tmp # without this, there are no errors (unless /tmp/X2 exists). > >$RSYNC -av --hard-links --dry-run /tmp/X1/ /tmp/X2/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6362
: 4648