:: Re: [DNG] [OT] Help on ssd/hdd mixe…
Top Pagina
Delete this message
Reply to this message
Auteur: al3xu5
Datum:  
Aan: dng
Oude Onderwerpen: Re: [DNG] [OT] Help on ssd/hdd mixed system...
Onderwerp: Re: [DNG] [OT] Help on ssd/hdd mixed system... --> bind mounts?
Tue, 20 Jun 2023 01:56:04 -0400 - Steve Litt <slitt@???>:


> [...] But I use bind mounts, not symlinks.
>
> SteveT


Can you help me about bind mounts, please?

I usually use symlinks (having a bind mount just for a nsf mount in
fstab), and I'm not very experienced with bind mounts.

Say I want to "move" /home/me/desktop from a SSD system disk to
/media/data onto a different disk (to reduce writings on SSD).
I would do this:
$ cp -p -R /home/me/.claws-mail/ /media/data/claws-mail
$ mv /home/me/.claws-mail /home/me/.claws-mail.bak
$ ln -s /media/data/claws-mail /home/me/.claws-mail

Instead, what would it be like using a bind mount?

Once this is done, with the bind mount:
- this will avoid writings on the SSD (or it is a sort of mirror)?
- actual data will be only on /media/data/claws-mail ?
- which data I should backup?
- which mount options I should use?

Thank you in advance

Regards
al3xu5

--
Property is theft! (P-J Proudhon) ...today more than ever.
____________________________________________________________________________

Public GPG/PGP key: 8FC2 3121 2803 86E9 F7D8 B624 DA50 835B 2624 A36B