|
2025-12-10
| ||
| 06:23 | • Ticket [97742634f9] file volumes returns "//zipfs:" as first element w... artifact: 453260cb9a user: apnadkarni | |
|
2025-12-09
| ||
| 09:37 | • Closed ticket [97742634f9]. artifact: bfaf3313a2 user: jan.nijtmans | |
| 09:12 | Fix [97742634f9]: file volumes returns "//zipfs:" as first element when not explicitely mounted (doc... check-in: 86c9be4d80 user: jan.nijtmans tags: core-9-0-branch | |
|
2025-09-17
| ||
| 16:59 | • Ticket [97742634f9] file volumes returns "//zipfs:" as first element w... artifact: 0d6438a974 user: anonymous | |
| 15:28 | • Ticket [97742634f9]: 3 changes artifact: 0f3900d7aa user: jan.nijtmans | |
| 15:13 | • New ticket [97742634f9]. artifact: 5ca6d3af14 user: anonymous | |
file volumes returns "//zipfs:" as first element when not explicitely mounted
Closed / Fixed97742634f9f7c2099f0cf2850da9fb2398672865Created 1 year agoUpdated 358 days ago
Descriptionplain2025-09-17 15:13:12
Maybe a documentation bug : "file volumes" doc says : "Returns the absolute paths to the volumes mounted on the system" However, on tcl 9.0.2, this command returns "//zipfs:" as first element in the list, even if no zipfs command has been previously invoked. The term "system" in the doc became ambiguous : could it be replaced by "OS file system" or "interpreter VFS" (or both) ? Thank you Jean-Marie
Referenced by1
86c9be4d80Fix [97742634f9]: file volumes returns "//zipfs:" as first element when not explicitely mounted (doc update) check-in2025-12-09 09:12:44
jan.nijtmanswiki2025-09-17 15:28:40
I think this is correct. Proof:
% file volumes //zipfs:/ C:/ G:/ H:/ M:/ N:/ P:/ Q:/ R:/ S:/ Y:/ % set tcl_library //zipfs:/lib/tcl/tcl_library
Tcl 9 pre-mounts a zip-file which contains all files it needs for its own operation. No zipfs command is needed for that.
anonymousplain2025-09-17 16:59:10
Hello Jan, Thank you for your explanation : so this is a fallout of pre-mount zip-files at the startup of the iterpreter Maybe the doc of "file volumes" for Tcl 9 could somehow mention the normal presence of "//zipfs:" in the list of elements returned by this command (sorry to be a bit picky but was surprised when parsing the result of "file volumes" and not understanding this new "//zipfs:" from my reading of the doc) Thank you again for your explanation Jean-Marie
jan.nijtmanswiki2025-12-09 09:37:00
Documentation updated now, explicitly mentioning //zipfs:/
apnadkarnimarkdown2025-12-10 06:23:43
Clearer docs are always better of course but FWIW, the manpage does say If any virtual filesystem has mounted additional volumes, they will be in the returned list.
Log in (anonymous is fine) to add a comment.