Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a unix computer and a PC computer.

I want to mount a drive in the PC onto a unix directory.

What do I need to do in the unix side to allow this?

Thank you!

share|improve this question

migrated from stackoverflow.com May 31 '11 at 17:56

This question came from our site for professional and enthusiast programmers.

2  
Does it have to be NFS specifically, or just any network filesystem? Also, what exactly do you mean by "PC computer", and what's the difference between "PC computer" and "Unix machine" anyway? (Most Unix derivatives do run primarily on "PC"s.) –  grawity May 31 '11 at 18:09

2 Answers 2

Assuming you mean a PC running windows, and you already have done the proper means to set up NFS and exported the directory you want to share, you

  • Install the NFS client for windows, in Win-7 you go to Add/Remove programs and Turn Windows features on or off

enter image description here

Enable the NFS Client

enter image description here

  • Mount the share. Go to the start menu. righ click Computer and chose Map network Drive

enter image description here

Enter the share name on the form host:/share , e.g.

enter image description here

(Note that the windows nfs client doesn't support NFSv4)

share|improve this answer

I assume by PC you mean a computer that is running a flavor of Windows... If this is the case, you need to "share" this drive on the network on your Windows PC, setup a workgroup, and give the drive a shared name.

Then, you need to install a Samba client on the Unix machine. Samba is the protocol most commonly used for Unix computers to mount shared Windows network drives. If you provide some more information on the two PCs, I could provide more detail.

share|improve this answer
    
No. I mean the other way around. Unix is the NFS servers. –  ComputeALot May 31 '11 at 17:50
    
I know that I can use "net use" on the unix, but I get a 53 error. What steps should I use on the unix? Thanks. –  ComputeALot May 31 '11 at 17:51
    
Okay, then it is still Samba, but you need to setup a Samba server on the Unix machine, then if done correctly, will appear as any other windows shared network drive for you to connect to in your 'Network Places' on your windows machine. –  landoncz May 31 '11 at 17:55
    
If you provide your Unix OS, I can provide a link to help, or you can just Google "Configure Samba Server {your_unix_os_here}" –  landonz May 31 '11 at 17:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.