Click Here
home features news forums classifieds faqs links search
6225 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
22 crawler(s) on-line.
 95 guest(s) on-line.
 1 member(s) on-line.


 zipper

You are an anonymous user.
Register Now!
 zipper:  5 secs ago
 MEGA_RJ_MICAL:  19 mins ago
 Tuxedo:  20 mins ago
 pixie:  23 mins ago
 kamelito:  26 mins ago
 ppcamiga1:  36 mins ago
 DiscreetFX:  4 hrs 8 mins ago
 e2betgamescom:  4 hrs 28 mins ago
 minator:  6 hrs 56 mins ago
 DWolfman:  7 hrs 7 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  Update 4 - Need to recreate soft links
Register To Post

PosterThread
DWolfman 
Update 4 - Need to recreate soft links
Posted on 24-Dec-2011 18:10:05
#1 ]
Super Member
Joined: 18-Jun-2003
Posts: 1444
From: Leavenworth, KS USA

So, I'm stuck at not installing Update 4 just yet, because recently one of my A1's HDs died and I replaced both of them with a larger one. When I copied the files over from the old boot drive (which I still have and is working), I completely forgot about any of the soft/hard links that might be on the drive, and they did not get copied over.

I know the recommendation is to start over, reinstall Update 1, then go through all the updates again, but I really like the way I have this set up and am not sure I'll remember everything I did. I'd like to fix this as is so I can then apply the update. The system boots up fine and so far everything I tried seems to work ok. The missing links in SObjs stopped the update like some others have already seen.

So does anyone know how to get a listing of JUST the hard/soft links? I don't want to try the update until I know I've got them all fixed.

Been playing around with List command, but I'm not seeing a way to get it to just output the linked files. LFormat option does let me list this in a way that can be easily scripted, but it's listing everything, including the non-linked files.

_________________

 Status: Offline
Profile     Report this post  
DWolfman 
Re: Update 4 - Need to recreate soft links
Posted on 24-Dec-2011 20:03:12
#2 ]
Super Member
Joined: 18-Jun-2003
Posts: 1444
From: Leavenworth, KS USA

Well, at least fixing the links in SObjs fixes the Installer startup errors. Still not going to continue until I know if there are any other links. I've looked through as much of the old Sys: partition as I could and not found any others, but would like to know if others have run across this or know how to get a list of links.

_________________

 Status: Offline
Profile     Report this post  
Spectre660 
Re: Update 4 - Need to recreate soft links
Posted on 24-Dec-2011 22:27:50
#3 ]
Elite Member
Joined: 4-Jun-2005
Posts: 3918
From: Unknown

@DWolfman

Not an area that I understand that well but these are the links that I have

10.System:> list System:SObjs/ since today
Directory "System:SObjs" on Saturday 24-Dec-11
libz.so 143914 ----rwed Today 18:17:15
> SYS:sobjs/libz.so.1.2.3
libz.so.1 143914 ----rwed Today 18:17:15
> SYS:sobjs/libz.so.1.2.3
libz.so.1.2 143914 ----rwed Today 18:17:15
> SYS:sobjs/libz.so.1.2.3
libbz2.so 245743 ----rwed Today 18:17:15
> SYS:sobjs/libbz2.so.1.0.4
libpng.so 662668 ----rwed Today 18:17:15
> SYS:sobjs/libpng12.so
5 files - 1308K bytes - 2626 blocks used

_________________
Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card

 Status: Offline
Profile     Report this post  
DWolfman 
Re: Update 4 - Need to recreate soft links
Posted on 24-Dec-2011 22:38:04
#4 ]
Super Member
Joined: 18-Jun-2003
Posts: 1444
From: Leavenworth, KS USA

@Spectre660

Yup, those are the same ones I had on the old boot drive. I couldn't find any others on it, so I'm probably ok. You don't see any in any other directories on your system?

I know the SDK uses links a lot, but I can fix that by reinstalling it.

_________________

 Status: Offline
Profile     Report this post  
Thematic 
Re: Update 4 - Need to recreate soft links
Posted on 25-Dec-2011 1:53:43
#5 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

@DWolfman

That's how I would prefer to proceed in a similar situation, instead of doing multiple updates.

If you do 'list {dir} lformat "File linked to %R"', you get a listing of links, sort of. I guess that requires some Notepad work.

_________________
: AmigaOneXE (unmod.) 750FX/512 MB +stuff & AmigaOS 4.(0|1)
: A1200/68060&96MB/SCSI/EM1200-Voodoo3 & OS 3.5
: A500/1MB
: Pegasos (ff) 512 MB & MorphOS
Praise seitan.

 Status: Offline
Profile     Report this post  
DWolfman 
Re: Update 4 - Need to recreate soft links
Posted on 25-Dec-2011 4:26:01
#6 ]
Super Member
Joined: 18-Jun-2003
Posts: 1444
From: Leavenworth, KS USA

@Thematic

Yeah, I found out that already. Problem is there's no way to have it ONLY list what is linked. It still lists every file.

_________________

 Status: Offline
Profile     Report this post  
ChrisH 
Re: Update 4 - Need to recreate soft links
Posted on 25-Dec-2011 8:31:13
#7 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

@DWolfman
I have a Shell-based program which can backup & restore all links (inside a particular volume or folder). Would that be of use?

Last edited by ChrisH on 25-Dec-2011 at 08:31 AM.

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
ChrisH 
Re: Update 4 - Need to recreate soft links
Posted on 25-Dec-2011 10:13:15
#8 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

@DWolfman
Here is my program anyway:
AmigaAttributes from http://cshandley.co.uk/

I've included some basic docs. It should do exactly what you need!

Last edited by ChrisH on 18-Feb-2012 at 02:39 PM.

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
Spectre660 
Re: Update 4 - Need to recreate soft links
Posted on 25-Dec-2011 11:32:35
#9 ]
Elite Member
Joined: 4-Jun-2005
Posts: 3918
From: Unknown

@DWolfman

These are the only ones I have. SDK not installed here .
I used a program called LinkManager to check.

http://os4depot.net/index.php?function=showfile&file=utility/workbench/linkmanager.lha

Quote:

DWolfman wrote:
@Spectre660

Yup, those are the same ones I had on the old boot drive. I couldn't find any others on it, so I'm probably ok. You don't see any in any other directories on your system?

I know the SDK uses links a lot, but I can fix that by reinstalling it.

Last edited by Spectre660 on 25-Dec-2011 at 11:35 AM.
Last edited by Spectre660 on 25-Dec-2011 at 11:34 AM.

_________________
Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card

 Status: Offline
Profile     Report this post  
OldFart 
Re: Update 4 - Need to recreate soft links
Posted on 25-Dec-2011 14:24:09
#10 ]
Elite Member
Joined: 12-Sep-2004
Posts: 3073
From: Stad; en d'r is moar ain stad en da's Stad. Makkelk zat!

@Spectre660

Hm, noting the link (!) to LinkManager here, I am tempted to have a look at that program again and see if I can improve upon it. If you have suggestions, please let them come!

OldFart

_________________
Life is a waste of time.
Time is a waste of life.
Get wasted all the time
and you'll have the time of your life!

 Status: Offline
Profile     Report this post  
OldFart 
Re: Update 4 - Need to recreate soft links
Posted on 25-Dec-2011 14:36:13
#11 ]
Elite Member
Joined: 12-Sep-2004
Posts: 3073
From: Stad; en d'r is moar ain stad en da's Stad. Makkelk zat!

@DWolfman

Apply these and you should (again) be OK:



C:MakeLink FROM SYS:sobjs/libz.so TO SYS:sobjs/libz.so.1.2.3 soft
C:MakeLink FROM SYS:sobjs/libz.so.1 TO SYS:sobjs/libz.so.1.2.3 soft
C:MakeLink FROM SYS:sobjs/libz.so.1.2 TO SYS:sobjs/libz.so.1.2.3 soft
C:MakeLink FROM SYS:sobjs/libbz2.so TO SYS:sobjs/libbz2.so.1.0.4 soft
C:MakeLink FROM SYS:sobjs/libpng.so TO SYS:sobjs/libpng12.so soft

C:MakeLink FROM SYS:Utilities/More TO SYS:Utilities/MultiView soft


OldFart

EDIT: corrected misspelling

Last edited by OldFart on 25-Dec-2011 at 02:42 PM.
Last edited by OldFart on 25-Dec-2011 at 02:42 PM.

_________________
Life is a waste of time.
Time is a waste of life.
Get wasted all the time
and you'll have the time of your life!

 Status: Offline
Profile     Report this post  
thinkchip 
Re: Update 4 - Need to recreate soft links
Posted on 25-Dec-2011 16:30:12
#12 ]
Super Member
Joined: 26-Mar-2004
Posts: 1185
From: Salt Lake City, Utah, USA

@DWolfman

Are you talking about hidden files? You have to be careful when copying or you won't get the hidden ones. Or is there a class of files I don't know about? Also you can lose the .info files if you're not careful.

_________________
X5000 / microA1(OS4.1 FE U2) / CodeBench / Imagine / Blender
Lightwave 2019 / Microsoft Visual C++

 Status: Offline
Profile     Report this post  
DWolfman 
Re: Update 4 - Need to recreate soft links
Posted on 26-Dec-2011 18:07:32
#13 ]
Super Member
Joined: 18-Jun-2003
Posts: 1444
From: Leavenworth, KS USA

Thanks everyone, lots of good info here.

And I missed one of those, the More to MultiView one. Though I think I have Multiview already and it's a different size from More, even on the old drive. I'll look into that.

Last edited by DWolfman on 26-Dec-2011 at 06:08 PM.

_________________

 Status: Offline
Profile     Report this post  
DWolfman 
Re: Update 4 - Need to recreate soft links
Posted on 26-Dec-2011 18:22:05
#14 ]
Super Member
Joined: 18-Jun-2003
Posts: 1444
From: Leavenworth, KS USA

@OldFart

Interestingly enough, I don't have the link for More/Multiview on my old drive. That looks like something you must have done special on yours.

_________________

 Status: Offline
Profile     Report this post  
ChrisH 
Re: Update 4 - Need to recreate soft links
Posted on 18-Feb-2012 14:40:26
#15 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

I've now updated my AmigaAttributes program, which fixes problems restoring soft links inside folders (not sure why I didn't notice a problem before) . It can be downloaded from:
http://cshandley.co.uk/

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
vox 
Re: Update 4 - Need to recreate soft links
Posted on 18-Feb-2012 14:42:46
#16 ]
Elite Member
Joined: 12-Jun-2005
Posts: 3957
From: Belgrade, Serbia

@DWolfman

Isn`t easier to save prefs of programs and app dirs as well as your starup sequence and all other configs you know of, do install as it should be and then just copy these?

Should work also

_________________
OS 3.x AROS and MOS supporter, fi di good, nothing fi di unprofessionalism. Learn it harder way!
SinclairQL and WII U lover :D
YT http://www.youtube.com/user/rasvoja

 Status: Offline
Profile     Report this post  
Moxee 
Re: Update 4 - Need to recreate soft links
Posted on 18-Feb-2012 20:24:11
#17 ]
Team Member
Joined: 20-Aug-2003
Posts: 6291
From: County Yakima, WA State, USA

@ChrisH

Quote:
I've now updated my AmigaAttributes program, which fixes problems restoring soft links inside folders (not sure why I didn't notice a problem before) . It can be downloaded from:
http://cshandley.co.uk/


Currently, I am not having a problem, but I may need this in the future. So, thanks Chris!

_________________
Moxee
AmigaOne X1000
AmigaOne XE G4
I'd agree with you, but then we'd both be wrong.

 Status: Offline
Profile     Report this post  
DWolfman 
Re: Update 4 - Need to recreate soft links
Posted on 18-Feb-2012 20:35:42
#18 ]
Super Member
Joined: 18-Jun-2003
Posts: 1444
From: Leavenworth, KS USA

@ChrisH

Will be downloading this later, as I've been using it to preserve the links into files that are included in my backup process (Use LHA with attribute preservation options daily).

_________________

 Status: Offline
Profile     Report this post  
DWolfman 
Re: Update 4 - Need to recreate soft links
Posted on 18-Feb-2012 20:37:30
#19 ]
Super Member
Joined: 18-Jun-2003
Posts: 1444
From: Leavenworth, KS USA

@vox

Well, I've since had this fixed and working for a few months now. So much so that I managed to hit a 55 day uptime for my A1 since installing update 4!

As it is I was trying to avoid that, because I'm not sure what tweaks and such I've done to this install. Would rather not have to re-do all that again.

_________________

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle