From: Sviatoslav Sviridov <svd@lintec.minsk.by> To: mandrake-russian@altlinux.ru Subject: Re: [mdk-re] rsync Date: Thu Mar 29 12:13:02 2001 Message-ID: <20010329111925.1eb59e7c.svd@lintec.minsk.by> (raw) In-Reply-To: <20010328170703.B16993@ldv.office.alt-linux.org> On Wed, 28 Mar 2001 17:07:03 +0400 "Dmitry V. Levin" <ldv@alt-linux.org> wrote: > > А как сделать, чтобы не отваливался по timeout'у (короче нужно чтобы > всегда ломился, как в wget'е например -t0). Я пробую давать > --timeout=500, --timeout=0, но ничего не выходит, все равно выбрасывает > (я же не могу сидеть и наблюдать за ним). > > Об этом уже здесь писали: > > #!/bin/sh > while ! rsync "$@"; do :; done я использую чуть модифицированную версию: while ! rsync "$@"; do sleep 1; done А то при обрыве связи пока модем перезванивает этот скрипт начинает пожирать всё процессорное время (фактически крутится только цикл, т.к. rsync сразу отваливается из-за network is unreachable) да и прервать его по Ctrl-C почти невозможно... > Этот скрипт нужно запускать в точности с теми же параметрами, что и > rsync. -- Sviatoslav Sviridov [mailto:svd@lintec.minsk.by] [ICQ#10845380] [Lintec Project] [MLUG]
next prev parent reply other threads:[~2001-03-29 12:13 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-03-28 16:54 ` Sergey S. Skulachenko 2001-03-29 3:10 ` Sergei 2001-03-28 17:09 ` Dmitry V. Levin 2001-03-29 12:13 ` Sviatoslav Sviridov [this message] 2001-03-29 13:04 ` Sergey S. Skulachenko 2001-03-29 13:17 ` Sviatoslav Sviridov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20010329111925.1eb59e7c.svd@lintec.minsk.by \ --to=svd@lintec.minsk.by \ --cc=mandrake-russian@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git