From: Eugene Vlasov <eugene@ikz.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: [sisyphus] Проблема с subfs и du/find
Date: Tue, 7 Sep 2004 17:52:04 +0600
Message-ID: <20040907115204.GA6497@eugene-home.ikz.ru> (raw)
Добрый день.
Установил себе subfs и натолкнулся на проблему, которую пока не могу
решить. Проблема в том, что du и find некорректно работают с дисками
смонтированными через subfs. Пример:
eugene ~ $ grep hdd /etc/fstab
/dev/hdd /mnt/cdrom subfs fs=cdfss,nosuid,nodev,iocharset=koi8-r,exec,
ro,umask=0 0 0
eugene ~ $ du -smh /mnt/cdrom;du -smh /mnt/cdrom
du: `/mnt/cdrom': No such file or directory
695M /mnt/cdrom
Первый вызов du вызывает ошибку "No such file or directory", второй (если
вызов делается сразу, до того как submountd размонтирует диск по таймауту)
отрабатывает успешно. Аналогично с find:
eugene ~ $ find /mnt/cdrom -type f -name '*.[Mm][Pp]3';find /mnt/cdrom
-type f -name '*.[Mm][Pp]3'
find: . changed during execution of find # Ошибка первого вызова
/mnt/cdrom/Atomic Rooster/Atomic Rooster/01-friday_the_thirteenth.mp3
/mnt/cdrom/Atomic Rooster/Atomic Rooster/02-and_so_to_bed.mp3
/mnt/cdrom/Atomic Rooster/Atomic Rooster/03-broken_wings.mp3
... # Второй вызов работает успешно.
Проблем с другими программами пока не выявил. С этим как-то можно
бороться? Куда вешать баги? На coreutils и findutils?
eugene ~ $ cat /etc/altlinux-release
ALT Linux Sisyphus (20040902)
eugene ~ $ uname -r
2.6.8-std26-up-alt9
eugene ~ $ rpm -qa|grep sub\[fm\]
submount-0.9-alt3
kernel-modules-subfs-std26-up-0.9-alt3.9
--
С уважением, Евгений mailto:eugvv@altlinux.ru
np: Boris Kovac & Ladaaba Orchestra - The Last Balkan Tango (Last Balkan Tango)
next reply other threads:[~2004-09-07 11:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-07 11:52 Eugene Vlasov [this message]
2004-09-27 10:58 ` Sergey V Turchin
2004-09-28 7:25 ` Eugene Vlasov
2004-09-30 9:44 ` Sergey V Turchin
2004-10-06 16:24 ` Eugene Vlasov
2004-10-06 20:56 ` Dmitry V. Levin
2004-10-07 19:58 ` Eugene Vlasov
2004-10-12 9:31 ` [sisyphus] " Michael Shigorin
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=20040907115204.GA6497@eugene-home.ikz.ru \
--to=eugene@ikz.ru \
--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