where are we/you going?
Roberto A. Foglietta
roberto.foglietta at gmail.com
Wed Nov 28 07:10:10 PST 2007
2007/11/28, Bernhard Fischer <rep.dot.nop at gmail.com>:
> On Wed, Nov 28, 2007 at 09:52:09AM +0100, Roberto A. Foglietta wrote:
>
> >> $ ln -sf pippo pippa
> >> $ ./busybox readlink pippa
> >> pippo
> >> $ ./busybox readlink -f pippa; echo $?
> >> 1
>
> The big 'readlink -f /there/does_not_exist' does print the path (fully
> resolved "/there" plus all non-existing other components), though.
>
Yes, but it is nothing new because 1.2.2.1's readlink works in the
same manner.
I recently posted a more complete readlink applet to toybox m-list
but it requires a little bit of love (test, size reduction, thinking
about some corner case). I do not think it could be used AS-IS for
busybox however I think would require not such effort to be integrated
in bb. Feel free to use it and if you like give a little credit to
toybox team because I had their support in developing that patch.
Cheers,
--
/roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toybox_readlink-007_developing.patch
Type: text/x-patch
Size: 5460 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20071128/20bd8e0b/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toybox_readlink-007.patch
Type: text/x-patch
Size: 5228 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20071128/20bd8e0b/attachment-0001.bin
More information about the busybox
mailing list