Overview
| Artifact ID: | 67405bf5efefae7e77686a538d08adba5e5399e40add0df8783d5fc16ff27d53 |
|---|---|
| Ticket: | 516d581c047786f7a51e1a574e43e8832447cc07
A tcl command to report free usable space of a partition of native file system |
| User & Date: | anonymous on 2025-11-27 13:03:25 |
Changes
- icomment:
Dear Ashok(*) Thank you for pointing to tuapi package I wasn't aware of. However, a quick look at the doc at https://chiselapp.com/user/rkeene/repository/tuapi/file?name=USAGE.md&ci=tip while interesting, gives the impression the need expressed in this ticket is not fullfilled by this package. I understand your point of vue about system information in general more apropriately provided by specialized libraries/packages. However, consider for example, an application needing a layout of several directories or mount points (admitedly less usal). Fortunately Tcl provides [pwd], [cd] and [file volume] to operate properly on this kind of layout. IMHO, the information of usable space on the persistent media where the application is living belongs in the same vein (and is a feature allowing some basic grantee of secure fonctionning at application level). In our application, efforts are made to bring the less dependencies possible, for lowering the maintenance burden (and so love "batteries included" Tcl' philosophy) I agree "free disk space" is nebulous. However "usable free disk space" seems more precise to me (yes it's me ...) about the meaning of the information to provide. On our side Java's getUsableSpace() is simple enough and fullfill our need. I can't dive into Java internals (not the skills for) but I guess a study of Java's getUsableSpace() may bring usefull clarications I understand, in regard to the burden of maintenance work needed for such a wide software as Tcl langage, that the kind of new feature expressed in this ticket can't be top priority for Tcl developpers' team, but remain convinced that such security feature belongs to the core langage (especialy when "batteries included" philosophy is considered) Thank you again Jean-Marie (*) bought your 2d edition book, thank you :)
- login: "anonymous"
- mimetype: "text/plain"