:: Re: [DNG] [OT] Help on ssd/hdd mixe…
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Greg Olsen
Ημερομηνία:  
Προς: dng
Αντικείμενο: 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!