[haiku] Re: Putting home on another filesystem

  • From: Adrien Destugues <pulkomandy@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Thu, 19 Dec 2013 12:22:31 +0100

On 2013-12-19 at 12:00:48 [+0100], David Given <dg@xxxxxxxxxxx> wrote:
> I'd rather like to devote two partitions to Haiku --- one for the main
> root filesystem, which I can obliterate at will in order to upgrade to a
> new release, and one for /boot/home containing all my data, which isn't
> touched.
> 
> How do I do this on Haiku? Is there an equivalent of /etc/fstab
> somewhere? I have in the past experimented with making /boot/home a
> symbolic link, but it's not really very satisfactory...

The easiest way is to mount your home partition early in the user boot 
script ( home/config/settings/boot/UserBootScript ), on the boot disk.

This is already a bit too late, so some system things will still read from 
the original home directory. Mounting it earlier requires modifying the 
system, because all scripts executed earlier are part of packages.

You can also point your home dir to somewhere else in /etc/passwd, but 
there will be some apps not taking this into account (they should be fixed, 
please report).

-- 
Adrien.

Other related posts: