[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] ln: add the --relative option
From: |
Eric Blake |
Subject: |
Re: [PATCH v2] ln: add the --relative option |
Date: |
Thu, 23 Feb 2012 14:28:42 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 |
On 02/23/2012 12:50 PM, address@hidden wrote:
> From: Harald Hoyer <address@hidden>
>
> With the "--relative --symbolic" options, ln computes the relative
> symbolic link for the user.
>
> So, ln works just as cp, but creates relative symbolic links instead
> of copying the file.
In general, I like the idea. I will point out that we now have realpath
that also can compute relative locations to an arbitrary starting point,
so we probably ought to share the code between the two programs rather
than rewriting it.
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature