LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-03-2004, 02:16 PM   #1
Big Harry
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Rep: Reputation: 0
shared home partition


hello.

i'm setting up a dual boot system with winxp and mandrake9.2 and have gotten this crazy idea of streamlining it a little by placing the /home directory onto a shared partition. since i'm the only user on it, security isn't really an issue. anyway, is this possible? is it recommended? will one of the os's be confused by it?
 
Old 06-03-2004, 02:54 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
I wouldn't reccomend doing this because the only partition type you can shere effectively is vfat/fat32 and it does not support unix file permissions. When I have a dualboot sysmte I usually create a mountpoint called "/shared" that holds the shared data (shared between OSs) then in Linux you can create a symlink into your home directory:
ln -s /shared/harry /home/harry/files

So when you access the files link within your home directory you are acutally accessing the files in the "harry" directory on the shared partition.
 
Old 06-03-2004, 11:37 PM   #3
Big Harry
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Original Poster
Rep: Reputation: 0
not the answer i was hoping for. it just seems inefficient to have an extra partition. thanks very much for the advice though.
 
Old 06-04-2004, 08:27 AM   #4
eeried
Member
 
Registered: Jan 2004
Distribution: Xubuntu Dapper - Debian Etch - Puppy Linux
Posts: 136

Rep: Reputation: 15
Quote:
I usually create a mountpoint called "/shared" that holds the shared data (shared between OSs) then in Linux you can create a symlink into your home directory:
Thanks for this great idea, david_ross!

I used motub's detailed article to mount a shared partition with win98, but what she suggests is to do it inside your home dir.
http://home.planet.nl/~elst0093/motub/multboot.html

You mean you've created an extra partition, don't you?
Aren't there any security problems just as if it was mounted on /home/user1?
Or do you mean it's different because the partition is on its own, sort of quarantined!

I suppose having someting like windoz on your computer is always a bit of a threat anyway, isn't it?
 
Old 06-06-2004, 11:29 AM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Quote:
Originally posted by Big Harry
not the answer i was hoping for. it just seems inefficient to have an extra partition. thanks very much for the advice though.
I'm not sure where you are seeing an extra partition. On some systems having extra partitions can actually increase performance as it can let you place the data you access the most on the fasted parts of your drive.

Quote:
Originally posted by eeried
Thanks for this great idea, david_ross!

I used motub's detailed article to mount a shared partition with win98, but what she suggests is to do it inside your home dir.
It's just that in my setup I want to use that partition and have it mounted for several users so having it mounted directly in my home directory isn't as useful - it is easier just to symlink it to my home directory.

Quote:
Originally posted by eeried
You mean you've created an extra partition, don't you?
Aren't there any security problems just as if it was mounted on /home/user1?
Or do you mean it's different because the partition is on its own, sort of quarantined!
The vfat partition is seperate, yes.
It is very difficult to guage what you would anticipate in the way of security problems. All filesystems that are not encrypted can be accessed by anyone with physical access to a computer in one way or another. The main security issue is that each fat partition can only be mounted with a set of permissions that exist on all files. So if two people use the same partition to store files then they also have access to each others documents.

Quote:
Originally posted by eeried
I suppose having someting like windoz on your computer is always a bit of a threat anyway, isn't it?
Having Windows on your PC isn't that much of a security risk, running it on the other hand would leave you fat fartition open to any viri that your computer is not protected against.
 
  


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
Shared /home and /boot partitions? Elnsoxo Linux - General 3 10-20-2007 01:23 AM
two dists, shared /home partition kenneho Linux - Distributions 5 08-03-2005 02:25 AM
Users & passwords in shared /home partition mikieboy Linux - Newbie 1 02-24-2005 06:26 PM
Writing to a shared home folder confused_bof Linux - Networking 5 05-18-2004 06:50 AM
lost shared drive on XP Home/Pro stoned-kik Linux - Networking 1 04-30-2004 07:40 PM

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

All times are GMT -5. The time now is 11:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration