对home目录采用snapshot方式实现persistence
$ dd if=/dev/null of=home-sn bs=1G seek=1

$ ls home-sn | cpio -o | gzip > home-sn.cpio.gz

$ cp home-sn.cpio.gz $(USB)

在每次启动的时候,加上persistent参数,live系统即会自动将home-sn.cpio.gz挂载为主目录

在关机的时候,才会进行同步

相关文章:

  • 2022-01-19
  • 2021-07-05
  • 2021-10-08
  • 2022-03-09
  • 2021-10-29
  • 2021-09-28
  • 2021-08-26
猜你喜欢
  • 2021-05-23
  • 2022-12-23
  • 2021-05-13
  • 2022-02-07
  • 2021-11-14
  • 2021-11-06
  • 2021-08-17
相关资源
相似解决方案