Computing.Net > Forums > Linux > Howto create relative symbolic link

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Howto create relative symbolic link

Reply to Message Icon

Name: satimis
Date: July 25, 2004 at 09:26:51 Pacific
OS: RH 8.0
CPU/Ram: Athlon 1.4/512MB
Comment:

Hi folks,

RH 8.0
Fedora Core 2

I encountered following problem in upgrading RH8.0 to Fedora Core 2

Absolute Symlinks
The following files are absolute symbolic links, which we do not support during upgrade. Please change them to relative symbolic links and restart upgrade.

/usr/tmp


# ln -sfr /tmp /usr

Invalid option - -r
Try 'ln --help' for more

# man ln
# ln --help

could not find -a and -r options there. Kindly advise how to proceed.

TIA

B.R.
satimis



Sponsored Link
Ads by Google

Response Number 1
Name: Wolfbone
Date: July 25, 2004 at 10:14:04 Pacific
Reply:

The error message says it doesn't like "absolute", not "hard" links and you can't hard link directories anyway: cd /usr ; ln -s ../tmp ./


0

Response Number 2
Name: Wolfbone
Date: July 25, 2004 at 18:09:28 Pacific
Reply:

Sorry - I didn't see your 's' - so forget the mini-rant about hard links and just use the rather obvious '../' means of making relative links.


0

Response Number 3
Name: satimis
Date: July 27, 2004 at 20:18:38 Pacific
Reply:

Hi Wolfbone,

Tks for your advice which works for me.

B.R.
satimis


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Howto create relative symbolic link

Qs on mnt cd/dvd & symbolic link www.computing.net/answers/linux/qs-on-mnt-cddvd-amp-symbolic-link/23087.html

Symbolic Links in Minix www.computing.net/answers/linux/symbolic-links-in-minix/19813.html

Linux Kernal www.computing.net/answers/linux/linux-kernal/19287.html