User configs, BTRFS subvolume for /home and automatic service start during boot?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fr, 04.05.18 18:59, Thorsten Schöning (tschoening at am-soft.de) wrote:

> Guten Tag Lennart Poettering,
> am Freitag, 4. Mai 2018 um 18:07 schrieben Sie:
> 
> > Hmm, you said /home was a subvolume? That suggests they are on the
> > same fs? Not following here?
> 
> I guess "/etc/fstab" is clearer than my explanation:
> 
> > # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> > # / was on /dev/sda1 during installation
> > UUID=0841ef72-e9d4-45ca-af22-a403783859c6 /               btrfs   noatime,nodiratime,subvol=@ 0       1
> >
> > # /home was on /dev/sda1 during installation
> > UUID=0841ef72-e9d4-45ca-af22-a403783859c6 /home           btrfs   noatime,nodiratime,subvol=@home 0       2
> 
> So the same BTRFS file system containing two sub volumes. That seems
> to work for user configs, my problem was a wrong "WantedBy".

Note that btrfs subvolumes are just special directories, hence you can
also do without an explicit entry for the home subvol, and simply
create it below the root subvol.

Lennart

-- 
Lennart Poettering, Red Hat


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux