Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sharing a folder

Status
Not open for further replies.

webjunk

MIS
Dec 28, 1999
42
0
0
US
We are using Red Hat 8 and we are doing experiments with RH and WIndows. HOw can I share a folder on the RH and then Share it on MS W2K.

Thanks
 
webjunk,

As fluid said, Samba would be a good option. But to my knowledge, Samba only works on networks? Are you running a network? or are these two OS on the same box? If its on the same box, then you would need to read up on mounting.


dreamsync,

You would need to use the mount command to do this. Typing 'mount -h' would give you a list of possible options. To mount your windows partition onto Linux, you would first need to know which partition Windows is at. Once you know which partition MS Windows is on, then the easiest and most direct way of mounting would be as follows:

1. Create a dir in /mnt for your WIN98 folder.
- cd /mnt
- mkdir WIN98

2. Mount the WIN98 filesystem onto this folder.
- mount -t vfat /dev/hd** /mnt/WIN98

/dev/hd** being the partition where Windows is.

3. If you want the partition mounted everytime you boot the system, then you would need to edit your /etc/fstab. The syntax is not hard, basically just copy that same mount command and add a few other things.

 
To mount a Windows share on Linux across the network....

mount -t smbfs -o username=chris //winserver/share /mount_point


winserver is the NetBIOS name of the Windows box and then the share name you want to mount. The mount point is any folder in your filesystem. A common place to mount Samba shares in Linux is somewhere in /mnt. You can create a directory called /mnt/win, or whatever you want.

ChrisP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top