Results 1 to 5 of 5

Thread: automatically mounting a windows folder to one of my linux folders need help

Threaded View

  1. #1
    Join Date
    May 2012
    Beans
    7

    automatically mounting a windows folder to one of my linux folders need help

    I dual boot kubuntu 11.10 with windows 7 (oh dear god how i hate windows x.x) i have my fstab file setup so windows is autmoatically mounted in my /media directory. What i am attempting to do is set up a script that gets run when i login that uses mount --bind to bind the pictures and music folder in my windows partition to my /home/user/Pictures and /home/user/Music folders respectively. so far i have a script labeled .start that reads like this
    Code:
    #!/bin/bash 
    #By Lance Zeligman 
    echo *mypasswd* | sudo -S mount --bind /media/Users/user/Pictures /home/user/Pictures 
    echo *mypasswd* | sudo -S mount --bind /media/Users/user/Music /home/user/Music

    sadly this doesnt seem to be doing the trick could use some help here thanks
    Last edited by Fury24; May 9th, 2012 at 01:21 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •