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


Groups > linux.debian.user > #181845

Re: Automatic updating links?

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Automatic updating links?
Date 2017-06-06 21:00 +0200
Message-ID <tPrRT-48M-3@gated-at.bofh.it> (permalink)
References <tPkQp-89v-1@gated-at.bofh.it> <tPlWb-lw-45@gated-at.bofh.it> <tPqM9-3tE-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue 06 Jun 2017 at 18:41:03 (+0100), Rodolfo Medina wrote:

> Thanks indeed to Greg for his complete explanation and to all who provided
> help...  Yes, hardlink should be the case for what I'm looking for...  But, I
> also need that, when renaming the target file, the link would automatically
> change its name so that it keeps equal to the target's name...  Is this
> possibile?

Please be aware there _is no_ target name. All the hardlinks to
a file have the same status.

As for renaming (IIUC) if you want to rename all the file entries
together, you can pick up any instance's inode with ls, then use
find <mount-point> -inum <num>
to find all the other instances in the filesystem. Naturally,
do this in a script.

Cheers,
David.

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


Thread

Automatic updating links? Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-06-06 13:30 +0200
  Re: Automatic updating links? <tomas@tuxteam.de> - 2017-06-06 13:50 +0200
  Re: Automatic updating links? Darac Marjal <mailinglist@darac.org.uk> - 2017-06-06 14:30 +0200
  Re: Automatic updating links? Greg Wooledge <wooledg@eeg.ccf.org> - 2017-06-06 14:40 +0200
    Re: Automatic updating links? Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-06-06 19:50 +0200
      Re: Automatic updating links? Greg Wooledge <wooledg@eeg.ccf.org> - 2017-06-06 20:00 +0200
        Re: Automatic updating links? Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-06-06 20:20 +0200
          Re: Automatic updating links? davidson@freevolt.org - 2017-06-06 20:50 +0200
            Re: Automatic updating links? davidson@freevolt.org - 2017-06-06 21:10 +0200
          Re: Automatic updating links? Darac Marjal <mailinglist@darac.org.uk> - 2017-06-07 13:20 +0200
            Re: Automatic updating links? Dan Ritter <dsr@randomstring.org> - 2017-06-15 16:20 +0200
      Re: Automatic updating links? David Wright <deblis@lionunicorn.co.uk> - 2017-06-06 21:00 +0200
        Re: Automatic updating links? Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2017-06-06 21:00 +0200
          Re: Automatic updating links? Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-06-06 21:50 +0200
      Re: Automatic updating links? Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2017-06-06 21:00 +0200

csiph-web