bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sourc. can't handle /sys/block/*/uevent on Linux


From: Robert Elz
Subject: Re: sourc. can't handle /sys/block/*/uevent on Linux
Date: Tue, 15 Jul 2025 22:32:39 +0700

    Date:        Tue, 15 Jul 2025 23:17:56 +1000
    From:        Martin D Kealey <martin@kurahaupo.gen.nz>
    Message-ID:  
<CAN_U6MUo_0MfYd8DPYxgvG1RrcQ2kr-YEJ-V-qni80BF5vdAgQ@mail.gmail.com>

  | For stat to give an accurate answer, a snapshot of the content would have
  | to be generated, counted, and discarded,

Not at all - simply define the format in such a way that the size is
either known in advance (effectively fixed perhaps) or trivial to
determine.

  | All that said, I don't see why this needs to be treated as an error
  | condition.

Different issue, and I agree, it shouldn't be, but the kernel should
still be giving information that is as accurate as possible.

kre




reply via email to

[Prev in Thread] Current Thread [Next in Thread]