* [sisyphus] subfs: чем смотреть свободное место на флэшке? @ 2008-07-14 18:58 Alexei V. Mezin 2008-07-14 19:01 ` Andrey Rahmatullin ` (3 more replies) 0 siblings, 4 replies; 11+ messages in thread From: Alexei V. Mezin @ 2008-07-14 18:58 UTC (permalink / raw) To: sisyphus Флэшка "примонтирована" через hal-mount-subfs. И чем теперь смотреть НЕпользователям КДЕ/Гном свободное место на флэшке? Команда df начисто игнорирует флэшку. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] subfs: чем смотреть свободное место на флэшке? 2008-07-14 18:58 [sisyphus] subfs: чем смотреть свободное место на флэшке? Alexei V. Mezin @ 2008-07-14 19:01 ` Andrey Rahmatullin 2008-07-14 19:04 ` Alexei V. Mezin 2008-07-14 19:13 ` Yura Kalinichenko ` (2 subsequent siblings) 3 siblings, 1 reply; 11+ messages in thread From: Andrey Rahmatullin @ 2008-07-14 19:01 UTC (permalink / raw) To: sisyphus [-- Attachment #1: Type: text/plain, Size: 431 bytes --] On Mon, Jul 14, 2008 at 10:58:50PM +0400, Alexei V. Mezin wrote: > Флэшка "примонтирована" через hal-mount-subfs. И чем теперь смотреть > НЕпользователям КДЕ/Гном свободное место на флэшке? Команда df начисто > игнорирует флэшку. which df -- WBR, wRAR (ALT Linux Team) Powered by the ALT Linux fortune(8): Думаю, что "наш замечательный sisyphus_check" завернёт и /udev, и /dev, и /dev/udev. :) -- ldv in devel@ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] subfs: чем смотреть свободное место на флэшке? 2008-07-14 19:01 ` Andrey Rahmatullin @ 2008-07-14 19:04 ` Alexei V. Mezin 2008-07-14 19:16 ` Andrey Rahmatullin 0 siblings, 1 reply; 11+ messages in thread From: Alexei V. Mezin @ 2008-07-14 19:04 UTC (permalink / raw) To: sisyphus Andrey Rahmatullin пишет: > On Mon, Jul 14, 2008 at 10:58:50PM +0400, Alexei V. Mezin wrote: >> Флэшка "примонтирована" через hal-mount-subfs. И чем теперь смотреть >> НЕпользователям КДЕ/Гном свободное место на флэшке? Команда df начисто >> игнорирует флэшку. > which df Неправильный ответ. [root@threebears policy]# mount | grep sde /dev/sde1 on /media/TS2GJF110 type subfs (rw,noexec,nosuid,nodev,noatime,fs=vfat,procuid,codepage=866,iocharset=cp1251,showexec,quiet,flush) [root@threebears policy]# `which df` Файловая система 1K-блоков Исп Доступно Исп% смонтирована на /dev/rd/c0d0p1 71053404 8397460 62655944 12% / udevfs 5120 136 4984 3% /dev shmfs 517636 0 517636 0% /dev/shm /dev/sdb1 131712 26212 105500 20% /boot /dev/sdb6 4993952 1400732 3593220 29% /var /dev/sdb5 19998656 15582116 4416540 78% /home /dev/sdb8 163317276 102120408 61196868 63% /opt /dev/sdb7 99955716 94875328 5080388 95% /ALT /dev/hda2 145277064 140584768 4692296 97% /MEDIA /dev/hda1 49985888 44155016 5830872 89% /FOTO /dev/sda1 156280288 4146040 152134248 3% /mnt/win_c /dev/sdb3 20004860 1923704 18081156 10% /mnt/old_root [root@threebears policy]# ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] subfs: чем смотреть свободное место на флэшке? 2008-07-14 19:04 ` Alexei V. Mezin @ 2008-07-14 19:16 ` Andrey Rahmatullin 2008-07-14 19:29 ` Alexei V. Mezin 0 siblings, 1 reply; 11+ messages in thread From: Andrey Rahmatullin @ 2008-07-14 19:16 UTC (permalink / raw) To: sisyphus [-- Attachment #1: Type: text/plain, Size: 268 bytes --] On Mon, Jul 14, 2008 at 11:04:17PM +0400, Alexei V. Mezin wrote: > [root@threebears policy]# `which df` Это равносильно просто df. -- WBR, wRAR (ALT Linux Team) Powered by the ALT Linux fortune(8): * gvy тащит анонс... ой, инсталер <gvy> "xdelta анонса" [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] subfs: чем смотреть свободное место на флэшке? 2008-07-14 19:16 ` Andrey Rahmatullin @ 2008-07-14 19:29 ` Alexei V. Mezin 2008-07-14 21:21 ` Alexei V. Mezin 0 siblings, 1 reply; 11+ messages in thread From: Alexei V. Mezin @ 2008-07-14 19:29 UTC (permalink / raw) To: sisyphus Andrey Rahmatullin пишет: > On Mon, Jul 14, 2008 at 11:04:17PM +0400, Alexei V. Mezin wrote: >> [root@threebears policy]# `which df` > Это равносильно просто df. > Просто df у нас alias df='df -h -x supermount' Кстати, supermount уже давно списали в помойку, и этот алиас пора корректировать. Далее: из мана следует, что "Если ни ФАЙЛ не указан, показывается доступное место на всех смонтированных файловых системах." mount говорит, что флэшка смонтирована. df ее игнорирует. Или man врет. Кстати, в нем опечатка. На что вешаем багу: на df, который должен учитывать subfs при опросе, или на man, который выдает неверную информацию? ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] subfs: чем смотреть свободное место на флэшке? 2008-07-14 19:29 ` Alexei V. Mezin @ 2008-07-14 21:21 ` Alexei V. Mezin 2008-07-19 19:10 ` Led 0 siblings, 1 reply; 11+ messages in thread From: Alexei V. Mezin @ 2008-07-14 21:21 UTC (permalink / raw) To: sisyphus Alexei V. Mezin пишет: > Просто df у нас alias df='df -h -x supermount' > > Кстати, supermount уже давно списали в помойку, и этот алиас пора > корректировать. Нашел, где в исходниках coreutils объявили (видимо, давно), что subfs это DUMMY, и эту ФС надо игнорировать. А почему? Вон supermount вроде бы игнорировали (алиасом) потому, что df пытался стукнуться во все устройства, на которые настроен supermount, и происходил ненужный опрос дисководов, в которых ничего не было. А теперь ведь устройства, которых нет (не вставлены, не подключены) в mtab не отображаются, и df вполне может опрашивать то, что смонтировано с помощью subfs. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] subfs: чем смотреть свободное место на флэшке? 2008-07-14 21:21 ` Alexei V. Mezin @ 2008-07-19 19:10 ` Led 0 siblings, 0 replies; 11+ messages in thread From: Led @ 2008-07-19 19:10 UTC (permalink / raw) To: ALT Linux Sisyphus discussions Tuesday, 15 July 2008 00:21:31 Alexei V. Mezin написав: > Alexei V. Mezin пишет: > > Просто df у нас alias df='df -h -x supermount' > > > > Кстати, supermount уже давно списали в помойку, и этот алиас пора > > корректировать. > > Нашел, где в исходниках coreutils объявили (видимо, давно), что subfs > это DUMMY, и эту ФС надо игнорировать. А почему? Вон supermount вроде бы > игнорировали (алиасом) потому, что df пытался стукнуться во все > устройства, на которые настроен supermount, и происходил ненужный опрос > дисководов, в которых ничего не было. "DUMMY" в "исходниках coreutils" нашли, а df(1) - принципиально не читали? Ну, хочется вам, чтобы df дёргал все под subfs'ом по-умолчанию - пропишите alias df='df -a' - в чём проблема-то:) > > А теперь ведь устройства, которых нет (не вставлены, не подключены) в > mtab не отображаются, и df вполне может опрашивать то, что смонтировано > с помощью subfs. -- Led ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] subfs: чем смотреть свободное место на флэшке? 2008-07-14 18:58 [sisyphus] subfs: чем смотреть свободное место на флэшке? Alexei V. Mezin 2008-07-14 19:01 ` Andrey Rahmatullin @ 2008-07-14 19:13 ` Yura Kalinichenko 2008-07-14 19:56 ` Fiodor Sorex 2008-07-15 6:32 ` Michael A. Kangin 3 siblings, 0 replies; 11+ messages in thread From: Yura Kalinichenko @ 2008-07-14 19:13 UTC (permalink / raw) To: alexei-mezin, ALT Linux Sisyphus discussions [-- Attachment #1: Type: text/plain, Size: 224 bytes --] Alexei V. Mezin пишет: > > Флэшка "примонтирована" через hal-mount-subfs. И чем теперь смотреть > НЕпользователям КДЕ/Гном свободное место на флэшке? Команда df начисто > игнорирует флэшку. Например, df /media/* [-- Attachment #2: yuk.vcf --] [-- Type: text/x-vcard, Size: 177 bytes --] begin:vcard fn:Yura Kalinichenko n:Kalinichenko;Yura email;internet:yuk@kalina.in.ua tel;home:8-0432-465743 tel;cell:+38-067-5878302 x-mozilla-html:FALSE version:2.1 end:vcard ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] subfs: чем смотреть свободное место на флэшке? 2008-07-14 18:58 [sisyphus] subfs: чем смотреть свободное место на флэшке? Alexei V. Mezin 2008-07-14 19:01 ` Andrey Rahmatullin 2008-07-14 19:13 ` Yura Kalinichenko @ 2008-07-14 19:56 ` Fiodor Sorex 2008-07-14 20:04 ` Alexei V. Mezin 2008-07-15 6:32 ` Michael A. Kangin 3 siblings, 1 reply; 11+ messages in thread From: Fiodor Sorex @ 2008-07-14 19:56 UTC (permalink / raw) To: ALT Linux Sisyphus discussions 14 июля 2008, Alexei V. Mezin пишет: > Флэшка "примонтирована" через hal-mount-subfs. И чем теперь смотреть > НЕпользователям КДЕ/Гном свободное место на флэшке? Команда df > начисто игнорирует флэшку. Нужно сначала войти на это устройство: (например) $ cd /media/sde $ ls (для надежности :) $ df -- Федор Сорекс, http://www.linuxrsp.ru http://moscow.lug.ru ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] subfs: чем смотреть свободное место на флэшке? 2008-07-14 19:56 ` Fiodor Sorex @ 2008-07-14 20:04 ` Alexei V. Mezin 0 siblings, 0 replies; 11+ messages in thread From: Alexei V. Mezin @ 2008-07-14 20:04 UTC (permalink / raw) To: sisyphus Fiodor Sorex пишет: > 14 июля 2008, Alexei V. Mezin пишет: >> Флэшка "примонтирована" через hal-mount-subfs. И чем теперь смотреть >> НЕпользователям КДЕ/Гном свободное место на флэшке? Команда df >> начисто игнорирует флэшку. > > Нужно сначала войти на это устройство: > > (например) > > $ cd /media/sde > $ ls (для надежности :) > $ df > > И так тоже не работает. [alexei@threebears TS2GJF110]$ echo -e "Mount:\n"; mount | grep sdd;echo -e "df:\n\n";cd /media/TS2GJF110/;ls > /dev/null;df | grep sdd Mount: /dev/sdd1 on /media/TS2GJF110 type subfs (rw,noexec,nosuid,nodev,noatime,fs=vfat,procuid,codepage=866,iocharset=cp1251,showexec,quiet,flush) df: [alexei@threebears TS2GJF110]$ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] subfs: чем смотреть свободное место на флэшке? 2008-07-14 18:58 [sisyphus] subfs: чем смотреть свободное место на флэшке? Alexei V. Mezin ` (2 preceding siblings ...) 2008-07-14 19:56 ` Fiodor Sorex @ 2008-07-15 6:32 ` Michael A. Kangin 3 siblings, 0 replies; 11+ messages in thread From: Michael A. Kangin @ 2008-07-15 6:32 UTC (permalink / raw) To: alexei-mezin, ALT Linux Sisyphus discussions On 14 июля 2008 Alexei V. Mezin wrote: > Флэшка "примонтирована" через hal-mount-subfs. И чем теперь смотреть > НЕпользователям КДЕ/Гном свободное место на флэшке? Команда df начисто > игнорирует флэшку. df -a и всего-то -- wbr, Michael A. Kangin OIOS, RSMU ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2008-07-19 19:10 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-07-14 18:58 [sisyphus] subfs: чем смотреть свободное место на флэшке? Alexei V. Mezin 2008-07-14 19:01 ` Andrey Rahmatullin 2008-07-14 19:04 ` Alexei V. Mezin 2008-07-14 19:16 ` Andrey Rahmatullin 2008-07-14 19:29 ` Alexei V. Mezin 2008-07-14 21:21 ` Alexei V. Mezin 2008-07-19 19:10 ` Led 2008-07-14 19:13 ` Yura Kalinichenko 2008-07-14 19:56 ` Fiodor Sorex 2008-07-14 20:04 ` Alexei V. Mezin 2008-07-15 6:32 ` Michael A. Kangin
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