I have /home directory in the separate partition. But, I have two users in my system. I want to create a separate partition for one of these user.
Like
partition1 : /home
partition2 : /home/user1
Partition1 for all user except user1. user1's data will be stored in partiton2(/home/user1). I will keep username same for partition mounting point so it should not affect any application and configuration.
- If I divide current home partition into two partitions.
- Copy all /home/user1 data into newly created partition2.
- And change mount point of partition2 to /home/user1.
Will it work?
Or any other better way to do it?
Thanks
Purpose behind doing this is, I want to encrypt one user's partition.