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 #1

Updated by Bill Pijewski over 11 years ago

In addition, I'll introduce the ZDB_PATH environment variable, which indicates to ztest where to find the zdb tool.

Actions #2

Updated by hyy asd over 11 years ago

[spam]

Actions

Also available in: Atom PDF