Koozali.org: home of the SME Server

map to drive from windows

Jim

map to drive from windows
« on: May 23, 2002, 02:04:13 AM »
Does anyone know how I can map to / ... Im refering to [root@sme / ] ... same place you get to if typing "cd /". I want to be able to look at some files and doing it at command prompt is taking to long. If I can map a drive to this main root I can navigate and look at files in windows which is quicker.

Any help is greatly appreciated.

Jim

Grub

Re: map to drive from windows
« Reply #1 on: May 23, 2002, 03:15:42 AM »
So you want to make a share with samba of your e-smith drive like \name\c$ in windows.
Do you really want to do this.

jim

Re: map to drive from windows
« Reply #2 on: May 23, 2002, 04:15:04 AM »
yes that is what I want to do..the equivalant of \name\c$..... this is not my production box...this is my test box in my lab and the reason I want to do this is to more thoroughly understand all the files there are and going threw them and opening the config files and template files in windows would be easier and quicker.

Ervin

Re: map to drive from windows
« Reply #3 on: May 23, 2002, 04:41:28 AM »
If you really need to transfer those files from your SME server to a Windows PC, better use WinSCP2. You can find it for free at: http://winscp.vse.cz/eng/

This way you will not get into bad habits like sharing a /root directory, not even on a test box.. :-)

All the best,
Ervin - MCP, Windows and Linux fan

Ervin

Re: map to drive from windows
« Reply #4 on: May 23, 2002, 04:50:42 AM »
I meant the root directory: /.

Please excuse the mistake.

jim

Re: map to drive from windows
« Reply #5 on: May 23, 2002, 05:03:22 AM »
Thanks...im checking that site out right now...thats exactly what I want to do, copy them over and then can go threw them and understand there purpose and what not...appreciate the help...I'll reply back and let you know if I was successfull in copying them over.

Jim

RobT

Re: map to drive from windows
« Reply #6 on: May 23, 2002, 06:14:30 AM »
Jim wrote:

> yes that is what I want to do..the equivalant of \name\c$..... this is not
> my production box...this is my test box in my lab and the reason I want to
> do this is to more thoroughly understand all the files there are and going
> threw them and opening the config files and template files in windows would
> be easier and quicker.

Or!

And I can feel the flames from here already.  "Webmin"

TEST BOX ONLY !!!

It has a file management module where you can do pretty much what you want.
(view, edit, cut, copy, paste, etc.)
And a whole lot else besides using the other modules, including KILL  your system stone dead if your not carefull.
But it sounds like what your wanting so try it out at your own risk and remember, there is no substitute for translating your successes into templates for your production box.

Cheers
RobT

Jon Blakely

Re: map to drive from windows
« Reply #7 on: May 23, 2002, 09:19:52 AM »
Personally, I find Midnight Commander that comes with SME very handy for getting through the directory structure and looking at files.
I use the webconsole rpm that is available from Darrell May's site

http://myezserver.com/downloads/mitel/contrib/webconsole-0.0.1/

to SSH into the server from a workstation. Login as root and type mc.

You will get the directory and you can then move through the directory structures
using the mouse. You can view, edit files and copy files from one location to another using the mouse. I tend to copy files I want to work on to an Ibay that I have read/write access to and can access from the workstation.

Darrell also has a how to on how to use Midnight Commander on his site

http://myezserver.com/downloads/mitel/howto/midnightcommander-howto.html

Jon

Jim

Re: map to drive from windows
« Reply #8 on: May 23, 2002, 07:23:50 PM »
Thanks everyone for you help.. both wincps and webcole mc are working great...make it a little easier to test and play with the system.

Jim

Roelf

Re: map to drive from windows
« Reply #9 on: May 27, 2002, 03:24:12 PM »
You can also make a symbolic link in your home directory to the root directory:
'ln -s / link_name'. You can then browse the entire tree of your server from your home directory using a windows machine.

Roelf

Jim

Re: map to drive from windows
« Reply #10 on: May 28, 2002, 07:27:19 PM »
Thanks Roelf... that worked perfect...This "ln" utility is very usefull

Jim