You are not logged in.
In gentoo was it
sys-apps/readahead-list
Latest version available: 1.20060421.1016
Latest version installed: [ Not Installed ]
Size of files: 105 kB
Homepage: http://www.orbis-terrarum.net
Description: Preloads files into the page cache to accelerate program loading.
License: GPL-2
I don't see anything in aur or repo
Offline
There's preload in AUR, it ought to do something similar.
Offline
why readhead is not present in arch
Offline
Why can't I even find it following given URL?
-edit-
Found it here.
Creating PKGBUILD for non-packaged software is usually a trivial task. If you don't want to play with it or just don't know how (exquisite information available in the wiki), post in the AUR request forum and someone will probably do it for you.
Last edited by lucke (2007-08-26 21:01:35)
Offline
Ok
Offline
I made a pkgbuild for it. It builds fine but I haven't used the program yet so if you want test it.
pkgname=readahead-list
pkgver=0.20050517.0220
pkgrel=1
pkgdesc="Preloads files into the page cache to accelerate program loading"
url="http://research.iat.sfu.ca/custom-software/readahead-list/"
arch=('i686')
license=('GPL2')
depends=()
source=(http://research.iat.sfu.ca/custom-software/readahead-list/${pkgname}-${pkgver}.tar.bz2)
md5sums=('241bfc0f365424d55ddbca406cb9171f')
build(){
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=$startdir/pkg install || return 1
}
/edit ok i installed it and tested it. It works.
Last edited by droog (2007-08-27 00:41:51)
Offline
it works me too
THX
Offline
How do I use this app with arch? The man page doesn't help at all.
Offline
Ok.. Let me rephrase.
As I understand gentoo's wikipage readaheads main feature is to speed up boot time.
So I supposed to create a list of items (modules, apps, etc) in a file and run it with readahead.
Do I add readahead-list to rc.conf?
Does my newbieness shine through?
Thanks
Offline
quick example for you, just for a test i made a file in my home dir called readahead.list and put this in it
/usr/bin/thunar
/usr/bin/fluxbox
/usr/bin/conky
/usr/bin/rox
/usr/bin/pypanel
then ran the program like this
[droog@Neverwinter doc]$ readahead-list --verbose /home/droog/readahead.list
Loaded list:/home/droog/readahead.list
Loaded file:/usr/bin/thunar
Loaded file:/usr/bin/fluxbox
Loaded file:/usr/bin/conky
Loaded file:/usr/bin/rox
Loaded file:/usr/bin/pypanel
[droog@Neverwinter doc]$
I haven't tested if it speeds anything up and probably won't be using this.
It looks like it is usually used to speed up boot and such, im not much into that kind of thing but could make an rc.d script to start it or something.
also looks like it could use an /etc/readahead-list/ directory to hold the list files.
Offline
Thank you for your help.
I made a simple script, which I *think* is now being run as a daemon. Can't feel a whole lot of difference though, perhaps openbox is starting up a bit snappier.
Offline
most active version of that thing (and there are a lot of similar projects) would probably be:
https://hosted.fedoraproject.org/projects/readahead/
Offline
I followed the directions in the PKGBUILD, i think, and this is what I got when I ran make:
make all-recursive
make[1]: Entering directory `/home/peterw/Src/readahead-list-0.20050517.0220'
Making all in m4
make[2]: Entering directory `/home/peterw/Src/readahead-list-0.20050517.0220/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/peterw/Src/readahead-list-0.20050517.0220/m4'
Making all in src
make[2]: Entering directory `/home/peterw/Src/readahead-list-0.20050517.0220/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -W -MT filelist-order.o -MD -MP -MF ".deps/filelist-order.Tpo" -c -o filelist-order.o filelist-order.cxx; \
then mv -f ".deps/filelist-order.Tpo" ".deps/filelist-order.Po"; else rm -f ".deps/filelist-order.Tpo"; exit 1; fi
filelist-order.cxx:55: warning: deprecated conversion from string constant to 'char*'
filelist-order.cxx:56: warning: deprecated conversion from string constant to 'char*'
filelist-order.cxx:57: warning: deprecated conversion from string constant to 'char*'
filelist-order.cxx:77: warning: deprecated conversion from string constant to 'char*'
filelist-order.cxx:88: warning: 'typedef' was ignored in this declaration
filelist-order.cxx:97: warning: type qualifiers ignored on function return type
filelist-order.cxx:111: warning: type qualifiers ignored on function return type
filelist-order.cxx:112: warning: type qualifiers ignored on function return type
filelist-order.cxx:113: warning: type qualifiers ignored on function return type
filelist-order.cxx:114: warning: type qualifiers ignored on function return type
filelist-order.cxx:115: warning: type qualifiers ignored on function return type
filelist-order.cxx:116: warning: type qualifiers ignored on function return type
filelist-order.cxx:117: warning: type qualifiers ignored on function return type
filelist-order.cxx:118: warning: type qualifiers ignored on function return type
filelist-order.cxx:119: warning: type qualifiers ignored on function return type
filelist-order.cxx:120: warning: type qualifiers ignored on function return type
filelist-order.cxx:121: warning: type qualifiers ignored on function return type
filelist-order.cxx:122: warning: type qualifiers ignored on function return type
filelist-order.cxx:123: warning: type qualifiers ignored on function return type
filelist-order.cxx:124: warning: type qualifiers ignored on function return type
filelist-order.cxx:128: warning: type qualifiers ignored on function return type
filelist-order.cxx:129: warning: type qualifiers ignored on function return type
filelist-order.cxx:130: warning: type qualifiers ignored on function return type
filelist-order.cxx:131: warning: type qualifiers ignored on function return type
filelist-order.cxx:132: warning: type qualifiers ignored on function return type
filelist-order.cxx:133: warning: type qualifiers ignored on function return type
filelist-order.cxx:134: warning: type qualifiers ignored on function return type
filelist-order.cxx:135: warning: type qualifiers ignored on function return type
filelist-order.cxx:136: warning: type qualifiers ignored on function return type
filelist-order.cxx:137: warning: type qualifiers ignored on function return type
filelist-order.cxx:138: warning: type qualifiers ignored on function return type
filelist-order.cxx:139: warning: type qualifiers ignored on function return type
filelist-order.cxx:140: warning: type qualifiers ignored on function return type
filelist-order.cxx:141: warning: type qualifiers ignored on function return type
filelist-order.cxx:143: warning: type qualifiers ignored on function return type
filelist-order.cxx: In function 'void skel_command_msg_exit(FILE*, char*, unsigned char)':
filelist-order.cxx:336: error: 'exit' was not declared in this scope
filelist-order.cxx: In function 'void process_opts(int, char**)':
filelist-order.cxx:552: error: 'exit' was not declared in this scope
filelist-order.cxx:557: warning: deprecated conversion from string constant to 'char*'
filelist-order.cxx: At global scope:
filelist-order.cxx:56: warning: 'program_header' defined but not used
filelist-order.cxx:57: warning: 'program_id' defined but not used
make[2]: *** [filelist-order.o] Error 1
make[2]: Leaving directory `/home/peterw/Src/readahead-list-0.20050517.0220/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/peterw/Src/readahead-list-0.20050517.0220'
make: *** [all] Error 2
Am I missing something in my toolchain, or did I do something else wrong?
Oh yeah, running Arch 64 which had everything updated just a few days ago.
EDIT: Ok, I found a patch used when debian compiles the package to update it for gcc 4.3 it compiles but the errors are still there, the process just doesn't error out.
Last edited by peterw (2008-12-26 21:34:21)
Offline
You aren't supposed to "Follow the instructions in the PKGBUILD". You should use makepkg to build the package, and then install it with "pacman -U <package>". You should edit the PKGBIULD to include the patch, and mention it on the package's AUR page.
Offline
What do you mean you "followed the directions in the PKGBUILD"? The PKGBUILD is a set of instructions for "makepkg". Place the PKGBUILD in its own directory, then "cd" into it and just run "makepkg" if you want to build it.
The PKGBUILD contains the line "arch=('i686')" btw, which indicates that it can't build on x86_64. For future reference, if you want to try building it on x86_64, just change the line to "arch=('i686' 'x86_64')" and then run "makepkg" (I've tried doing that for this package and can confirm that it doesn't work).
Last edited by Xyne (2008-12-26 22:47:25)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline