LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-09-2008, 10:31 AM   #1
CrashedAgain
Member
 
Registered: Jan 2004
Posts: 307

Rep: Reputation: 33
Windows symlink


I have a dual boot win2000/Debian system. I have added a program to windows so it will read the linux drives. Now I want to make both systems have a common "Documents" file....ie have windows "MyDocuments" be /hda5/Documents instead of c:\MyDocuments.

In Linux I would just replace c:\MyDocuments with a symlink pointing to /hda5/Documents.

What is the windows equivalent of a Linux symlink?

Thanks
 
Old 04-09-2008, 10:44 AM   #2
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,674

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
That won't work. If you want to share a directory, repartition your disk and add a fat32 partition to put your Documents on.

Quote:
What is the windows equivalent of a Linux symlink?
There isn't one.

Some things to understand, windoze can read and write fat file systems and ntfs file systems. That is about it. I have heard of a driver for windoze to read and write ext2 partitions, but I would't trust anything I valued to windoze.

Linux has many more file systems, ext2, ext3, rieser and some more windoze has no idea how to read or write. Linux can read and write fat, and with the ntfsg3 driver installed.

So, if you don't want to re-partition, then keep the documents files on a partition linux can read/write. There are many How-Tos on how to make this work.

What file system are you using on the windoze system?
 
Old 04-09-2008, 10:53 AM   #3
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
In windows, you can change the location of "special folders", like My Documents. If your common Documents folder shows up in windows without you having to do anything, then you should just be able to change this location to the common documents folder.

See http://support.microsoft.com/kb/310147 for more info.

I've also requested this thread be moved, since it's not technically a Linux question.

edit: This may also be problematic since there's likely to be some permissions problems - how will windows know who owns any new files you create in the Documents folder from within windows? Unless this is something you tell this program you "have added ... to windows" (which program is it?).

Last edited by pwc101; 04-09-2008 at 10:55 AM.
 
Old 04-09-2008, 04:36 PM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Quote:
Originally Posted by pwc101 View Post
I've also requested this thread be moved, since it's not technically a Linux question.
Since this is an interoperability issue I'm going to leave it here.
 
Old 04-09-2008, 10:49 PM   #5
CrashedAgain
Member
 
Registered: Jan 2004
Posts: 307

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by camorri View Post
That won't work. If you want to share a directory, repartition your disk and add a fat32 partition to put your Documents on.



There isn't one.

Some things to understand, windoze can read and write fat file systems and ntfs file systems. That is about it. I have heard of a driver for windoze to read and write ext2 partitions, but I would't trust anything I valued to windoze.

Linux has many more file systems, ext2, ext3, rieser and some more windoze has no idea how to read or write. Linux can read and write fat, and with the ntfsg3 driver installed.

So, if you don't want to re-partition, then keep the documents files on a partition linux can read/write. There are many How-Tos on how to make this work.

What file system are you using on the windoze system?
Windows is win2000 on vfat; I didn't trust linux ntfs drivers so I stayed with vfat. I have had a bad experience with linux corrupting an ntfs system in the past.

I have installed ext2ifs on the windows system to access the linux drives, all of which are ext3. So far it seems to be working without any problems although googling turns up some other users who have had trouble with it.

I don't use windows much, there are really only about 3 programs that I use that will not run in wine. These are (1) an income tax program (2) a Cad program and (3) Canon PhotoRecord which gets used quite a bit for printing photos. BUT, almost all windows programs want to put their data in "My_Documents" by default and start all their "open file" searches there. It would be so much easier if "MyDocuments" was the same documents folder that everything else (meaning Linux appications) uses.

My current drive partition setup is:
Code:
Filesystem           
/dev/hda1              4.8G  vfat....windows
/dev/hda3              5.7G  ext3..../
/dev/hda4              3.5G  ext3..../home
/dev/hda5              62G   ext3....data..."Documents" folder is on this partition.
I used to use a vfat partition for data but switched to ext3 as soon as I was convinced that it was possible to access it from windows since ext3 is more reliable. Another reason is the 4G filesize limit with vfat which means that a dvd .iso cannot be craeted on a vfat system.

Just had time for a brief look at it but it looks like the microsoft's procedure for changing the default location of "MyDocuments" may give me the results I want. A symlink would have been so much easier!

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Symlink not recognized by Windows csapdani Linux - Networking 1 06-07-2007 06:42 PM
Symlink Fredde87 Linux - General 14 09-30-2005 09:06 PM
where is symlink? guitarfella Slackware 3 12-04-2004 08:34 AM
symlink evannextel Linux - Newbie 1 09-17-2003 04:54 PM
Symlink Mestax Linux - Newbie 3 09-04-2003 01:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration