]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * mdadm - manage Linux "md" devices aka RAID arrays. | |
3 | * | |
4 | * Copyright (C) 2001-2009 Neil Brown <neilb@suse.de> | |
5 | * | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or modify | |
8 | * it under the terms of the GNU General Public License as published by | |
9 | * the Free Software Foundation; either version 2 of the License, or | |
10 | * (at your option) any later version. | |
11 | * | |
12 | * This program is distributed in the hope that it will be useful, | |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | * GNU General Public License for more details. | |
16 | * | |
17 | * You should have received a copy of the GNU General Public License | |
18 | * along with this program; if not, write to the Free Software | |
19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
20 | * | |
21 | * Author: Neil Brown | |
22 | * Email: <neilb@suse.de> | |
23 | */ | |
24 | ||
25 | #include "mdadm.h" | |
26 | #include "md_p.h" | |
27 | #include "md_u.h" | |
28 | #include <dirent.h> | |
29 | ||
30 | int Detail(char *dev, int brief, int export, int test, char *homehost) | |
31 | { | |
32 | /* | |
33 | * Print out details for an md array by using | |
34 | * GET_ARRAY_INFO and GET_DISK_INFO ioctl calls | |
35 | */ | |
36 | ||
37 | int fd = open(dev, O_RDONLY); | |
38 | int vers; | |
39 | mdu_array_info_t array; | |
40 | mdu_disk_info_t *disks; | |
41 | int next; | |
42 | int d; | |
43 | time_t atime; | |
44 | char *c; | |
45 | char *devices = NULL; | |
46 | int spares = 0; | |
47 | struct stat stb; | |
48 | int is_26 = get_linux_version() >= 2006000; | |
49 | int is_rebuilding = 0; | |
50 | int failed = 0; | |
51 | struct supertype *st = NULL; | |
52 | int max_disks = MD_SB_DISKS; /* just a default */ | |
53 | struct mdinfo info; | |
54 | struct mdinfo *sra; | |
55 | char *member = NULL; | |
56 | char *container = NULL; | |
57 | ||
58 | int rv = test ? 4 : 1; | |
59 | int avail_disks = 0; | |
60 | char *avail; | |
61 | ||
62 | if (fd < 0) { | |
63 | fprintf(stderr, Name ": cannot open %s: %s\n", | |
64 | dev, strerror(errno)); | |
65 | return rv; | |
66 | } | |
67 | vers = md_get_version(fd); | |
68 | if (vers < 0) { | |
69 | fprintf(stderr, Name ": %s does not appear to be an md device\n", | |
70 | dev); | |
71 | close(fd); | |
72 | return rv; | |
73 | } | |
74 | if (vers < 9000) { | |
75 | fprintf(stderr, Name ": cannot get detail for md device %s: driver version too old.\n", | |
76 | dev); | |
77 | close(fd); | |
78 | return rv; | |
79 | } | |
80 | if (ioctl(fd, GET_ARRAY_INFO, &array)<0) { | |
81 | if (errno == ENODEV) | |
82 | fprintf(stderr, Name ": md device %s does not appear to be active.\n", | |
83 | dev); | |
84 | else | |
85 | fprintf(stderr, Name ": cannot get array detail for %s: %s\n", | |
86 | dev, strerror(errno)); | |
87 | close(fd); | |
88 | return rv; | |
89 | } | |
90 | sra = sysfs_read(fd, 0, GET_VERSION); | |
91 | st = super_by_fd(fd); | |
92 | ||
93 | if (fstat(fd, &stb) != 0 && !S_ISBLK(stb.st_mode)) | |
94 | stb.st_rdev = 0; | |
95 | rv = 0; | |
96 | ||
97 | if (st) | |
98 | max_disks = st->max_devs; | |
99 | ||
100 | if (sra && is_subarray(sra->text_version) && | |
101 | strchr(sra->text_version+1, '/')) { | |
102 | /* This is a subarray of some container. | |
103 | * We want the name of the container, and the member | |
104 | */ | |
105 | char *s = strchr(sra->text_version+1, '/'); | |
106 | int dn; | |
107 | *s++ = '\0'; | |
108 | member = s; | |
109 | dn = devname2devnum(sra->text_version+1); | |
110 | container = map_dev(dev2major(dn), dev2minor(dn), 1); | |
111 | } | |
112 | ||
113 | /* try to load a superblock */ | |
114 | for (d= 0; d<max_disks; d++) { | |
115 | mdu_disk_info_t disk; | |
116 | char *dv; | |
117 | disk.number = d; | |
118 | if (ioctl(fd, GET_DISK_INFO, &disk) < 0) | |
119 | continue; | |
120 | if (d >= array.raid_disks && | |
121 | disk.major == 0 && | |
122 | disk.minor == 0) | |
123 | continue; | |
124 | if ((dv=map_dev(disk.major, disk.minor, 1))) { | |
125 | if ((!st || !st->sb) && | |
126 | (array.raid_disks == 0 || | |
127 | (disk.state & (1<<MD_DISK_ACTIVE)))) { | |
128 | /* try to read the superblock from this device | |
129 | * to get more info | |
130 | */ | |
131 | int fd2 = dev_open(dv, O_RDONLY); | |
132 | if (fd2 >=0 && st && | |
133 | st->ss->load_super(st, fd2, NULL) == 0) { | |
134 | st->ss->getinfo_super(st, &info); | |
135 | if (array.raid_disks != 0 && /* container */ | |
136 | (info.array.ctime != array.ctime || | |
137 | info.array.level != array.level)) | |
138 | st->ss->free_super(st); | |
139 | } | |
140 | if (fd2 >= 0) close(fd2); | |
141 | } | |
142 | } | |
143 | } | |
144 | ||
145 | /* Ok, we have some info to print... */ | |
146 | c = map_num(pers, array.level); | |
147 | ||
148 | if (export) { | |
149 | if (array.raid_disks) { | |
150 | if (c) | |
151 | printf("MD_LEVEL=%s\n", c); | |
152 | printf("MD_DEVICES=%d\n", array.raid_disks); | |
153 | } else { | |
154 | printf("MD_LEVEL=container\n"); | |
155 | printf("MD_DEVICES=%d\n", array.nr_disks); | |
156 | } | |
157 | if (container) { | |
158 | printf("MD_CONTAINER=%s\n", container); | |
159 | printf("MD_MEMBER=%s\n", member); | |
160 | } else { | |
161 | if (sra && sra->array.major_version < 0) | |
162 | printf("MD_METADATA=%s\n", sra->text_version); | |
163 | else | |
164 | printf("MD_METADATA=%d.%02d\n", | |
165 | array.major_version, array.minor_version); | |
166 | } | |
167 | ||
168 | if (st && st->sb) { | |
169 | struct mdinfo info; | |
170 | char nbuf[64]; | |
171 | struct map_ent *mp, *map = NULL; | |
172 | st->ss->getinfo_super(st, &info); | |
173 | fname_from_uuid(st, &info, nbuf, ':'); | |
174 | printf("MD_UUID=%s\n", nbuf+5); | |
175 | mp = map_by_uuid(&map, info.uuid); | |
176 | if (mp && mp->path && | |
177 | strncmp(mp->path, "/dev/md/", 8) == 0) | |
178 | printf("MD_DEVNAME=%s\n", mp->path+8); | |
179 | ||
180 | if (st->ss->export_detail_super) | |
181 | st->ss->export_detail_super(st); | |
182 | } else { | |
183 | struct map_ent *mp, *map = NULL; | |
184 | mp = map_by_devnum(&map, fd2devnum(fd)); | |
185 | if (mp && mp->path && | |
186 | strncmp(mp->path, "/dev/md/", 8) == 0) | |
187 | printf("MD_DEVNAME=%s\n", mp->path+8); | |
188 | } | |
189 | goto out; | |
190 | } | |
191 | ||
192 | if (brief) { | |
193 | mdu_bitmap_file_t bmf; | |
194 | printf("ARRAY %s", dev); | |
195 | if (brief > 1) { | |
196 | if (array.raid_disks) | |
197 | printf("level=%s num-devices=%d", | |
198 | c?c:"-unknown-", | |
199 | array.raid_disks ); | |
200 | else | |
201 | printf("level=container num-devices=%d", | |
202 | array.nr_disks); | |
203 | } | |
204 | if (container) { | |
205 | printf(" container=%s", container); | |
206 | printf(" member=%s", member); | |
207 | } else { | |
208 | if (sra && sra->array.major_version < 0) | |
209 | printf(" metadata=%s", sra->text_version); | |
210 | else | |
211 | printf(" metadata=%d.%02d", | |
212 | array.major_version, array.minor_version); | |
213 | } | |
214 | ||
215 | /* Only try GET_BITMAP_FILE for 0.90.01 and later */ | |
216 | if (vers >= 9001 && | |
217 | ioctl(fd, GET_BITMAP_FILE, &bmf) == 0 && | |
218 | bmf.pathname[0]) { | |
219 | printf(" bitmap=%s", bmf.pathname); | |
220 | } | |
221 | } else { | |
222 | mdu_bitmap_file_t bmf; | |
223 | unsigned long long larray_size; | |
224 | struct mdstat_ent *ms = mdstat_read(0, 0); | |
225 | struct mdstat_ent *e; | |
226 | int devnum = array.md_minor; | |
227 | if (major(stb.st_rdev) == get_mdp_major()) | |
228 | devnum = -1 - devnum; | |
229 | ||
230 | for (e=ms; e; e=e->next) | |
231 | if (e->devnum == devnum) | |
232 | break; | |
233 | if (!get_dev_size(fd, NULL, &larray_size)) | |
234 | larray_size = 0; | |
235 | ||
236 | printf("%s:\n", dev); | |
237 | ||
238 | if (container) | |
239 | printf(" Container : %s, member %s\n", container, member); | |
240 | else { | |
241 | if (sra && sra->array.major_version < 0) | |
242 | printf(" Version : %s\n", sra->text_version); | |
243 | else | |
244 | printf(" Version : %d.%02d\n", | |
245 | array.major_version, array.minor_version); | |
246 | } | |
247 | ||
248 | atime = array.ctime; | |
249 | if (atime) | |
250 | printf(" Creation Time : %.24s\n", ctime(&atime)); | |
251 | if (array.raid_disks == 0) c = "container"; | |
252 | printf(" Raid Level : %s\n", c?c:"-unknown-"); | |
253 | if (larray_size) | |
254 | printf(" Array Size : %llu%s\n", (larray_size>>10), human_size(larray_size)); | |
255 | if (array.level >= 1) { | |
256 | if (array.major_version != 0 && | |
257 | (larray_size >= 0xFFFFFFFFULL|| array.size == 0)) { | |
258 | unsigned long long dsize = get_component_size(fd); | |
259 | if (dsize > 0) | |
260 | printf(" Used Dev Size : %llu%s\n", | |
261 | dsize/2, | |
262 | human_size((long long)dsize<<9)); | |
263 | else | |
264 | printf(" Used Dev Size : unknown\n"); | |
265 | } else | |
266 | printf(" Used Dev Size : %d%s\n", array.size, | |
267 | human_size((long long)array.size<<10)); | |
268 | } | |
269 | if (array.raid_disks) | |
270 | printf(" Raid Devices : %d\n", array.raid_disks); | |
271 | printf(" Total Devices : %d\n", array.nr_disks); | |
272 | if (!container && | |
273 | ((sra == NULL && array.major_version == 0) || | |
274 | (sra && sra->array.major_version == 0))) | |
275 | printf("Preferred Minor : %d\n", array.md_minor); | |
276 | if (sra == NULL || sra->array.major_version >= 0) | |
277 | printf(" Persistence : Superblock is %spersistent\n", | |
278 | array.not_persistent?"not ":""); | |
279 | printf("\n"); | |
280 | /* Only try GET_BITMAP_FILE for 0.90.01 and later */ | |
281 | if (vers >= 9001 && | |
282 | ioctl(fd, GET_BITMAP_FILE, &bmf) == 0 && | |
283 | bmf.pathname[0]) { | |
284 | printf(" Intent Bitmap : %s\n", bmf.pathname); | |
285 | printf("\n"); | |
286 | } else if (array.state & (1<<MD_SB_BITMAP_PRESENT)) | |
287 | printf(" Intent Bitmap : Internal\n\n"); | |
288 | atime = array.utime; | |
289 | if (atime) | |
290 | printf(" Update Time : %.24s\n", ctime(&atime)); | |
291 | if (array.raid_disks) | |
292 | printf(" State : %s%s%s%s\n", | |
293 | (array.state&(1<<MD_SB_CLEAN))?"clean":"active", | |
294 | array.active_disks < array.raid_disks? ", degraded":"", | |
295 | (!e || e->percent < 0) ? "" : | |
296 | (e->resync) ? ", resyncing": ", recovering", | |
297 | larray_size ? "": ", Not Started"); | |
298 | if (array.raid_disks) | |
299 | printf(" Active Devices : %d\n", array.active_disks); | |
300 | printf("Working Devices : %d\n", array.working_disks); | |
301 | if (array.raid_disks) { | |
302 | printf(" Failed Devices : %d\n", array.failed_disks); | |
303 | printf(" Spare Devices : %d\n", array.spare_disks); | |
304 | } | |
305 | printf("\n"); | |
306 | if (array.level == 5) { | |
307 | c = map_num(r5layout, array.layout); | |
308 | printf(" Layout : %s\n", c?c:"-unknown-"); | |
309 | } | |
310 | if (array.level == 10) { | |
311 | printf(" Layout :"); | |
312 | print_r10_layout(array.layout); | |
313 | printf("\n"); | |
314 | } | |
315 | switch (array.level) { | |
316 | case 0: | |
317 | case 4: | |
318 | case 5: | |
319 | case 10: | |
320 | case 6: | |
321 | if (array.chunk_size) | |
322 | printf(" Chunk Size : %dK\n\n", | |
323 | array.chunk_size/1024); | |
324 | break; | |
325 | case -1: | |
326 | printf(" Rounding : %dK\n\n", array.chunk_size/1024); | |
327 | break; | |
328 | default: break; | |
329 | } | |
330 | ||
331 | if (e && e->percent >= 0) { | |
332 | printf(" Re%s Status : %d%% complete\n", | |
333 | (st && st->sb && info.reshape_active)? | |
334 | "shape":"build", | |
335 | e->percent); | |
336 | is_rebuilding = 1; | |
337 | } | |
338 | free_mdstat(ms); | |
339 | ||
340 | if (st->sb && info.reshape_active) { | |
341 | #if 0 | |
342 | This is pretty boring | |
343 | printf(" Reshape pos'n : %llu%s\n", (unsigned long long) info.reshape_progress<<9, | |
344 | human_size(info.reshape_progress<<9)); | |
345 | #endif | |
346 | if (info.delta_disks > 0) | |
347 | printf(" Delta Devices : %d, (%d->%d)\n", | |
348 | info.delta_disks, array.raid_disks - info.delta_disks, array.raid_disks); | |
349 | if (info.delta_disks < 0) | |
350 | printf(" Delta Devices : %d, (%d->%d)\n", | |
351 | info.delta_disks, array.raid_disks, array.raid_disks + info.delta_disks); | |
352 | if (info.new_level != array.level) { | |
353 | char *c = map_num(pers, info.new_level); | |
354 | printf(" New Level : %s\n", c?c:"-unknown-"); | |
355 | } | |
356 | if (info.new_level != array.level || | |
357 | info.new_layout != array.layout) { | |
358 | if (info.new_level == 5) { | |
359 | char *c = map_num(r5layout, info.new_layout); | |
360 | printf(" New Layout : %s\n", | |
361 | c?c:"-unknown-"); | |
362 | } | |
363 | if (info.new_level == 10) { | |
364 | printf(" New Layout : near=%d, %s=%d\n", | |
365 | info.new_layout&255, | |
366 | (info.new_layout&0x10000)?"offset":"far", | |
367 | (info.new_layout>>8)&255); | |
368 | } | |
369 | } | |
370 | if (info.new_chunk != array.chunk_size) | |
371 | printf(" New Chunksize : %dK\n", info.new_chunk/1024); | |
372 | printf("\n"); | |
373 | } else if (e && e->percent >= 0) | |
374 | printf("\n"); | |
375 | if (st && st->sb) | |
376 | st->ss->detail_super(st, homehost); | |
377 | ||
378 | if (array.raid_disks == 0 && sra && sra->array.major_version == -1 | |
379 | && sra->array.minor_version == -2 && sra->text_version[0] != '/') { | |
380 | /* This looks like a container. Find any active arrays | |
381 | * That claim to be a member. | |
382 | */ | |
383 | DIR *dir = opendir("/sys/block"); | |
384 | struct dirent *de; | |
385 | ||
386 | printf(" Member Arrays :"); | |
387 | ||
388 | while (dir && (de = readdir(dir)) != NULL) { | |
389 | char path[200]; | |
390 | char vbuf[1024]; | |
391 | int nlen = strlen(sra->sys_name); | |
392 | int dn; | |
393 | if (de->d_name[0] == '.') | |
394 | continue; | |
395 | sprintf(path, "/sys/block/%s/md/metadata_version", | |
396 | de->d_name); | |
397 | if (load_sys(path, vbuf) < 0) | |
398 | continue; | |
399 | if (strncmp(vbuf, "external:", 9) != 0 || | |
400 | !is_subarray(sra->sys_name+9) || | |
401 | strncmp(vbuf+10, sra->sys_name, nlen) != 0 || | |
402 | vbuf[10+nlen] != '/') | |
403 | continue; | |
404 | dn = devname2devnum(de->d_name); | |
405 | printf(" %s", map_dev(dev2major(dn), | |
406 | dev2minor(dn), 1)); | |
407 | } | |
408 | if (dir) | |
409 | closedir(dir); | |
410 | printf("\n\n"); | |
411 | } | |
412 | ||
413 | if (array.raid_disks) | |
414 | printf(" Number Major Minor RaidDevice State\n"); | |
415 | else | |
416 | printf(" Number Major Minor RaidDevice\n"); | |
417 | } | |
418 | disks = malloc(max_disks * sizeof(mdu_disk_info_t)); | |
419 | for (d=0; d<max_disks; d++) { | |
420 | disks[d].state = (1<<MD_DISK_REMOVED); | |
421 | disks[d].major = disks[d].minor = 0; | |
422 | disks[d].number = disks[d].raid_disk = d; | |
423 | } | |
424 | ||
425 | next = array.raid_disks; | |
426 | for (d=0; d < max_disks; d++) { | |
427 | mdu_disk_info_t disk; | |
428 | disk.number = d; | |
429 | if (ioctl(fd, GET_DISK_INFO, &disk) < 0) { | |
430 | if (d < array.raid_disks) | |
431 | fprintf(stderr, Name ": cannot get device detail for device %d: %s\n", | |
432 | d, strerror(errno)); | |
433 | continue; | |
434 | } | |
435 | if (disk.major == 0 && disk.minor == 0) | |
436 | continue; | |
437 | if (disk.raid_disk >= 0 && disk.raid_disk < array.raid_disks) | |
438 | disks[disk.raid_disk] = disk; | |
439 | else if (next < max_disks) | |
440 | disks[next++] = disk; | |
441 | } | |
442 | ||
443 | avail = calloc(array.raid_disks, 1); | |
444 | for (d= 0; d < max_disks; d++) { | |
445 | char *dv; | |
446 | mdu_disk_info_t disk = disks[d]; | |
447 | ||
448 | if (d >= array.raid_disks && | |
449 | disk.major == 0 && | |
450 | disk.minor == 0) | |
451 | continue; | |
452 | if (!brief) { | |
453 | if (d == array.raid_disks) printf("\n"); | |
454 | if (disk.raid_disk < 0) | |
455 | printf(" %5d %5d %5d - ", | |
456 | disk.number, disk.major, disk.minor); | |
457 | else | |
458 | printf(" %5d %5d %5d %5d ", | |
459 | disk.number, disk.major, disk.minor, disk.raid_disk); | |
460 | } | |
461 | if (!brief && array.raid_disks) { | |
462 | ||
463 | if (disk.state & (1<<MD_DISK_FAULTY)) { | |
464 | printf(" faulty"); | |
465 | if (disk.raid_disk < array.raid_disks && | |
466 | disk.raid_disk >= 0) | |
467 | failed++; | |
468 | } | |
469 | if (disk.state & (1<<MD_DISK_ACTIVE)) printf(" active"); | |
470 | if (disk.state & (1<<MD_DISK_SYNC)) printf(" sync"); | |
471 | if (disk.state & (1<<MD_DISK_REMOVED)) printf(" removed"); | |
472 | if (disk.state & (1<<MD_DISK_WRITEMOSTLY)) printf(" writemostly"); | |
473 | if ((disk.state & | |
474 | ((1<<MD_DISK_ACTIVE)|(1<<MD_DISK_SYNC)|(1<<MD_DISK_REMOVED))) | |
475 | == 0) { | |
476 | printf(" spare"); | |
477 | if (is_26) { | |
478 | if (disk.raid_disk < array.raid_disks && disk.raid_disk >= 0) | |
479 | printf(" rebuilding"); | |
480 | } else if (is_rebuilding && failed) { | |
481 | /* Taking a bit of a risk here, we remove the | |
482 | * device from the array, and then put it back. | |
483 | * If this fails, we are rebuilding | |
484 | */ | |
485 | int err = ioctl(fd, HOT_REMOVE_DISK, makedev(disk.major, disk.minor)); | |
486 | if (err == 0) ioctl(fd, HOT_ADD_DISK, makedev(disk.major, disk.minor)); | |
487 | if (err && errno == EBUSY) | |
488 | printf(" rebuilding"); | |
489 | } | |
490 | } | |
491 | } | |
492 | if (disk.state == 0) spares++; | |
493 | if (test && d < array.raid_disks | |
494 | && !(disk.state & (1<<MD_DISK_SYNC))) | |
495 | rv |= 1; | |
496 | if (d < array.raid_disks | |
497 | && (disk.state & (1<<MD_DISK_SYNC))) { | |
498 | avail_disks ++; | |
499 | avail[d] = 1; | |
500 | } | |
501 | if ((dv=map_dev(disk.major, disk.minor, 0))) { | |
502 | if (brief) { | |
503 | if (devices) { | |
504 | devices = realloc(devices, | |
505 | strlen(devices)+1+strlen(dv)+1); | |
506 | strcat(strcat(devices,","),dv); | |
507 | } else | |
508 | devices = strdup(dv); | |
509 | } else | |
510 | printf(" %s", dv); | |
511 | } | |
512 | if (!brief) printf("\n"); | |
513 | } | |
514 | if (spares && brief && array.raid_disks) printf(" spares=%d", spares); | |
515 | if (brief && st && st->sb) | |
516 | st->ss->brief_detail_super(st); | |
517 | st->ss->free_super(st); | |
518 | ||
519 | if (brief > 1 && devices) printf("\n devices=%s", devices); | |
520 | if (brief) printf("\n"); | |
521 | if (test && | |
522 | !enough(array.level, array.raid_disks, array.layout, | |
523 | 1, avail, avail_disks)) | |
524 | rv = 2; | |
525 | ||
526 | out: | |
527 | close(fd); | |
528 | return rv; | |
529 | } | |
530 | ||
531 | int Detail_Platform(struct superswitch *ss, int scan, int verbose) | |
532 | { | |
533 | /* display platform capabilities for the given metadata format | |
534 | * 'scan' in this context means iterate over all metadata types | |
535 | */ | |
536 | int i; | |
537 | int err = 1; | |
538 | ||
539 | if (ss && ss->detail_platform) | |
540 | err = ss->detail_platform(verbose, 0); | |
541 | else if (ss) { | |
542 | if (verbose) | |
543 | fprintf(stderr, Name ": %s metadata is platform independent\n", | |
544 | ss->name ? : "[no name]"); | |
545 | } else if (!scan) { | |
546 | if (verbose) | |
547 | fprintf(stderr, Name ": specify a metadata type or --scan\n"); | |
548 | } | |
549 | ||
550 | if (!scan) | |
551 | return err; | |
552 | ||
553 | for (i = 0; superlist[i]; i++) { | |
554 | struct superswitch *meta = superlist[i]; | |
555 | ||
556 | if (meta == ss) | |
557 | continue; | |
558 | if (verbose) | |
559 | fprintf(stderr, Name ": checking metadata %s\n", | |
560 | meta->name ? : "[no name]"); | |
561 | if (!meta->detail_platform) { | |
562 | if (verbose) | |
563 | fprintf(stderr, Name ": %s metadata is platform independent\n", | |
564 | meta->name ? : "[no name]"); | |
565 | } else | |
566 | err |= meta->detail_platform(verbose, 0); | |
567 | } | |
568 | ||
569 | return err; | |
570 | } |