LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2001, 12:25 AM   #1
Sakura_Samurai
LQ Newbie
 
Registered: Jun 2001
Distribution: Red Hat 7.1
Posts: 4

Rep: Reputation: 0

Can anyone tell me how I can have the Windows "My Documents" folder, and my Linux home directory (/home/sakura/) share a partition? I can set it up do that the My Documents folder is contained in d:\ (/dev/hda6). But I'm having problems seting up the linux side of the situation. Would this be possable:

Type at the shell prompt:
Code:
$ su
# chown sakura /dev/hda6
# chown sakura /home/sakura
# exit
$ chmod 700 /dev/hda6
$ chmod 700 /home/sakura
Insert into /etc/fstab:
Code:
/dev/hda6 /home/sakura vfat owner,defaults 0 0
I'd try it out, but I don't want to screw anything up. Any advice would help greatly.

Thanks,
Sakura Samurai

[Edited by Sakura_Samurai on 06-05-2001 at 01:32 AM]
 
Old 06-05-2001, 01:01 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
# chown sakura /dev/hda6 < this wont work. u dont chown partitions.
# chown sakura /home/sakura < ok
$ chmod 700 /dev/hda6 < no. see 1
$ chmod 700 /home/sakura < ok
/dev/hda6 /home/sakura vfat owner,defaults 0 0 < dont know if "owner" is supported, or if it should be "user" to let it be usermounted, but I think it read "rw,auto" since its a homedir.

anyway, its possible I think, but it wont do no good, since vfat cant have filenames like linux does, for instance resourcefiles tend to be named .wgetrc, .lynxrc, .tkdevrc, or have case sensitivity vfat doesnt comprehend. also the permissionsscheme wont work like linux has it.
all in all Id say just make ure home on linux and automount the partition "My Documents" is on and have a symlink in ure homedir.
 
  


Reply



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
Linux partition sharing linuxhippy Linux - General 6 09-18-2005 01:45 PM
NTFS Partition has documents... need help with corrupted filenames Samppa72 Linux - Software 3 10-01-2004 12:46 PM
Sharing swap partition arubin Linux - Newbie 6 04-21-2004 12:09 PM
Linux vs. XP: Sharing a partition halobungie Linux - Newbie 7 08-10-2003 03:24 AM
Partition Sharing Swampy Slackware 7 01-30-2003 07:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:29 PM.

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