xref: /freebsd/sys/contrib/openzfs/man/man8/zfs_ids_to_path.8 (revision 058ac3e8063366dafa634d9107642e12b038bf09)
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 https://opensource.org/licenses/CDDL-1.0.
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.\" Copyright (c) 2020 by Delphix. All rights reserved.
22.\"
23.Dd April 17, 2020
24.Dt ZFS_IDS_TO_PATH 8
25.Os
26.
27.Sh NAME
28.Nm zfs_ids_to_path
29.Nd convert objset and object ids to names and paths
30.Sh SYNOPSIS
31.Nm
32.Op Fl v
33.Ar pool
34.Ar objset-id
35.Ar object-id
36.
37.Sh DESCRIPTION
38The
39.Sy zfs_ids_to_path
40utility converts a provided objset and object ids
41into a path to the file they refer to.
42.Bl -tag -width "-D"
43.It Fl v
44Verbose.
45Print the dataset name and the file path within the dataset separately.
46This will work correctly even if the dataset is not mounted.
47.El
48.
49.Sh SEE ALSO
50.Xr zdb 8 ,
51.Xr zfs 8
52