Ir al contenido
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Inicia sesión
  • Nederlands English (US) Español (AR)
  • Contáctanos
  • Inicio
  • Blog
  • Empleos
  • Contáctanos
Cafayate.Net
  • 0
  • 0
    • Inicio
    • Blog
    • Empleos
    • Contáctanos
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Inicia sesión
  • Contáctanos

mount into LXC container

  • Todos los blogs
  • Tech Blog
  • mount into LXC container
  • 5 de marzo de 2021 por
    Administrator

    Yes but before I go that far, couldn’t you just symlink?

    ln -s /media/tc1/folder ~/home
    This link is just a file that is interpreted. It is automatically permanent (until you delete the file).

    Failing that you can use mount as you described but the syntax is slightly different:

    mount –bind /media/tc1/folder /home/dvad/home
    This is not permanent at all, and will be nuked by a restart. If you want it to persist, you’ll need something in your /etc/fstab like this:

    /media/tc1/folder /home/dvad/home none bind
    If you’re trying a mount and it’s not working, you should make sure that the block-level device is mounted. You can’t directly mount a subdirectory of a partition without first mounting the partition.

    en Tech Blog
    Project Atomic

    Diseñado para empresas

    Somos un equipo de personas apasionadas cuyo objetivo es mejorar la vida de todos a través de productos revolucionarios. Creamos grandes productos para resolver sus problemas empresariales. Nuestros productos están diseñados para pequeñas y medianas empresas dispuestas a optimizar su rendimiento.

    Contáctenos

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

    • +31 653-919-302
    • [email protected]
    Síganos
    Copyright © Plantexel
    Nederlands | English (US) | Español (AR)