Urgent help needed with directory mounting

Discussion in 'Apache' started by o2pb, Jul 21, 2006.

  1. #1
    I have 1 of my directories mounted via

    mount --bind /path/to/dir /path/to/new/dir
    Code (markup):
    But I need to mount the same dir once again, onto a different location, but it wont let me. It says

    Mount point /path/to/new/dir does not exist
    Code (markup):
    Any ideas how I can get around this?
     
    o2pb, Jul 21, 2006 IP
  2. sunday

    sunday Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    mount --rbind src dest?
     
    sunday, Jul 23, 2006 IP
  3. o2pb

    o2pb Well-Known Member

    Messages:
    207
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    120
    #3
    I fixed it. It turns out I need to create the dir at the new location before mounting.
     
    o2pb, Jul 23, 2006 IP