Author Topic: Linux: Is two home directories possible?  (Read 2245 times)

Woofage

  • Tofu-eating Wokerati
  • Ain't no hooves on my bike.
Linux: Is two home directories possible?
« on: 23 April, 2008, 09:31:11 am »
By this I mean on separate volumes?

Here's my plan:

I'm building a simple Linux home server using some old pooter bits. It will be a low power unit so the plan is to have the file system and home directory on separate flash memory cards (CF via an IDE adapter). However, I will also have a conventional hard drive as another "home" directory (for photos etc). How is it best to achieve this? I've done some searching but cannot find any docs that describe such a system.
Pen Pusher

tiermat

  • According to Jane, I'm a Unisex SpaceAdmin
Re: Linux: Is two home directories possible?
« Reply #1 on: 23 April, 2008, 09:34:25 am »
I would mount a directory under your home directory as the HDD, so it would look thus:

/home/woofage = CF card
/home/woofage/photos = IDE HDD
I feel like Captain Kirk, on a brand new planet every day, a little like King Kong on top of the Empire State

Woofage

  • Tofu-eating Wokerati
  • Ain't no hooves on my bike.
Re: Linux: Is two home directories possible?
« Reply #2 on: 23 April, 2008, 12:09:54 pm »
OK, tar :)

So I could also have, say,  /dev/hdxn mounted on /home/photos? This way I can add write permissions to more than one user and keep things tidy.
Pen Pusher

tiermat

  • According to Jane, I'm a Unisex SpaceAdmin
Re: Linux: Is two home directories possible?
« Reply #3 on: 23 April, 2008, 12:11:51 pm »
Yes, exactly, that would work fine.
I feel like Captain Kirk, on a brand new planet every day, a little like King Kong on top of the Empire State

Woofage

  • Tofu-eating Wokerati
  • Ain't no hooves on my bike.
Re: Linux: Is two home directories possible?
« Reply #4 on: 23 April, 2008, 01:11:47 pm »
 ;D
Pen Pusher