HomeFreeBSD

Fix printing File() nodes in device paths.

Description

Fix printing File() nodes in device paths.

Device paths encoded into the FILEPATH_DEVICE_PATH are UCS2 not
ASCII/UTF8. Convert to utf8 and print that when printing File
paths. Also, since File may be at the end of a long device path,
output File() around the path so it doesn't just show up as random
nodes that might accidentally match real node paths names and cause
errors.

Details

Provenance
impAuthored on
Parents
rS323055: Fix zfs_upgraded tests for zpool version 5000
Branches
Unknown
Tags
Unknown