You are not logged in.

#1 2005-04-30 12:38:38

leeghoofd
Member
From: the Netherlands
Registered: 2005-04-28
Posts: 61

Why is there a FILELIST in a package?

Why is there a .FILELIST in a package?

If all the files are in a package than pacman can generate this while you install the package, or do I forget something?

Thanks,
David

Offline

#2 2005-04-30 13:40:33

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: Why is there a FILELIST in a package?

pacman -Ql foo


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#3 2005-04-30 14:23:09

fetreney2000
Member
From: Malaysia
Registered: 2005-02-01
Posts: 81

Re: Why is there a FILELIST in a package?

The .FILELIST file is generated during the creation of a package to keep track all files and directory contained in the package.

Offline

#4 2005-04-30 14:24:10

leeghoofd
Member
From: the Netherlands
Registered: 2005-04-28
Posts: 61

Re: Why is there a FILELIST in a package?

miqorz,

That command shows the files a package uses but why is this in a seperated file. Isn't it possible  that when pacman installs foo that it sees what files are in the package and generates a list?

Offline

#5 2005-04-30 14:30:10

leeghoofd
Member
From: the Netherlands
Registered: 2005-04-28
Posts: 61

Re: Why is there a FILELIST in a package?

fetreney2000,

What do you mean with 'keep track'. All the files are gzipped in a tarball so they can't get lost, can they?

I'm sure there's a good reason to have the .FILELIST but I think it would be more logic that the list is created during the installation and not during the creation of the package

Offline

#6 2005-04-30 15:53:00

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Why is there a FILELIST in a package?

it's a minor performance optimization - it's faster to read a file than to unzip a tarball and scan all files unzipped...

it adds almost nothing to the package size, so it's really not important...

Offline

#7 2005-04-30 15:59:55

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: Why is there a FILELIST in a package?

phrakture wrote:

it's a minor performance optimization - it's faster to read a file than to unzip a tarball and scan all files unzipped...

it adds almost nothing to the package size, so it's really not important...

Not to mention it makes a HELL of alot more sense to do it BEFORE the install to avoid file conflicts and it makes finding them faster.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#8 2005-04-30 21:53:08

leeghoofd
Member
From: the Netherlands
Registered: 2005-04-28
Posts: 61

Re: Why is there a FILELIST in a package?

ok you convinced me smile

thanks for clearing this up,
david

Offline

#9 2005-04-30 23:16:17

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Why is there a FILELIST in a package?

it makes it faster to check what files will be installed with the package, that's the only reason I can think of,


arch + gentoo + initng + python = enlisy

Offline

Board footer

Powered by FluxBB