Soft links are ok, what about hard links?

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

+1 from me too (uhh... the danger :evil:).
TC for Linux please!
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Well, I see the danger too. AFAIK even starting with Vista the Windows Explorer can handle Junctions correctly ...

If everybody, who has access to the filesystem, uses TC you are save. If only one doesn't and has Win2000 or XP then keep your fingers crossed ...

Nevertheless I am using hardlinks and junctions a lot !

Have you ever tried the excellent NtfsLinks TC Addon ?
It works seamless from within TC.
I'm using it on a daily base and never had problems ... thanks Flint for this addon !
#5767 Personal license
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

If everybody, who has access to the filesystem, uses TC you are save
You are not safe *at all*, because Explorer deletion method works in TC as well, by context menu or default setting in preferences.
Have you ever tried the excellent NtfsLinks TC Addon ?
It's a nice workaround but professional file managers should have junction and hard link support integrated.

Icfu
This account is for sale
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

icfu wrote:but professional file managers should have junction and hard link support integrated.
Fully agree!
TC allows users to remove directories recursively - and cannot even create a hard link to a file. I don't think that the second action is more dangerous than the first one.

I could agree that junction (soft link, reparse point) to a directory may not be safe - the result of removing it via Explorer method can be painful. But I failed to imagine what harm can bring hard links (that are created for files only).
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
MarkFilipak
Member
Member
Posts: 164
Joined: 2008-09-28, 01:00 UTC
Location: Mansfield, Ohio

Post by *MarkFilipak »

I know it's been 7 years, but hard links are needed more than ever.

At least show link count in the file list.
Hi Christian! Delighted customer since 1999. License #37627
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

TC is a File Manager, name one good reason why a File Manager should be able to create Junctions, Hardlinks, Softlinks or Symbolic links.

TC can't even copy a junction without converting it to an empty useless folder.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Take a look at this thread: copy reparse points as is -- not their contents (Jul.28/2012 - Jan.06/2013).

Hermann Schinagl, author of LinkShellExtension, offered his assistance to help integrate said extension with TC, so that Mr.Ghisler wouldn't need to start from scratch. The offer of assistance was flat out refused.

So pretty damned unlikely TC will ever handle Symlinks, Softlinks, Hardlinks or Junctions beyond the crippled way it does so now.

And if you don't want to look at said thread, here's a post of mine (Jul.30 2012)
Balderstrom wrote:TC's handling of Junctions has been questionable since Junctions were introduced (Win2K, I believe).
2005: Flint: [Req] Improvement in work with directory junctions on NTFS.
2007: Status Quo: Junctions not recognized on Move, source contents deleted
2012: zupermario: Do not follow NTFS links
-- Similiar to my request in the thread from 2007.

This request, similiar to my request in zupermario's thread from this year.

I cringe everytime I have to copy folders with TC. Folder structures will get reamed, unneccessary files will be moved/copied, and junctions will be converted to folders.

At least when MOVING folders, junctions inside folders appear to be preserved (Similiar to Explorer).
When copying Folders, junctions are converted to Folders, and their contents duplicated. Unfortunately, even explorer mishandles this IMHO :: does not copy the contents of the junction, but converts it to a normal folder.

If I don't remember that a folder structure contained junctions, and don't manually fix it, and happen to delete the Original Source later... I no longer have junction references pointing to where they are supposed to be, content has been duplicated, and files are no longer referencing the drive/data/content that they are supposed to be.
It took 8-10 years for TC to stop completely mishandling junctions and causing data loss since they were introduced with Win2K. That aspect was fixed somewhere between 2008-2010. Given that time-frame, sometime in 2017-2019, TC might have an option for handling hardlinks|symlinks. And by then, Microsoft will probably have a new file-type that TC will munge.
Post Reply