You are not logged in.

#1 2009-02-08 16:33:53

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Best way to link folder in /home to My Documents in Win partition?

Hi. I'm setting up Ubuntu for my fiancee to try, but of course all her important documents and stuff are in her Windows area.

I already have an fstab entry to mount her Win partition to /windows, however I would now like to link specific folders in that area to folder in her /home. For example: My Pictures in Windows should be linked to ~/Pictures. Easy enough?

How do I do it so that it's permanent? It would be great if she could do work in Ubuntu and then boot Windows (and vice versa) and have the exact same documents.

Offline

#2 2009-02-08 17:03:05

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Best way to link folder in /home to My Documents in Win partition?

You could try to put a mount on /etc/rc.local to do that for you on startup I guess.
I'm not sure if you can also do that on fstab.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2009-02-08 17:13:28

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: Best way to link folder in /home to My Documents in Win partition?

Symbolic links will do that. Mount the partition to /windows and just link everything you want to share to ~/something

Offline

#4 2009-02-08 19:17:10

deltaecho
Member
From: Georgia (USA)
Registered: 2008-08-06
Posts: 193

Re: Best way to link folder in /home to My Documents in Win partition?

Barrucadu wrote:

Symbolic links will do that. Mount the partition to /windows and just link everything you want to share to ~/something

Yes indeed!  Just keep in mind that although Linux can read/write to Windows partitions, Window's can't so easily read/write to Linux partitions, so you can symlink your fiancee's "C:\Documents and Settings\My Pictures" folder to ~/Pictures, and be able to access it from both Linux and Windows, but you can't symlink your fiancee's ~/Pictures folder to her "C:\Documents and Settings\My Pictures" folder without hacking Windows to be able to read Linux partitions.

Last edited by deltaecho (2009-02-08 19:22:53)


Dylon

Offline

#5 2009-02-08 19:54:15

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: Best way to link folder in /home to My Documents in Win partition?

Offline

#6 2009-02-08 21:21:32

deltaecho
Member
From: Georgia (USA)
Registered: 2008-08-06
Posts: 193

Re: Best way to link folder in /home to My Documents in Win partition?

That works; I've seen e2fsprogs in CYGWIN, but most of my personal data is stored on XFS partitions tongue

polishlinux.org had an article a while back entitled Ext3, ReiserFS & XFS in Windows thanks to coLinux, but I haven't really checked into it (yet).

Last edited by deltaecho (2009-02-08 21:22:12)


Dylon

Offline

Board footer

Powered by FluxBB