Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 29099  / 3 Years ago, sun, november 28, 2021, 3:18:00

I'm running Linux ( Ubuntu 11.10 ) and Windows ( 7 ) on the same system on two partitions.



So I have this folder in Windows:



C:UsersMeFolder


And I created this folder in Linux:



/mnt/Folder


Now trying to do something like this:



sudo mount /media/ACER/Users/Me/Folder /mnt/Folder


This doesn't work. I'm guessing it has to do with that one can only mount a media and not folders. Anyhow. Is there some way to do this?


More From » windows

 Answers
5

Assuming your C: Windows drive is already mounted under /media/ACER, you can create a symbolic link to the subdirectory you're interested in:



$ sudo ln -sf /media/ACER/Users/Me/Folder /mnt/Folder


The -s option tells ln to create a symlink instead of a hard link, and the -f option instructs it to replace /mnt/Folder if it exists, so you won't have to delete it beforehand.


[#40058] Sunday, November 28, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
inciplyies

Total Points: 10
Total Questions: 114
Total Answers: 93

Location: French Polynesia
Member since Sun, Dec 20, 2020
3 Years ago
;