* [mdk-re] [JT] странно показан размер файлов @ 2001-12-04 20:27 Maxim 2001-12-04 21:58 ` Peter V. Saveliev 2001-12-04 22:01 ` Sergei Aranovsky 0 siblings, 2 replies; 3+ messages in thread From: Maxim @ 2001-12-04 20:27 UTC (permalink / raw) To: mandrake-russian Странная штука наблюдается. каталог /proc/sys/net/ipv4 ну и вообще все что ниже и рядом. Размер всех файлов почему то 0. Хотя в них что то есть. Почему так? Я помню что /proc как то по особенному живет. Но размер то надо показывать. У некоторых он показан. Странно. -- С уважением, Maxim mailto:max_conf@e-foto.ru ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [mdk-re] [JT] странно показан размер файлов 2001-12-04 20:27 [mdk-re] [JT] странно показан размер файлов Maxim @ 2001-12-04 21:58 ` Peter V. Saveliev 2001-12-04 22:01 ` Sergei Aranovsky 1 sibling, 0 replies; 3+ messages in thread From: Peter V. Saveliev @ 2001-12-04 21:58 UTC (permalink / raw) To: mandrake-russian Maxim wrote: > Странная штука наблюдается. > каталог /proc/sys/net/ipv4 > > ну и вообще все что ниже и рядом. Размер всех файлов почему то 0. Хотя в них > что то есть. > Почему так? Я помню что /proc как то по особенному живет. Но размер то надо > показывать. У некоторых он показан. > Странно. В очередной раз советую ls -l /proc/kcore ;))) Размеры файлов в /proc, не являющейся _реальной_ файловой системой, если и есть, не призваны отображать количество буковок. В качестве аналогии могу привести /dev, которая, хоть и реальна, несет файлы вроде /dev/zero, откуда можно прочитать плюс-минус бесконечность байт, при том, что его размер - 0. А вообще - почитайте Робачевского, книжка вроде так и называется - UNIX. Точно смогу завтра сказать. Там много полезного нахожу и сейчас, хотя начал читать, не зная про линух ничего, около года назад. И порядок, знаете - тоже вещь в себе. У нас ходит байка про девушку, которой родители купили компьютер. Она первым делом создала папки C:\EXE, C:\DLL, C:\INI, C:\TXT ... И, как понятно, соответствующие файлы аккуратно разложила ;)))))) Родители нашли ее в полном коллапсе. Петр. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [mdk-re] [JT] странно показан размер файлов 2001-12-04 20:27 [mdk-re] [JT] странно показан размер файлов Maxim 2001-12-04 21:58 ` Peter V. Saveliev @ 2001-12-04 22:01 ` Sergei Aranovsky 1 sibling, 0 replies; 3+ messages in thread From: Sergei Aranovsky @ 2001-12-04 22:01 UTC (permalink / raw) To: mandrake-russian Maxim wrote: > Странная штука наблюдается. > каталог /proc/sys/net/ipv4 > > ну и вообще все что ниже и рядом. Размер всех файлов почему то 0. Хотя в них > что то есть. > Почему так? Я помню что /proc как то по особенному живет. Но размер то надо > показывать. У некоторых он показан. > Странно. :-) Это не файлы. Это некие сущности, обеспечивающие псевдофайловый доступ к потрохам операционки (извините за словесный наворот :-)) У каждой Юниксоподобной системы своя структура /proc. Еще одно место, где Вы найдете похожую картину -- /dev. С уважением, -Сергей Арановский > > ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-12-04 22:01 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-12-04 20:27 [mdk-re] [JT] странно показан размер файлов Maxim 2001-12-04 21:58 ` Peter V. Saveliev 2001-12-04 22:01 ` Sergei Aranovsky
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