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


Groups > linux.debian.user > #193879

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

From Ben Caradoc-Davies <ben@transient.nz>
Newsgroups linux.debian.user
Subject Re: How to mount or link as extention of fs?
Date 2018-03-17 23:50 +0100
Message-ID <vusOe-8eM-1@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 18/03/18 11:32, Dennis Wicks wrote:
> Greetings!
> 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.
> TIA Dennis

Are you trying to separate your own (for example) /home/dennis while 
leaving other /home subdirectories on the /home filesystem? You can do 
this by mounting /home/dennis under /home. Just make a mount point 
/home/dennis and add fstab entries. Nested mount points work, and are 
the way other filesystems are mounted on root. The only tricky part is 
that your /home/dennis should still contain lost+found owned by root (if 
ext4) and you will need to move all files and directories into the root 
of the /home/dennis filesystem.

I recommend using a mount point with root:root ownership and no access 
to others to prevent unintentional modification while /home/dennis is 
not mounted.

Kind regards,

-- 
Ben Caradoc-Davies <ben@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand

Back to linux.debian.user | Previous | Next — Previous in thread | Next 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