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
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

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

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

pacpal --list-unpkgd [paths]

smile


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

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

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

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: 2,000
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
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

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

Where would I get the list of checksums?


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

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

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,000
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: 2,000
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,839

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
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

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

huh?


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB