News for hackers. Stuff that matters.
Re:Google Drive: Shortcuts replacing files and folders store... by grandpoobah on Tuesday April 12, 2022 @03:32PM (#31007242)
Shouldn't de-duping be an implementation detail of the virtual file system, completely hidden from the user?

Isn't that how file sharing/syncing services have worked since the MegaUpload days?

If I upload the same file to two separate folders it's because I want two separate copies. If I change one of the copies, I don't want it to change the other copy.

Re:Google Drive: Shortcuts replacing files and folders store... by dataflow on Tuesday April 12, 2022 @05:41PM (#31008565)
> If I upload the same file to two separate folders it's because I want two separate copies. If I change one of the copies, I don't want it to change the other copy.

If that's what you were doing, you won't get affected by this. This is about files/folders that were "hardlinked", which was difficult to do by accident. I think you had to hold Ctrl while dragging the file into another folder, or something like that. (The key to notice is that they're talking about one file being in multiple directories, not multiple files with identical contents.)

Re:Google Drive: Shortcuts replacing files and folders store... by deepl_derber on Tuesday April 12, 2022 @06:01PM (#31008780)
>If I upload the same file to two separate folders it's because I want two separate copies. If I change one of the copies, I don't want it to change the other copy.

That's precisely the behavior you'll get. You were allowed in the previous implementation to upload a file to one location and then put it in 2 locations, such that you would have changes in either location reflected the same way. This wasn't 'copying' a file, it was multiparenting it.

Re:Google Drive: Shortcuts replacing files and folders store... by lxgr on Tuesday April 12, 2022 @03:34PM (#31007269)
This is a concern of presentation, not the backing implementation: How to present (approximately) hardlinked files to users, with the possible complications of varying support for hard and soft links or other mechanisms across the various client implementations of Google Drive.

There's advantages and disadvantages to using either.

Re:Google Drive: Shortcuts replacing files and folders store... by sangeeth96 on Tuesday April 12, 2022 @03:38PM (#31007317)
I see. I don't use Drive via the web/app interfaces much but essentially, hard links are a thing already and users must've inadvertently created them anyway when doing actions via web/app.

Any idea if these hard links can be created with Drive clients on Mac/Win?

Re:Google Drive: Shortcuts replacing files and folders store... by deepl_derber on Thursday April 21, 2022 @08:10PM (#31116731)
They can't. The data model in Drive will no longer support hardlinking, period.
Re:Google Drive: Shortcuts replacing files and folders store... by sangeeth96 on Tuesday April 12, 2022 @03:35PM (#31007279)
Precisely. I can understand if they want to change the wording on their interfaces going forward to promote folks to use "shortcuts" but it sounds awful if they're going to do this to existing files/directories.