Does exFAT-formatted RAM drive allow junctions (soft links)?
Started by PrestonLMcClain
Does exFAT-formatted RAM drive allow junctions (soft links)? 07 September 2020, 15:58 |
Registered: 4 years ago Posts: 23 |
Also, I have a minor question about exFAT vs NTFS. From the sources I read, there seems to be an implicit preference for NTFS for Windows RAM drives. Is the 20% increase in speed negligible? Why would I need disk compression, ADS, security permissions, etc?
|
Re: Does exFAT-formatted RAM drive allow junctions (soft links)? 07 September 2020, 21:08 |
Admin Registered: 19 years ago Posts: 3 611 |
However, redirects from an NTFS hard-drive should work, i.e. NTFS C:\somefile -> exFAT R:\somefile.
Performance-wise, you can compare NTFS RAM disk and exFAT RAM disk with DiskMark.
Re: Does exFAT-formatted RAM drive allow junctions (soft links)? 08 September 2020, 05:43 |
Registered: 4 years ago Posts: 23 |
I hope I'm not bothering you too much. I'm very grateful for all your quick responses and great answers. The customer service provided by you in this forum is top notch and I'm not just saying that. It really is. I genuinely appreciate it. Thank you.
For this post, I had a few additional questions. I was hoping that hardlinks and junctions were totally different than symbolic links and so they might work. I guess I could just try and test it, but my grasp of SoftPerfect RAM Disk isn't very good yet, so it literally would take hours for me to test this.
Second, I also didn't know what you meant by a "redirect". Did you mean that a hardlink (a single file) would be ok, but a junction (linking directories) would not work?
For example, would "mklink /j "C:\link path" "R:\target path" work if the C: drive (an SSD) was formatted in NTFS but the RAM drive, R: drive was in exFAT?
Are hardlinks and junctions different than symbolic links? Or, are they the same so I could use them?
|
Re: Does an exFAT-formatted RAM drive allow junctions (aka soft links)? 08 September 2020, 10:10 |
Admin Registered: 19 years ago Posts: 3 611 |
They differ in behaviour as to what happens when a link is deleted or its target is moved. The topic is somewhat complex, so I'd recommend checking this article and in particular the Summary section outlining the differences.
Specifically, symbolic links and directory junctions permit crossing filesystem boundaries. Your example with C:\ being NTFS and R:\ being exFAT will work:
mklink /J "C:\some-path" "R:\target-path"
exFAT-formatted RAM drive will NOT allow junctions (soft links) even if the source is NTFS. 09 September 2020, 16:17 |
Registered: 4 years ago Posts: 23 |
I don't know how a "redirect" is different from a "hard link" but I can verify that hardlinks and junctions do not work with exFAT even if the destination RAM drive is the only one formatted as exFAT.
It took me a couple of hours but I all tests failed. Created an exFAT image on a drive. Tried to create a junction via the admin command prompt which it did allow! It stated that a junction was created! I was so excited. But, when you click on the junction link within the C: Drive, it states that the folder can't be found. I did the same thing, making slight slight variations to the setup to make sure it really doesn't work. It appears that junctions are not possible with an exFAT RAM drive.
|
Re: Does exFAT-formatted RAM drive allow junctions (soft links)? 09 September 2020, 20:36 |
Admin Registered: 19 years ago Posts: 3 611 |
Re: Does exFAT-formatted RAM drive allow junctions (soft links)? 12 September 2020, 10:51 |
Registered: 4 years ago Posts: 23 |
I've been making the junctions with no actual folder in the final folder. For example, if I execute "mklink /j "C:\Program Files\Widget" "R:\Program Files\Widget", it would state that the junction was a success. Then, I would put the Widget folder inside R:\Program Files. Do you think that would have made a difference?
As you can tell, hard links is something new to me.
|
Re: Does exFAT-formatted RAM drive allow junctions (soft links)? 12 September 2020, 15:26 |
Admin Registered: 19 years ago Posts: 3 611 |