LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 11-06-2005, 11:53 AM   #1
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386

Rep: Reputation: 41
FreeBSD /home mount point question


Ok I'm currently in the process of downloading FreeBSD 6. Now I had a question about mount points:

Here's my partition setup: http://i2.photobucket.com/albums/y13...heFall/hda.png

/hda1 is my Fedora Partition
The little free space after it is going to be the FreeBSD swap slice
Extended partition:
/hda5 is my home partition. I use it as a universal home folder for each distro I install.
/hda6 and /hda7 are Partitions with Data on them, I'll figure out a way to expand my home folder to take up all that space and contain that data on it.
/hda8 is has Debian on it, actually I never use it at the moment so it'll probably have to go.
/hda9 is the swap partition I use for any Linux distro I install on the system.
And finally the last partition ist where FreeBSD is going.

My question is: Can I set the /home mount point to /hda5 during installation, though it's on an Extended partition? Somewhere I read (or I think I read) that you can only allocate mount points on the whole extended partition. I just want to mount my BSD home folder on hda5. What can I do for that? Or is it impossible because /hda5 is ext3? Please help me out.

Will this whole thing go easily or am I better off backing up my stuff, wiping my hard drive and setting up the partitions from scratch?

Thanks a lot!

-A
 
Old 11-06-2005, 02:31 PM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
While you can mount ext3, they mount as ext2 and you will have various problems (especially if you intend to write to it).

It is much better to have /home on a single partition and you can mount /home/linux-home/ or whatever... beneath it. I would probably mount it read only just to keep it from being corrupted. Although I tend to be more conservative about things like that than most people.
 
Old 11-07-2005, 08:40 AM   #3
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386

Original Poster
Rep: Reputation: 41
So is there any way how to be able to write to an ext3 partition without risking corrupting it (e.g. adding kernel support or something..)?

Thanks a lot!

-A
 
Old 11-07-2005, 01:28 PM   #4
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Actually, to my knowledge, writing to it at all isn't even possible. I think there was experimental write support for a while (or maybe I imagined it) but it never worked well. It is likely support will come in the future but it's not something I would wait on.

For the time being, plan on read only access to the data. If you need to have a partition to share data between systems make sure it's one that both can read and write (and not FAT -- windows -- based because you want to keep permissions and such).
 
Old 11-07-2005, 06:21 PM   #5
Bonzodog
Member
 
Registered: Apr 2005
Location: UK
Distribution: Arch Linux 64
Posts: 76

Rep: Reputation: 16
hi there- I have a similar question, so i thought I would add to this thread -
I currently have Ubuntu (root) installed on /dev/hda1 (primary)
/dev/hda2 is the extended partition containing:
Slamd64 (root) on /dev/hda5 (logical)
swap on /dev/hda6
/home (shared) on /dev/hda7

I was reading the handbook yesterday, and from what I can gather, FreeBSD's root has to be on a primary partition, (/dev/hda1) where as I was hoping to put it over slamd64 on /dev/hda5.
Also does FreeBSD have to use XFS? or can it use another filesystem, such as reiser or ext3?

If I am right, and what I am reading on here is right, then I will need to re-format the entire disk, create the partitions a bit more equally, then have 2 home partitions, one on reiserFS and the other on XFS, along with a new install of Ubuntu on /dev/hda5 and /dev/hda1 gets XFS with FreeBSD... or can it be done the other way around and can i make linux use XFS?
It would be nice to have the two OS's talking to each other with full read/write.

Thanks

A slightly confused linux-only-up-to-now user.
 
Old 11-07-2005, 08:58 PM   #6
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
FreeBSD uses UFS not XFS. Yes, you will need to repartition... FreeBSD won't boot from an extended (logical) partition.

At the very least you need the / (root) partition to be ufs. All the others should be something which could reliably be mounted r/w and be checked at boot. Most usually this is also ufs (for many reasons... but mostly simplicity). Note: linux will read ufs filesystems without too many problems.

FreeBSD does not have reiserfs or ext3... I won't get into a filesystem flame-war here, but they see little need for these formats. With soft-updates the need for a journaling filesystem just does not exist.
http://www.mckusick.com/softdep/index.html

That link provides some other information. But in short, the lack of need/desire for these filesystems means there is not much call for full support in the base system. I would recommend using either ufs (preferred) or ext2 to share data between the two systems.
 
  


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
Same /home mount point for two distros? jaristr Linux - General 4 08-18-2005 11:27 AM
Yet another partitioning & mount point question cwlee Linux - Newbie 3 12-06-2004 02:45 AM
to answer the FreeBSD as desktop/at home OS question... mipia *BSD 0 10-25-2004 12:50 AM
Hard Drive Mount Point Question The Oate Mandriva 6 08-03-2004 08:25 PM
mapping home directories to different mount point jjohnston62 Linux - General 5 11-05-2003 04:42 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 02:44 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