Kamran Agayev's Oracle Blog

Oracle Certified Master

Archive for April 6th, 2009

Mount Windows folder on Linux

Posted by admin on 6th April 2009

Sometimes, we need to mount a Windows folder on Linux. In order to do it, let’s follow these steps:

1. Create a directory in Windows, share it and give full permission:

mount_1

2. Create new directory in /tmp directory on Linux, name it to “test_dir” and mount shared Windows directory into that directory by running below code:

mount -t cifs -o username=#####,password=###### //192.168.##.##/test   /tmp/test_dir

mount_23

3. Now, by creating new file and folder in Windows directory, we can get them from Linux box. Let’s create a file and a directory in Windows folder

mount_3

4. At last, let’s check it from Linux, whether we can see the file and the directory or not

mount_4

As you can see, we can mount any Windows folder in Linux with very easy steps

Posted in Oracle on Linux | 15 Comments »