Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Drive mapping

Posted on 2000-02-25
9
Medium Priority
?
262 Views
Last Modified: 2010-03-18
Hi,
I've got the following setup:

in the directory mnt i made a directory novell.
With ncpmount, i mounted the sys volume to this dir, using
ncpmount -S Server -U user /mnt.novell -b

Now i want to use a document from the novell server, but there's a picture inside it, with the location i:\data\picture.jpg
I may not change this.

I already tried to mkdir a i: and ncpmount to it, but then you would get a  /i:/, and i need a i:\

Is there a way, when typing i:\ or i:, that you go to the proper dir: i:\ ?

Can you make a symbolic link to a directory in stead of a file?
I'm using ResHat 6.0, with ncpmount, and i'm not wanting to use caldera, since it's not totally supported on the RedHat system.

thanks,
Justus
0
Comment
Question by:jbrugman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 2
9 Comments
 
LVL 10

Expert Comment

by:rbr
ID: 2557248
Don't know if it works but try this

mount your novel directory e.g. to

/mnt/novelldir

cd /mnt/novelldir

ln -s data/picture.jpg "i:\data\picture.jpg"
0
 
LVL 4

Author Comment

by:jbrugman
ID: 2557590
Sorry, but i need to map to a drive.
So, when i type  i: it has to go to the proper drive.
WP for linux has to open pictures on the proper place, since this is the only linux workstation, i cannot change the location of the pictures in our shared files.
so i need a 'dos like' i: drive.

0
 
LVL 4

Author Comment

by:jbrugman
ID: 2557593
Sorry, but i need to map to a drive.
So, when i type  i: it has to go to the proper drive.
WP for linux has to open pictures on the proper place, since this is the only linux workstation, i cannot change the location of the pictures in our shared files.
so i need a 'dos like' i: drive.

0
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 
LVL 4

Author Comment

by:jbrugman
ID: 2557594
Sorry, but i need to map to a drive.
So, when i type  i: it has to go to the proper drive.
WP for linux has to open pictures on the proper place, since this is the only linux workstation, i cannot change the location of the pictures in our shared files.
so i need a 'dos like' i: drive.

0
 
LVL 4

Author Comment

by:jbrugman
ID: 2557595
Sorry, but i need to map to a drive.
So, when i type  i: it has to go to the proper drive.
WP for linux has to open pictures on the proper place, since this is the only linux workstation, i cannot change the location of the pictures in our shared files.
so i need a 'dos like' i: drive.

0
 
LVL 4

Author Comment

by:jbrugman
ID: 2557600
Wow 3 times??? i think this was a post failure.
Sorry, but it had to be here once.
0
 
LVL 10

Expert Comment

by:rbr
ID: 2557629
Sorry this is impossible within linux.
0
 
LVL 3

Accepted Solution

by:
jyu_88 earned 400 total points
ID: 2558525
alias i:='cd /mnt/novell && /bin/ls -l'

This way, when you type i:, it will go to your mounted novell volume and do a long listing too.

There's no problem to establish symLink to a dir.
ln -s /mnt/novell /home/usrName/blahSym

as for the picture thing, probably, you need to insert the picture object again, or simply modify from its property, so it will use relevant path instead of absolute path, i.e., if it is from the same dir, you don't even need have PATH problem involved. Try to use unix / in the path name when doing so, since NT or alike take it as well.
0
 
LVL 4

Author Comment

by:jbrugman
ID: 2572191
Excellent!! It does exactly what i wanted :)))))
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question