1

I want to mount two disks or directories into a single mount point. I saw some article online which mentioned bindfs, I had a look at it but I don't understand how it can help.

Another article shows how to mount two disks into a single directory using this mount option: -o union. I tried those instructions and they don't seem to work.

My goal is to mount a disk into an existing directory of an already mounted disk and see both files from the mounted disk and the directory.

Edit:

The solution proposed is not working, the content of the disk hides the content of the target directory.

  • 1
    Possible duplicate of Mount folder as a volume (OSX) – Allan Sep 13 '18 at 17:08
  • I don't see how this is the same issue, I want to keep the existing file from the mount point alongside the files from the mounted disk. – Fabrizio Destro Sep 13 '18 at 17:20
  • 1
    Look at the second solution using bindfs – Allan Sep 13 '18 at 17:28
  • bindfs /Volumes/Disk ~/TargetDirectory It does not work, the files inside the second directory are being hidden by the content of the disk. I am asking for a solution which merges the two contents. – Fabrizio Destro Sep 13 '18 at 19:55

You must log in to answer this question.

Browse other questions tagged .