Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #193889

Re: How to mount or link as extention of fs?

From Abdullah Ramazanoglu <ar018@yahoo.com>
Newsgroups linux.debian.user
Subject Re: How to mount or link as extention of fs?
Date 2018-03-18 21:30 +0100
Message-ID <vuN6h-4UK-5@gated-at.bofh.it> (permalink)
References <vusEy-8a2-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, 17 Mar 2018 17:32:00 -0500 Dennis Wicks said:
> I have separated my /home file system from root so I can
> install new systems without clobbering it. To make it most
> useful is there any way I can mount, link, whatever, it so
> that it appears to be an extension of, or included in,
> /home? That is not just another mount on the root fs.

Hi Dennis,

I have a similar setup, with a 600 G mirrored (RAID-1) partition
holding all my goodies, and several other partitions for distros. Each
instance of them has their own /home directory as part of root
file system, but I don't put anything of value in those /home
directories.

My regular distro (Debian Buster) is in /dev/sda5 mounted as "/" and my
user home is "/home/aramazan/". My goodies (real home) directory is
in /dev/md1 (the raid-1 partition) mounted as "/ar".

In my home (/home/aramazan) directory;

~$ ln -s /ar .

This symlinks /ar partition as "/home/aramazan/ar" which I use as my
real home directory, so that I always access the same home, no matter
which partition I have booted up. That is;

/home/aramazan/ar -> /ar

My mail home is also residing in the common /ar partition (/ar/.Posta),
which is also symlinked from home, as in;

/home/aramazan/.Posta -> /ar/.Posta

P.S.: I have presented a simplified setup for the purposes of this
thread. Actually I have two separate "goodies" partition, both raid-1,
one of them is 600G (/ar) for general use, and the other is an
encrypted 40G partition for sensitive data (symlinked
under /home/aramazan the same way as /ar, only with a different name).
So I have two separate "homes" - a general home and a secure home. My
mail home is actually under the encrypted home.

-- 
Abdullah Ramazanoglu

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

How to mount or link as extention of fs? Dennis Wicks <wix@mgssub.com> - 2018-03-17 23:40 +0100
  Re: How to mount or link as extention of fs? Ben Caradoc-Davies <ben@transient.nz> - 2018-03-17 23:50 +0100
  Re: How to mount or link as extention of fs? David Wright <deblis@lionunicorn.co.uk> - 2018-03-18 00:10 +0100
  Re: How to mount or link as extention of fs? Joseph Loo <jloo20111002@gmail.com> - 2018-03-18 02:40 +0100
    Re: How to mount or link as extention of fs? David Wright <deblis@lionunicorn.co.uk> - 2018-03-18 17:50 +0100
  Re: How to mount or link as extention of fs? Joseph Loo <jloo20111002@gmail.com> - 2018-03-18 02:40 +0100
  Re: How to mount or link as extention of fs? Abdullah Ramazanoglu <ar018@yahoo.com> - 2018-03-18 21:30 +0100

csiph-web