This change modifies WithLinuxDevice to take an option `followSymlink` and be unexported as `withLinuxDevice`. An option `WithLinuxDeviceFollowSymlinks` will call this unexported option to follow a symlink, which will resolve a symlink before calling `DeviceFromPath`. `WithLinuxDevice` has been changed to call `withLinuxDevice` without following symlinks. Signed-off-by: Gavin Inglis <giinglis@amazon.com>
14 KiB
14 KiB