Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #267571

Hard links - How do they work

From Keith Bainbridge <keithrbau@gmail.com>
Newsgroups linux.debian.user
Subject Hard links - How do they work
Date 2024-02-19 01:00 +0100
Message-ID <I8ZeG-b4Zf-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


As promised:
I said sometime in this thread that timeshift (and Back in Time) use 
hard links to create progressive copies of the system. The more I think 
about how hard links reportedly work, I reckon it can't be simply hard 
links.

So I'm starting a new thread on that topic.

My understanding is that a hard link (ln with no option) will list the 
file in another directory, but the file remains the same no matter where 
I may edit it.    I use cp -lru as a quick and dirty way to protect me 
against accident deleting a file. (Sym-link doesn't give that 
protection, but does allow me to keep my home on a separate partition so 
that a fresh install is a LOT easier; but that is another topic)

Snapshots reportedly hard link the directory/ies (generally means /  but 
not limited ). a new snapshot copies the latest set and then updates any 
new files in the base.    The more I try to visualise that process the 
more I reckon there must be more to it

Anybody care to fill me in please?

I am mindful that it is late Sunday night for many of you


-- 
All the best

Keith Bainbridge

keith.bainbridge.3216@gmail.com
+61 (0)447 667 468

UTC + 10:00

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Hard links - How do they work Keith Bainbridge <keithrbau@gmail.com> - 2024-02-19 01:00 +0100
  Timeshift / Back In Time - How do they work Andy Smith <andy@strugglers.net> - 2024-02-19 01:10 +0100
  Re: Hard links - How do they work Kushal Kumaran <kushal@locationd.net> - 2024-02-19 01:20 +0100
    Re: Hard links - How do they work: TANSTAAFL Charles Curley <charlescurley@charlescurley.com> - 2024-02-19 03:00 +0100
    Re: Hard links - How do they work Keith Bainbridge <keithrbau@gmail.com> - 2024-02-19 03:40 +0100
  Re: Hard links - How do they work Dan Ritter <dsr@randomstring.org> - 2024-02-19 13:20 +0100

csiph-web