Re: [pve-devel] [PATCH common v2 1/2] add get_device_stat helper subroutine

2024-04-16 Thread Filip Schauer
Patch v3 is available: https://lists.proxmox.com/pipermail/pve-devel/2024-April/062989.html On 15/04/2024 15:54, Fiona Ebner wrote: Am 15.04.24 um 15:17 schrieb Filip Schauer: The get_device_stat subroutine gets a device path, validates it, and returns the file mode and the device identifier.

Re: [pve-devel] [PATCH common v2 1/2] add get_device_stat helper subroutine

2024-04-15 Thread Fiona Ebner
Am 15.04.24 um 15:17 schrieb Filip Schauer: > The get_device_stat subroutine gets a device path, validates it, and > returns the file mode and the device identifier. > > Signed-off-by: Filip Schauer > --- > src/PVE/Tools.pm | 18 +- > 1 file changed, 17 insertions(+), 1

[pve-devel] [PATCH common v2 1/2] add get_device_stat helper subroutine

2024-04-15 Thread Filip Schauer
The get_device_stat subroutine gets a device path, validates it, and returns the file mode and the device identifier. Signed-off-by: Filip Schauer --- src/PVE/Tools.pm | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm