> On Tue, 26 Mar 2024 13:36:44 +, Florian Goth
> said:
> OK, on my system, in a fai-nfsroot for bookworm
> the group of /dev/sda was root, and this was also returned by this stat
command.
This may happen if you do not use systemd inside the nfsroot for
bookworm with FAI 6.2
: [EXT] Re: Bug#1067517: found bug in checkdisk
>>>>> On Mon, 25 Mar 2024 11:57:10 +, Florian Goth
>>>>> said:
> stat -c %G
> returns the group of the owner, but nothing related to a device type.
And this group is "disk" in case it's a disk.
--
viele Grüße Thomas
> On Mon, 25 Mar 2024 11:57:10 +, Florian Goth
> said:
> stat -c %G
> returns the group of the owner, but nothing related to a device type.
And this group is "disk" in case it's a disk.
--
viele Grüße Thomas
Hi everyone,
further debugging allowed me to find the root cause.
I think there is a bug in line 1356 of the function checkdisk in subroutines:
$(stat -c %G /dev/$device) = "disk"
According to the manuals I found
(https://man7.org/linux/man-pages/man1/stat.1.html)
stat -c %G
returns the gr
4 matches
Mail list logo