Method to access drives

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
norfie
Power Member
Power Member
Posts: 1194
Joined: 2003-02-18, 14:18 UTC

Post by *norfie »

Last edited by norfie on 2004-09-11, 12:02 UTC, edited 1 time in total.
User avatar
franck8244
Power Member
Power Member
Posts: 703
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

As I'm using TCmd 6.03 and some of it's new functionnality, I don't want to downgrade to the 5.51 ....But it's strange that it worked on it and not anymore ...
TC#88260 -
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2icfu
A mount point is a "more specialized junction" which links the drive by GUID. Junction does it by path.
They have in common that both are reparse points. -> Both are specialized reparse points. For a TC user the difference could be that you don't need to hide the driveletter when using mount points because it's gone.
A junction is just a link, if you delete it, the original folder is still there. A mount point is where a partition is located.
TC doesn't differ between mounted drives and junctions...for the user not knowing the difference they will react exactly the same when clicking on them
Well of course it should be transparent for the user.
"creating a creation" in your posting.
thank you for the hint.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

They have in common that both are reparse points. -> Both are specialized reparse points. For a TC user the difference could be that you don't need to hide the driveletter when using mount points because it's gone.
Well, I just tried to make it more intuitive. :) A hard link is a reparse point, too, but it has other limitations than a mount point or junction...
A junction is just a link, if you delete it, the original folder is still there. A mount point is where a partition is located.
A mount point is just a link, too!
When you delete a mount point the original mounted device is still there, too. A junction links a directory, a mount point links to a device GUID listed in HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices. Mounted Devices can have drive letter assignments but don't need to, that's true.
For a TC user the difference could be that you don't need to hide the driveletter when using mount points because it's gone.
True, just a different workaround. franck8244 wants to access it by drive letter, though. Still an option for other users to protect their data.
Well of course it should be transparent for the user.
It would be a good idea to implement the arrow symbol for all usual reparse points: mount points, junctions and hard links. Difference between mount moints and junctions could be made by an underlying disk symbol for example.

Well, another wish not being implemented because it's not most wished... :)
thank you for the hint.
yw

Icfu
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

franck8244 wrote:As I'm using TCmd 6.03 and some of it's new functionnality, I don't want to downgrade to the 5.51 ....But it's strange that it worked on it and not anymore ...
There were no Wincmd.ini entry allowed at v5.51
It's a feature not a bug :P
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

norfie wrote: 2nd: add Allowed=ABCDEFGHIJKMNOPQRSTUVWXYZ\
3rd: make button with "cd L:"

Now drive L: disappear and you can access the drive with the button.
Did you actually try? You cannot access L:\ in this way. I change always to c:\

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

A mount point is just a link, too!
When you delete a mount point the original mounted device is still there, too. A junction links a directory, a mount point links to a device GUID listed in HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices.
My sentence "A mount point is where a partition is located" was misleading. This was my failed try to make things simpler than they actually are.
It would be a good idea to implement the arrow symbol for all usual reparse points: mount points, junctions and hard links. Difference between mount moints and junctions could be made by an underlying disk symbol for example.

Well, another wish not being implemented because it's not most wished...
Hard links don't have the "reparse point" attribute. Arrows will be shown if this attribute is present.
franck8244 wants to access it by drive letter, though.
Really? He wrote that he wants to access the drive using the directory menu.
Mouting points are a nice way to hide drive letters
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Really?
Well, as far I can see now he has lots of alternatives but is still not happy, so I expect that he doesn't want to lose the drive letter assignment in general but only wants to have a cosmetical change so that all of his already existing shortcuts to the drive still work.

Junctions, mount points, shares, substitutions would all mean changes to the shortcuts so it's kind of "reading between the lines". ;)

Icfu
User avatar
franck8244
Power Member
Power Member
Posts: 703
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

Well, I have drives from C to K letters, including cdrom, removable or network drives... I would like to hide most of them (removable, network) and keep local one for cosmetical reasons but to still be abble to access others by using the directory menu or shorcuts
TC#88260 -
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

NTFS workarounds aren't suited then anyway.
Ghisler's turn. ;)

Icfu
This account is for sale
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Sheepdog
Did you actually try? You cannot access L:\ in this way. I change always to c:\
You forgot to do the 1st item on the list.
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Lefteous wrote: You forgot to do the 1st item on the list.
:oops:

2franck8244
So if you have the rights to share your drives the '\\Myserver\HiddenDrive' solution works with directory -menu too. Or even with an entry in the Starter-menu you can assign a shortcut.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

icfu wrote:@eugensyl:
You can't open the drive anymore when you hide it. It doesn't matter if you hide it by manually editing winini "Allowed=" setting or with tweaktc. That's what this thread is about...

@MacQ:
When a drive is hidden you don't see it with Alt-F1 or Alt-F2, too.

Icfu
2Icfu

Sincerely th@nks!
My Best Wishes,

Eugen
User avatar
franck8244
Power Member
Power Member
Posts: 703
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

So if you have the rights to share your drives the '\\Myserver\HiddenDrive' solution works with directory -menu too. Or even with an entry in the Starter-menu you can assign a shortcut.
2Sheepdog
This work fine... :D

2all
Any other ideas to hide removable devices or other drive ? :roll:
TC#88260 -
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 18-06-2004 13:08:58 +0000 franck8244 wrote:

f> But it's strange that it worked on it and not anymore ...

That was a bug (as you can see, severe one %), and it was fixed ruthlessly this spring:

_________transmission_from_HISTORY.TXT__________

05.04.04 Release Total Commander 6.03 Beta 1
[^Y]
30.03.04 Fixed: The line Allowed= to allow only certain drives wasn't always enforced

______________end_of_transmission________________

So you can use v.6.02 or forget about this idea completely - Christian do not like to insert such a "bugs" back...[/face]
Post Reply