Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
symlink problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ufk
n00b
n00b


Joined: 13 Nov 2002
Posts: 48

PostPosted: Thu Nov 21, 2002 12:59 am    Post subject: symlink problem Reply with quote

when i do symlink dir1 dir2 dir3 dir4 dir5 dir6 dir
it just creates empty directorys instead of linking them to the original directory. any ideas why?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Nov 21, 2002 3:06 am    Post subject: Reply with quote

What is the actual command you are using?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
ufk
n00b
n00b


Joined: 13 Nov 2002
Posts: 48

PostPosted: Thu Nov 21, 2002 7:19 am    Post subject: Reply with quote

dosym /usr/sbin/ptal-cups /usr/lib/cups/backend/ptal
/usr/sbin/ptal-cups is the file that exists.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Nov 21, 2002 7:37 am    Post subject: Reply with quote

I have never heard of this "dosym". Does this work:
Code:
# ln -s /usr/sbin/ptal-cups /usr/lib/cups/backend/ptal

Make sure that the target directory does not exist when you do this - rmdir it if necessary. Otherwise, the link will get made in /usr/lib/cups/backend/ptal/ptal-cups.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
fyerk
Apprentice
Apprentice


Joined: 17 Sep 2002
Posts: 212
Location: Atlanta, GA

PostPosted: Fri Nov 22, 2002 8:24 pm    Post subject: Reply with quote

dosym is an alias used in many ebuilds. However, as rac already pointed out, it's not a standard *nix command. Use ln -s instead.
_________________
-David
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum