Solved

Drive mapping

Posted on 2000-02-25
9
232 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
  • 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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 100 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now