LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   shared home partition (https://www.linuxquestions.org/questions/linux-newbie-8/shared-home-partition-189349/)

Big Harry 06-03-2004 02:16 PM

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?

david_ross 06-03-2004 02:54 PM

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.

Big Harry 06-03-2004 11:37 PM

not the answer i was hoping for. it just seems inefficient to have an extra partition. thanks very much for the advice though.

eeried 06-04-2004 08:27 AM

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?

david_ross 06-06-2004 11:29 AM

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.


All times are GMT -5. The time now is 12:32 PM.