Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
146 user(s) are online (140 user(s) are browsing Forums)

Members: 1
Guests: 145

AlfredOne, more...

Support us!

Headlines

 
  Register To Post  

LHA/Symlinks ??
Just can't stay away
Just can't stay away


See User information
@spotUP: Did we ever figure out, if LHA supports symlinks or if some alternative is the better one to use for os4depot uploads... ?? ;)

http://www.amigans.net/modules/news/article.php?storyid=1903

Go to top
Re: LHA/Symlinks ??
Amigans Defender
Amigans Defender


See User information
Doesn't look like it, appears to try to archive the target.

8.RAM Disk:> makelink ?
LINK=FROM/A,FILE=DIR=DIRECTORY=TO/A,SOFT/S,HARD/S,FORCE/Sram:usb-log t:usb.log
8.RAM Disk
:> lha a ram:test.lha usb-log
LhA Freeware Version 2.15 AOS4 
Copyright 
(c1991-94 by Stefan Boberg.
Copyright (c1998,1999 by Jim Cooper and David Tritscher.
Copyright (c2004-2011 by Sven Ottemann.

Creating new archive 'ram:test.lha':
*** 
LhAUnable to open file `usb.log' for reading.
No files added, 1 file failed.

Operation not entirely successful.


Go to top
Re: LHA/Symlinks ??
Just can't stay away
Just can't stay away


See User information
I think the most practical solution currently is to use LhA with only the "real" files in the archive, and include a script which makes the symlinks explicitly. The user must be told to run this after unpacking (unless there is an installer that does it).

Best regards,

Niels

Go to top
Re: LHA/Symlinks ??
Just can't stay away
Just can't stay away


See User information
@nbache

Yes. I think I did something like that in the Qt install script. Otherwise one could use gzip'ed tar files, but for os4depot that feels a little awkward. I wonder if the lha standard could somehow be updated .

@spotUP

In your qcodeedit port, the main library file has 4 instances. About 6 MB download would be saved by deleting 3 of them and maybe use a script to establish the links. Just a suggestion. :)

Go to top
Re: LHA/Symlinks ??
Just popping in
Just popping in


See User information
@Chris
Symlinks work if you type
lha a ram:test.lha usb-log()

you just need a pattern.

2.12 (Sven Ottemann)

- Fix: softlinks were handled as dirs
reported by Christian Aichinger

Go to top
Re: LHA/Symlinks ??
Home away from home
Home away from home


See User information
@nbache Quote:
I think the most practical solution currently is to use LhA with only the "real" files in the archive, and include a script which makes the symlinks explicitly.

I wrote a shell utility for backing-up & restoring Amiga symlinks (and optionally other stuff like Amiga comments & protection bits), which might be quite useful in such a situation... although the version on my homepage is way out of date (I ought to release a new version that probably fixes some bugs).

Author of the PortablE programming language.
Go to top
Re: LHA/Symlinks ??
Just can't stay away
Just can't stay away


See User information
@polluks
That just resolves the link and archives it as a file. I think what people want is to read links into the archive and reproduce them when the archive is extracted.

Amiga X1000 with 2GB memory & OS 4.1FE + Radeon HD 5450

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project