xref: /freebsd/sys/contrib/openzfs/man/man8/zfs_ids_to_path.8 (revision ca53e5aedfebcc1b4091b68e01b2d5cae923f85e)
1.\"
2.\" CDDL HEADER START
3.\"
4.\" The contents of this file are subject to the terms of the
5.\" Common Development and Distribution License (the "License").
6.\" You may not use this file except in compliance with the License.
7.\"
8.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9.\" or http://www.opensolaris.org/os/licensing.
10.\" See the License for the specific language governing permissions
11.\" and limitations under the License.
12.\"
13.\" When distributing Covered Code, include this CDDL HEADER in each
14.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15.\" If applicable, add the following below this CDDL HEADER, with the
16.\" fields enclosed by brackets "[]" replaced with your own identifying
17.\" information: Portions Copyright [yyyy] [name of copyright owner]
18.\"
19.\" CDDL HEADER END
20.\"
21.\"
22.\" Copyright (c) 2020 by Delphix. All rights reserved.
23.Dd April 17, 2020
24.Dt ZFS_IDS_TO_PATH 8
25.Os
26.Sh NAME
27.Nm zfs_ids_to_path
28.Nd convert objset and object ids to names and paths
29.Sh SYNOPSIS
30.Nm
31.Op Fl v
32.Ar pool
33.Ar objset id
34.Ar object id
35.Nm
36.Sh DESCRIPTION
37.Pp
38.LP
39The
40.Sy zfs_ids_to_path
41utility converts a provided objset and object id into a path to the file that
42those ids refer to.
43.Bl -tag -width "-D"
44.It Fl v
45Verbose.
46Print the dataset name and the file path within the dataset separately. This
47will work correctly even if the dataset is not mounted.
48.Sh SEE ALSO
49.Xr zfs 8 ,
50.Xr zdb 8
51