* [mdk-re] Новыйскрипт
@ 2001-04-17 21:37 Sergei
2001-04-17 22:58 ` Sergey Vlasov
2001-04-18 1:21 ` [mdk-re] " Aleksandr Blohin
0 siblings, 2 replies; 6+ messages in thread
From: Sergei @ 2001-04-17 21:37 UTC (permalink / raw)
To: mandrake-russian
[-- Attachment #1: Type: text/plain, Size: 236 bytes --]
Достал тут себе (наконец-то) заветные диски Spring 2001, ну и решил
проверить, все ли читается. И для этого сварганил небольшой скрипт. Прошу
любить и жаловать :)))
Жду вашей реакции. Лучше мне лично.
--
С уважением, Епифанов Сергей
[-- Attachment #2: testcd --]
[-- Type: text/plain, Size: 442 bytes --]
#!/bin/sh
#Версия 0.2. Исправлен (смешной) баг с каталогами.
#Версия 0.1 от Епифанова Сергея
#Проверяет на чтение все файлы из каталога /mnt/cdrom (обычно - CDROM)
cd "/mnt/cdrom${1}"
for i in *;
do
if [ -d $i ];
then
echo "Dir=/mnt/cdrom${1}/$i"
~/work/testcd "${1}/$i"
elif [ -L $i ];
echo -n
else
echo -n "File=$i"
cat $i >/dev/null
if [ $? -eq 0 ];
then
echo " - Ok"
else
echo " - ERROR!"
fi
fi
done
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [mdk-re] Новыйскрипт
2001-04-17 21:37 [mdk-re] Новыйскрипт Sergei
@ 2001-04-17 22:58 ` Sergey Vlasov
2001-04-18 1:08 ` Sergei
2001-04-18 1:21 ` [mdk-re] " Aleksandr Blohin
1 sibling, 1 reply; 6+ messages in thread
From: Sergey Vlasov @ 2001-04-17 22:58 UTC (permalink / raw)
To: mandrake-russian
On Tue, 17 Apr 2001 21:44:06 +0400
Sergei <serpiph@pochtamt.ru> wrote:
> Достал тут себе (наконец-то) заветные диски Spring 2001, ну и решил
> проверить, все ли читается. И для этого сварганил небольшой скрипт.
> Прошу
> любить и жаловать :)))
> Жду вашей реакции. Лучше мне лично.
Я делал проще:
tar cvf - /mnt/cdrom | cat >/dev/null
:-))))
(просто tar >/dev/null не проходит - он слишком умный и в этом случае не
хочет читать данные)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [mdk-re] Новыйскрипт
2001-04-17 22:58 ` Sergey Vlasov
@ 2001-04-18 1:08 ` Sergei
0 siblings, 0 replies; 6+ messages in thread
From: Sergei @ 2001-04-18 1:08 UTC (permalink / raw)
To: mandrake-russian
17 Апрель 2001 22:58 Вы написали:
> On Tue, 17 Apr 2001 21:44:06 +0400
>
> Sergei <serpiph@pochtamt.ru> wrote:
> > Достал тут себе (наконец-то) заветные диски Spring 2001, ну и решил
> > проверить, все ли читается. И для этого сварганил небольшой скрипт.
> > Прошу
> > любить и жаловать :)))
> > Жду вашей реакции. Лучше мне лично.
>
> Я делал проще:
>
> tar cvf - /mnt/cdrom | cat >/dev/null
>
> :-))))
>
> (просто tar >/dev/null не проходит - он слишком умный и в этом случае не
> хочет читать данные)
Я хоть могу сам добавлять возможности, к примеру, определение скорости
считывания.
--
С уважением, Епифанов Сергей
^ permalink raw reply [flat|nested] 6+ messages in thread
* [mdk-re] Re: [mdk-re] Новыйскрипт
2001-04-17 21:37 [mdk-re] Новыйскрипт Sergei
2001-04-17 22:58 ` Sergey Vlasov
@ 2001-04-18 1:21 ` Aleksandr Blohin
2001-04-18 17:04 ` [mdk-re] Re: [mdk-re] îÏ×ÙÊÓËÒÉÐÔ ëÁÒÐÅÎËÏ× óÅÒÇÅÊ
1 sibling, 1 reply; 6+ messages in thread
From: Aleksandr Blohin @ 2001-04-18 1:21 UTC (permalink / raw)
To: mandrake-russian
On Tue, 17 Apr 2001 21:44:06 +0400
Sergei <serpiph@pochtamt.ru> wrote:
S> Достал тут себе (наконец-то) заветные диски Spring 2001, ну и решил
S> проверить, все ли читается. И для этого сварганил небольшой скрипт.
Прошу
S> любить и жаловать :)))
S> Жду вашей реакции. Лучше мне лично.
S>
Спасибо!
В хозяйстве пригодится :-)
S> --
S> С уважением, Епифанов Сергей
--
Best regards
AB
--
... In nomine Altli, et Ctrli, et Spititus Deli, Reset!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [mdk-re] Re: [mdk-re] îÏ×ÙÊÓËÒÉÐÔ
2001-04-18 1:21 ` [mdk-re] " Aleksandr Blohin
@ 2001-04-18 17:04 ` ëÁÒÐÅÎËÏ× óÅÒÇÅÊ
2001-04-18 21:39 ` [mdk-re] Re: [mdk-re] Новыйскрипт Sergei
0 siblings, 1 reply; 6+ messages in thread
From: ëÁÒÐÅÎËÏ× óÅÒÇÅÊ @ 2001-04-18 17:04 UTC (permalink / raw)
To: mandrake-russian
On Tue, 17 Apr 2001 23:21:59 +0200
Aleksandr Blohin <sass@uustoll.ee> wrote:
AB> On Tue, 17 Apr 2001 21:44:06 +0400
AB> Sergei <serpiph@pochtamt.ru> wrote:
AB>
AB> S> Достал тут себе (наконец-то) заветные диски Spring 2001, ну и решил
AB> S> проверить, все ли читается. И для этого сварганил небольшой скрипт.
AB> Прошу
AB> S> любить и жаловать :)))
AB> S> Жду вашей реакции. Лучше мне лично.
AB> S>
AB>
AB> _______________________________________________
AB> Mandrake-russian mailing list
AB> Mandrake-russian@altlinux.ru
AB> http://altlinux.ru/mailman/listinfo/mandrake-russian
cat /dev/cdrom > /dev/null :)
--
-----------------------------------------
Karpenkov Sergey
kid@kgok.murmansk.su
-----------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-04-18 21:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-17 21:37 [mdk-re] Новыйскрипт Sergei
2001-04-17 22:58 ` Sergey Vlasov
2001-04-18 1:08 ` Sergei
2001-04-18 1:21 ` [mdk-re] " Aleksandr Blohin
2001-04-18 17:04 ` [mdk-re] Re: [mdk-re] îÏ×ÙÊÓËÒÉÐÔ ëÁÒÐÅÎËÏ× óÅÒÇÅÊ
2001-04-18 21:39 ` [mdk-re] Re: [mdk-re] Новыйскрипт Sergei
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