[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hard links



Topi Miettinen <Topi.Miettinen@ml.tele.fi> writes:

> Locating hard links with only ls -li or find -inum is inhuman task,
> whereas any graphical file browser can easily show symlinks with
> different icon, for example (I don't use them, so I don't know
> whether they actually do so).

When do you need to know it's a hard link from a graphical browser?
Or rather what would that information be good for?  Note that the
*only* time I can think of where you should care something's a hard
link is when you're trying to copy or backup a directory, and then you
should be using a tool smart enough to know how to handle it (see
below).

> Ok, which do you think is more common operation, deleting executables or
> copying them? Which would some sysadmin consider a safe thing to do?

Why wouldn't you be using tar or "cp -a" for the copy?  Presumably you
want to preserve permissions and ownership, and using these methods
will also preserve the hardlinks.

> Then there is consistency issue. Package X uses symlinks but package
> Y hard links.

What difference does this make?

-- 
Rob Browning <rlb@cs.utexas.edu>
PGP fingerprint = E8 0E 0D 04 F5 21 A0 94  53 2B 97 F5 D6 4E 39 30


--
To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: