Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0943ec7e799d66d6dea4b187192801db23629c02
Ticket: 2886914fffffffffffffffffffffffffffffffff
unexpected absolute path with vfs
User & Date: dgp on 2009-11-04 01:25:25
Changes

  1. icomment:
    
    This looks like part operator error, and part a bug
    in either tclvfs or the driver.
    
    The mount command created a new
    volume "testvfs" which means *every*
    path that begins with that substring is
    now an absolute pathname in the filesystem
    controlling that volume.  This is why
    [file pathype testvfstest] is reporting "absolute".
    
    If what you really wanted was to only have
    pathnames beginning with "testvfs/" to be
    in the volume, then I think the command
    should  have been:
    
    vfs::template::mount -volume testvfs testvfs/
    
    See if you are happier with the results of that
    change.  At a minimum that is a workaround.
    
    A bug which seems to be contributing to
    problems is that if all paths beginning with the
    prefix substring "testvfs" are now to belong to
    that volume, then they should be claimed by
    the filesystem that has control over that volume,
    which means
    
    [file system testvfstest] => native
    
    is an incorrect result.  This seems likely
    to me to be a failure of the filesystem driver
    to claim a path that belongs to it.  Precisely
    where that bug is, I do not yet know.
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"