:: Re: [DNG] [OT] Help on ssd/hdd mixe…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Greg Olsen
Date:  
À: dng
Sujet: Re: [DNG] [OT] Help on ssd/hdd mixed system... --> bind mounts?
> al3xu5 via Dng said on Fri, 30 Jun 2023 09:00:07 +0200
>
>
> >Just another point: how to keep it after a reboot?
> >Should I put the bind mount in fstab?


Yes. Put them after OS filesystems in the order you want them mounted.

E.g. /etc/fstab entry

# <file system>                            <mount point>                <type>       <options>           <dump>  <pass>
/home/share/geek/emacs.d      /home/geek/.emacs.d      none         rw,bind                     0       0


fstype should be 'none'
specify option 'bind'
0 for dump and pass options

Nice and simple!