SRCPART=/dev/sda2 DESTDIR=/home PARTCLONE_EXTRAOPTS="-N" SPLIT_SIZE=1G partclone.imager -c -s $SRCPART -o - $PARTCLONE_EXTRAOPTS | split -b$SPLIT_SIZE - $DESTDIR/partclone-sda2.img. ---------------- PARTCLONE_EXTRAOPTS="-N" DSTPART=/dev/sda2 ./sinkcat.sh /dev/shm/sink | partclone.restore $PARTCLONE_EXTRAOPTS -o $DSTPART ---------------------- # setsockopt(3, SOL_IPV6, 0x2a /* IPV6_??? */, "\2\0\0\0\0\0\0\0\n\0\0\0\0\0\0\0\377\3\0\0\0\0\0\0\0\0\0\1\0\2\0\3"..., 136) = -1 EADDRINUSE (Address already in use) #write(2, "Error joining multicast group", 29Error joining multicast group) = 29 #write(2, ": Address already in use", 24: Address already in use) = 24 ADDR_OPTS="-M ff02::42 -I 2/6" # Bug si IP multiples sur même interface LOG_OPTS="-x3 -S /tmp/uftpd.csv -L /dev/shm/uftpd.log " DIR_OPTS="-T /dev/shm/tmp -D /dev/shm/uftpd -i" mkdir /dev/shm/{tmp,uftpd} ./uftpd -q -B 2097152 $LOG_OPTS $ADDR_OPTS $DIR_OPTS [ $? -eq 0 ] && netstat -nlu | grep -q ':1044 ' && echo -e '\033[42m' ----- UFTPD ready ----- '\033[40m' ./sinkdo.sh /dev/shm/uftpd /dev/shm/sink --------------------------------------------------- IMGDIR=/home/lpouzenc/git/eficast/testimage #RATE_OPTS="-R90000 -W 400 -s 20" RATE_OPTS="-C tfmcc -s 20" LOG_OPTS="-x2 -S /tmp/uftpd.csv" ADDR_OPTS="-M ff02::42 -P ff02::43 -I 3/6" # -I 3/6 is virbr0 ipv6 ./uftp -f $RATE_OPTS $LOG_OPTS $ADDR_OPTS -- $IMGDIR/*