Displaying 1 result from an estimated 1 matches for "rsync_mknod".
2005 May 31
0
[Bug 2758] New: "File exists" error using options -b and --backup-dir with device files.
...ackup-dir. Backups all have
the following errors when device files are updated
rsync: mknod "/dev/pts/111" failed: File exists (17)
rsync error: some files could not be transferred (code 23) at main.c(789)
Test Script:
#!/usr/bin/ksh
#
# Test rsync backup of device files
#
ROOT=/tmp/rsync_mknod
[[ -d $ROOT ]] || mkdir $ROOT
cd $ROOT
# Create test dirs
for x in src dst backup; do
[[ -d $x ]] || mkdir $x
[[ -e $x/nod ]] && rm $x/nod
[[ -e $x/src/nod ]] && rm $x/src/nod
done
# Create test device file
mknod $ROOT/src/nod c 255 255
chmod 666 $ROOT/src/nod
# Initial rs...