From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru> Subject: Re: [sisyphus] random Date: Tue, 1 Mar 2005 14:34:23 +0300 Message-ID: <20050301113423.GD11435@basalt.office.altlinux.org> (raw) In-Reply-To: <42241648.8030008@delin.ru> [-- Attachment #1: Type: text/plain, Size: 1083 bytes --] On Tue, Mar 01, 2005 at 10:14:16AM +0300, fmfm wrote: > Dmitry V. Levin пишет: > >On Mon, Feb 28, 2005 at 04:09:10PM +0300, fmfm wrote: > > > >>Не подскажет ли кто, какой генератор случайных чисел для shell scripts > >>следует использовать в Sisyphus. > >> > >>Не найдя пакета athena-jot, собрал jot из тарбола, но может есть > >>готовая альтернатива? > > > >Какие требования к качеству случайных чисел? > > Требования скромные, никакой криптографии. Несколько сценариев, > которым не запретишь работать параллельно, должны выставлять уникальные > lock файлы (или read или write) на каталоги и снимать свои блокировки по > завершениию или прерыванию. PID не совсем подходит, так как суффиксов, > возможно, потребуется несколько для каждого процесса. Для этих целей приспособлен mktemp(1). > Дополнительно, имеется соблазн использовать jot и в иных целях > (а может все дело в привычке и незнании альтернатив). Проект coreutils планирует включить jot в будущем. В принципе, я могу на досуге запаковать bsd'шный jot, не дожидаясь coreutils. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2005-03-01 11:34 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-02-28 13:09 fmfm 2005-02-28 13:10 ` Alexander Kuprin 2005-02-28 15:07 ` Denis Ovsienko 2005-02-28 13:19 ` Dmitry V. Levin 2005-03-01 7:14 ` fmfm 2005-03-01 8:20 ` [sisyphus] random Michael Shigorin 2005-03-01 8:41 ` Vitaly Ostanin 2005-03-01 10:43 ` Vladimir 2005-03-01 11:34 ` Dmitry V. Levin [this message]
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=20050301113423.GD11435@basalt.office.altlinux.org \ --to=ldv@altlinux.org \ --cc=sisyphus@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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git