ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] Re: rpmstats
Date: Thu, 21 Jul 2005 11:29:29 +0400
Message-ID: <20050721072929.GI24898@solemn.turbinal.org> (raw)
In-Reply-To: <pan.2005.07.21.06.48.03.642547@altlinux.com>

[-- Attachment #1: Type: text/plain, Size: 1477 bytes --]

On Thu, Jul 21, 2005 at 10:48:04AM +0400, Anton Farygin wrote:
> > Некоторые файлы намеренно не
> > учитываются: rpmstats.c:  if (regcomp(&rx,
> > "/man/man\\|/usr/share/icons\\|/usr/lib/menu\\|/etc/menu-methods", 0))
> > 
> > (Потому что, например, маны
> > автоматически сканируются
> > /etc/cron.daily/makewhatis.)

То есть он игнорирует эти файлы, потому что у них заведомо большой
atime.

> > С rootfiles я немного "промахнулся".  rpmstats
> > запускался не от рута, а большинство
> > файлов в пакете rootfiles доступно только
> > руту.  В результате rpmstats увидел всего
> > один файл -- /var/spool/mail/root, и по нему сделал
> > вывод о всём пакете.

Недоступны в следующем смысле:

$ rpm -Vv rootfiles
missing    /root/.bash_logout
missing    /root/.bash_profile
missing    /root/.bashrc
missing    /root/.cshrc
missing    /root/.i18n
missing    /root/.rpmmacros
missing    /root/.tcshrc
missing    /root/.vimrc
missing    /root/.zshrc
missing    /root/tmp
..?.....   /var/spool/mail/root
$ ls -dl /root
drwx------  13 root root 832 Jul 19 20:55 /root
$ ls -al /root
ls: /root: Permission denied
$

> А файл messages, от design-bootloder, например,
> используется только тогда когда lilo запускается.

Если другие файлы в нём используются (на чтение, с последующим
сохранением atime/inode на диск), то rpmstats не будет считать его старым.

Короче, rpmstats не выдаёт непосредственной инструкции на удаление
пакетов. :)

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-07-21  7:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-20 16:05 [sisyphus] I: Sisyphus-20050720 packages: +7! +22 (4504) Alexey M. Tourbin
2005-07-21  5:45 ` Alexey I. Froloff
2005-07-21 11:07   ` [sisyphus] zsh-4.3.0/20050718 Alexey Tourbin
2005-07-21  5:56 ` [sisyphus] rpmstats Alexey Tourbin
2005-07-21  6:15   ` Vasya Makarov
2005-07-21  6:47     ` [sisyphus] rpmstats Alexey Tourbin
2005-07-21  6:48       ` Anton Farygin
2005-07-21  7:29         ` Alexey Tourbin [this message]
2005-07-21  9:29           ` php-coder

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=20050721072929.GI24898@solemn.turbinal.org \
    --to=at@altlinux.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