Project

General

Profile

Actions

Bug #2748

open

ztest has unnecessary dependencies on its directory

Added by Bill Pijewski over 11 years ago. Updated over 11 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2012-05-17
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

The ztest utility (used to test the ZFS kernel module in userland, among other things) has an oddity which makes it difficult to use:

It assumes that, if running /usr/bin/amd64/ztest, that zdb must be present in /usr/sbin/amd64/zdb. Which makes sense, except that we (SmartOS) don't deliver ztest and zdb in our platform, rendering those tools useless unless they're delivered with the platform. In addition, ztest will dump core if it doesn't find zdb.

Actions

Also available in: Atom PDF