mjg59, (edited )
@mjg59@nondeterministic.computer avatar

STOP DOING HARDLINKS

INODES WERE NOT MEANT TO EXIST IN MULTIPLE DIRECTORIES

YEARS OF FILES yet NO REAL-WORLD USE FOUND for being in more than one directory

Wanted to reference files from more than one directory anyway? We had a tool for that: it was called "SYMLINKS"

"Yes please give me FIFTEEN paths that this file resolves to" - Statements dreamed up by the utterly Deranged

"Hello I would like different permissions on this file based on path" They have played us for absolute fools

nf,
@nf@mastodon.sdf.org avatar

@mjg59 symlinks are way more problematic than sharing inodes. I’ve actually solved problems with the latter but the former have only ever caused them for me.

akrennmair,
@akrennmair@mastodon.beer avatar

@nf I think @mjg59 is referencing this meme: https://knowyourmeme.com/memes/stop-doing-math

wjt,
@wjt@mastodon.me.uk avatar

@mjg59 funnily enough I am beginning to feel the same way about symlinks.

mjg59,
@mjg59@nondeterministic.computer avatar

@wjt Oh no

garrett,
@garrett@mastodon.xyz avatar

@wjt @mjg59 Yeah, definitely.

I was complaining about symlinks the other day too.

https://mastodon.xyz/@garrett/112359439433375722

Both symlinks and hardlinks act in very surprising ways when a person interacts with them and none of the tooling does what one would expect. (Moving/renaming one or the other often breaks both relative and absolute symlinks. Hardlinks have no indication that they're linked and changing hardlinked data changes both "files".)

But reflinks? They're nice. Free copies/snapshots, basically.

mxk,
@mxk@hachyderm.io avatar

@garrett @wjt @mjg59 May I throw file-bindmounts into the ring, to add another way of having multiple references to the same content, again with subtly different semantics?

cate,
@cate@mastodon.xyz avatar

@mjg59 you’re ruining my backups.

mjg59,
@mjg59@nondeterministic.computer avatar

@cate Maybe our tooling should be better

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • modclub
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • everett
  • InstantRegret
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • anitta
  • kavyap
  • GTA5RPClips
  • cubers
  • JUstTest
  • osvaldo12
  • tacticalgear
  • Durango
  • khanakhh
  • ngwrru68w68
  • provamag3
  • Leos
  • tester
  • cisconetworking
  • ethstaker
  • megavids
  • normalnudes
  • lostlight
  • All magazines