|
2004-11-22
| ||
| 20:00 | • Closed ticket [977520ffff]: glob and windows hardlink problem plus 6 other c... artifact: 97a38a3f94 user: vincentdarley | |
|
2004-07-14
| ||
| 21:34 | • Ticket [977520ffff]: 4 changes artifact: aad5cc5582 user: vincentdarley | |
| 18:18 | • Open ticket [977520ffff]. artifact: 28e6864850 user: hetzi | |
|
2004-07-02
| ||
| 23:46 | • Pending ticket [977520ffff]. artifact: c60dac016c user: vincentdarley | |
| 18:34 | • Ticket [977520ffff]: 4 changes artifact: 0fa3835223 user: vincentdarley | |
| 16:39 | • Ticket [977520ffff]: 4 changes artifact: 082f7f1dbd user: hetzi | |
| 16:39 | • Add attachment linkd.pdf to ticket [977520ffff] artifact: 13bb31750c user: hetzi | |
|
2004-07-01
| ||
| 01:14 | • Ticket [977520ffff] glob and windows hardlink problem status still Open with... artifact: 9157ad3ab2 user: vincentdarley | |
| 01:07 | • Ticket [977520ffff]: 4 changes artifact: 824dbcfd25 user: vincentdarley | |
|
2004-06-22
| ||
| 22:15 | • Ticket [977520ffff]: 4 changes artifact: af9b5f66e3 user: hetzi | |
| 14:36 | • New ticket [977520ffff]. artifact: 384c10c4d8 user: hetzi | |
glob and windows hardlink problem
Closed / Works For Me977520ffffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-06-22 14:36:28
Hi! Setup: You've got yourself a windows server and the windows ressource toolkit (also by microsoft). Then, on that server, you create a hard link (command linkd) with the following structure: Directory: C:\dir1\dir2 linkd C:\dir1\dir2 C:\dir3 Now, make C visible to a windows client and try to glob C:/*/dir2 . Only the first one will be shown. glob C:/* will show both The whole thing happens when I use the wish of tcl8.4.6 (ActiveTcl 8.4.6.1). It works with the tclsh of 8.3.3. Have fun! Volker
hetziplain2004-06-22 22:15:45
Logged In: YES user_id=282030 The linkd line is wrong. I want to create dir3 as an alias for dir1 so it must be: linkd c:\dir3 c:\dir2 . Sorry.
vincentdarleyplain2004-07-01 01:07:41
Logged In: YES user_id=32170 All the documentation I've ever read on NTFS, etc, says that you can only make hard links to files and soft links to directories. Are you sure that the thing you've created works?
vincentdarleyplain2004-07-01 01:14:36
Logged In: YES user_id=32170 Hm, looking at the linkd documentation, it creates a symbolic link, as far as I can tell. You know you can use 'file link' to do just that from Tcl?
hetziplain2004-07-02 16:39:24
File Added - 92630: linkd.pdf Logged In: YES user_id=282030 Hi! I asked my admin about the link-to-directory thing. Hew dug up an article in the microsoft knowledge base which I'm uploading now. I haven't checked the file link command yet. Lots of Thanks! Volker
vincentdarleyplain2004-07-02 18:34:22
Logged In: YES user_id=32170 Please test with Tcl 8.5a2. This works for me.
vincentdarleyplain2004-07-02 23:46:02
Logged In: YES user_id=32170 Here's what I get in Tcl 8.4.6: % info pa 8.4.6 (bin) 2 % pwd C:/ActiveTcl/bin (bin) 3 % cd C:/ () 4 % file mkdir dir1 () 5 % file mkdir dir1/dir2 () 6 % file link dir3 dir1 dir1 () 7 % glob C:/*/dir2 C:/dir1/dir2 C:/dir3/dir2 So, unless this is some complication with windows server (about which I know nothing, and nor do I have it available for testing), then I just don't see the bug at all.
hetziplain2004-07-14 18:18:52
Logged In: YES user_id=282030 Hi! Ok, I tested it with 85a1 (the activetcl beta). The glob did work indeed, only now it doesn't find the files in that directory. Basically, file L:/dms_current/bin_user/da.sh returns 0, but cd L:; cd dms_current; cd bin_user; file exists da.sh works. Incidentally, after that, the first command works too. This is repeatable and it was okay in 8.3.3. As I said, this happens, if L is on a remote windows server. Anything further I can do th clear this up? Is there some debug option in tcl for this? Loads of thanks for your patience! Volker
vincentdarleyplain2004-07-14 21:34:52
Logged In: YES user_id=32170 Do links have anything to do with this anymore? When you say 'incidentally the first command works too', you mean the same exact command returns two different values? Can you provide the actual Tcl code, preferably in the form of a test which returns the 'wrong' result?
vincentdarleyplain2004-11-22 20:00:42
Logged In: YES user_id=32170 In the absence of further details, closing as unreproducible.
Log in (anonymous is fine) to add a comment.
Attachments:
- linkd.pdf [download] added by hetzi on 2004-07-02 16:39:24. [details]