GNU bug report logs - #44273
"total used in directory 19 available 5.2 GiB"

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 28 Oct 2020 07:21:02 UTC

Severity: minor

Tags: patch, wontfix

Merged with 36729

Found in version 27.0.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Mattias Engdegård <mattiase <at> acm.org>
Cc: 44273 <at> debbugs.gnu.org, 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: bug#44273: "total used in directory 19 available 5.2 GiB"
Date: Wed, 28 Oct 2020 12:23:22 +0100
Mattias Engdegård <mattiase <at> acm.org> writes:

> Definitely, and if it is faster to fork another process and parse its
> output with slow regexps in Emacs to do the job of what ordinarily
> just takes a few syscalls, then we aren't doing our job properly. It's
> not hard to read directories efficiently.

True.  If `ls-lisp' (or something similar) isn't fast enough, then it
should be pretty easy to add a C-level function for efficient directory
reading.  (But we'd still need the parser for Tramp.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 264 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.