[prev in list] [next in list] [prev in thread] [next in thread]
List: haiku-bugs
Subject: [haiku-bugs] Re: [Haiku] #16811: packagefs: KDL when scanning partition with DiskUsage
From: "Haiku" <trac () haiku-os ! org>
Date: 2021-02-23 7:29:09
Message-ID: 055.b23ebaf7cb2ddf6d18963b7612982c2c () haiku-os ! org
[Download RAW message or body]
--==============‡88245845064588179=MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
#16811: packagefs: KDL when scanning partition with DiskUsage
-------------------------------------+----------------------------
Reporter: X512 | Owner: bonefish
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: File Systems/packagefs | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Platform: All |
-------------------------------------+----------------------------
Comment (by pulkomandy):
Replying to [comment:2 X512]:
> DiskUsage probably should not scan packagefs directories at all because
it will produce false disc usage numbers. Only package files takes disk
space.
I already implemented the filtering in DiskUsage. It still browse the
packaged directory because it needs to access non-packaged, settings, and
other shine-through directories. But fir each file it checks the device it
is stored on (from the dev_t in entry_ref), and ignores the ones that are
in another device than the one being scanned.
https://git.haiku-
os.org/haiku/commit/src/apps/diskusage?id=af960311c029f40bf5fbb7ced8db7fbf919d6880
--
Ticket URL: <https://dev.haiku-os.org/ticket/16811#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.
--==============‡88245845064588179==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic