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
sadly this doesnt seem to be doing the trickcould use some help here thanks
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
Comment