Re: [OpenIndiana-discuss] How to index all files on a oi system
On 03/17/11 08:05 AM, Jeppe Toustrup wrote: It is in the repository as the package pkg:/file/slocate. When soemone says "index all files on system", I firstly think about system service that is doing its searching in the background and make sure searching is taking less time when it is needed. Like beagle and tracker on gnu/Linux. As I see, Tracker is there inside OI_148 publisher. ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] How to index all files on a oi system
2011/3/16 Harry Putnam : > It does not appear to be available as a pkg on oi 147 with > publisher set like this: > > PUBLISHER TYPE STATUS URI > openindiana.org (pref) origin online http://pkg.openindiana.org/dev/ > opensolaris.org origin online http://pkg.openindiana.org/legacy/ It is in the repository as the package pkg:/file/slocate. -- Venlig hilsen / Kind regards Jeppe Toustrup (aka. Tenzer) ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] How to index all files on a oi system
Matt Connolly writes: > Perhaps you might be interested in installing the "locate" command from gnu > findutils: > > http://www.gnu.org/software/findutils/ > > It's installed by default on Mac OSX systems, and is really handy. There's > probably some very good security reasons that it's not installed by default > on OpenIndiana. Thanks Matt Yikes, I forgot all about locate. I never have got onto using it, and always went with some incantation of find. Seems like several times I tried it and the db was not up to date and so first had to update that... even with some cron run update scheme, etc etc... so never really bothered with it. But for what I want right now... it would be just the ticket, I think. It does not appear to be available as a pkg on oi 147 with publisher set like this: PUBLISHER TYPE STATUS URI openindiana.org (pref) origin online http://pkg.openindiana.org/dev/ opensolaris.orgorigin online http://pkg.openindiana.org/legacy/ Did you mean to compile it from source? ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] How to index all files on a oi system
Perhaps you might be interested in installing the "locate" command from gnu findutils: http://www.gnu.org/software/findutils/ It's installed by default on Mac OSX systems, and is really handy. There's probably some very good security reasons that it's not installed by default on OpenIndiana. -Matt On 16 March 2011 07:14, Harry Putnam wrote: > If you wanted a list of all the files on a host (4 smallish zfs > filesystem...probably 10s of thousands, but nothing much compared to many > users here) > > Does zfs offer anything special for something like that? > > If not, then is there some better way than running 'find' on all the > drives and compiling a list from it. > > Some kind of sorted plain text list would be good, I > think Something that could be easily grepped with common grep > commands, so not a data base type file. > > > ___ > OpenIndiana-discuss mailing list > OpenIndiana-discuss@openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] How to index all files on a oi system
If you wanted a list of all the files on a host (4 smallish zfs filesystem...probably 10s of thousands, but nothing much compared to many users here) Does zfs offer anything special for something like that? If not, then is there some better way than running 'find' on all the drives and compiling a list from it. Some kind of sorted plain text list would be good, I think Something that could be easily grepped with common grep commands, so not a data base type file. ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss