Lines Matching defs:volume
43 printf("usage: %s [ -ef ] [ -a || -v <path-to-volume> ] expression\n"
48 " -v <file>\tperform the query on just one volume; <file> can be any\n"
49 "\t\tfile on that volume. Defaults to the current volume.\n"
57 perform_query(BVolume &volume, const char *predicate)
60 query.SetVolume(&volume);
120 // Which volume do we make the query on?
121 // Default to the current volume.
151 BVolume volume;
154 // Find the volume that the query should be performed on,
162 status_t status = entry.GetVolume(&volume);
164 fprintf(stderr, "%s: could not get volume: %s\n", kProgramName, strerror(status));
168 if (!volume.KnowsQuery())
169 fprintf(stderr, "%s: volume containing %s is not query-enabled\n", kProgramName, volumePath);
171 perform_query(volume, argv[optind]);
176 while (volumeRoster.GetNextVolume(&volume) == B_OK) {
179 if (volume.KnowsQuery())
180 perform_query(volume, argv[optind]);