You are not logged in.

#1 2010-02-04 22:04:41

windowbreaker
Member
Registered: 2008-06-18
Posts: 46

How to list "unowned" files on my filesystem

I'd like to get a listing of all files on my filesystem that are not owned by any currently-installed packages.  I need to specify which directories to exclude, such as /var, /proc, /dev, /tmp, etc.  Is there a tool/utility to do that?  I could write a script for it, but don't want to reinvent the wheel if there's already a way to see that information.

Offline

#2 2010-02-04 22:20:26

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,632
Website

Re: How to list "unowned" files on my filesystem

http://xyne.archlinux.ca/info/pacpal

pacpal --list-unpkgd [paths]

smile

Offline

#3 2010-02-04 22:21:18

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,058

Re: How to list "unowned" files on my filesystem

Offline

#4 2010-02-05 17:58:14

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 1,958
Website

Re: How to list "unowned" files on my filesystem

Xyne wrote:

http://xyne.archlinux.ca/info/pacpal

pacpal --list-unpkgd [paths]

smile

that's cool.
maybe you could also implement a `--find-corrupted-pkgs` that checks the checksums of all files in packages.


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#5 2010-02-06 00:17:45

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,632
Website

Re: How to list "unowned" files on my filesystem

Where would I get the list of checksums?

Offline

#6 2010-02-08 20:32:44

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 1,958
Website

Re: How to list "unowned" files on my filesystem

Xyne wrote:

Where would I get the list of checksums?

hmm I must be mistaken.  I thought there was such a file inside package tarballs. too bad..


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#7 2010-02-08 21:37:00

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 1,958
Website

Re: How to list "unowned" files on my filesystem

tomk: i see what you did there smile


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#8 2010-02-08 21:37:39

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,837

Re: How to list "unowned" files on my filesystem

Well.. sometimes it's good to be a mod. tongue

Offline

#9 2010-02-09 01:23:01

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,632
Website

Re: How to list "unowned" files on my filesystem

huh?

Offline

Board footer

Powered by FluxBB