Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Passing / as the mount point to zipfs leads to a inaccessible and unmountable mount

Closed / Fixed4c686f1f0a75d36356028801db9d9f86b56dbfddCreated 3 years agoUpdated 3 years ago
Descriptionmarkdown2023-09-14 16:52:47

Mounting an archive on / leads to the mount point being an empty string. This can then be neither accessed afaict not unmounted, at least with the combinations I tried.

% zipfs mount ../tests/zipfiles/test.zip /
% zipfs mount
{} D:/src/tcltk/wip/tcl/tests/zipfiles/test.zip

The above shows the empty string as a mount point. However this does not seem to be accessible through any syntax. For example trying to unmount shows the mount still exists.

% zipfs unmount //zipfs:/
% zipfs mount
{} D:/src/tcltk/wip/tcl/tests/zipfiles/test.zip
% zipfs unmount {}
% zipfs mount
{} D:/src/tcltk/wip/tcl/tests/zipfiles/test.zip
% zipfs unmount //zipfs:
% zipfs mount
{} D:/src/tcltk/wip/tcl/tests/zipfiles/test.zip
Referenced by3
apnadkarniplain2023-09-19 06:15:26
Fixed in [14c7ed3ab2].
Log in (anonymous is fine) to add a comment.