Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Mass storage mounting scripts

    Reply
    Page 1 of 3 | 1   2     3   | Next
    thoughtfix | # 1 | 2006-01-12, 08:06 | Report

    I bricked my tablet!
    Then I fixed it and wrote this post on how to easily mount and unmount mass storage devices. It's not a howto - more of a "how I did it."

    http://thoughtfix.blogspot.com/2006/...-mounting.html

    Hey gnuite - Want to round out those last steps?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Simon | # 2 | 2006-01-12, 08:50 | Report

    Why do you do that stuff in the sudoers file? Is that so you don't need to be root to use them each time? I currently do everything in Xterminal as root (I use the sudo gainroot which I modded with the help of a Linux geek friend). I know it's not good to be root all the time and need to get out of that habit.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    thoughtfix | # 3 | 2006-01-12, 09:17 | Report

    Originally Posted by Simon
    Why do you do that stuff in the sudoers file? Is that so you don't need to be root to use them each time?
    The goal is to make icons that run the scripts. I failed in that for now... but only for now!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Wooky | # 4 | 2006-01-12, 10:55 | Report

    I left some comments in your blog. good work with the usb-powering hack (though I couldn't figure exactly how tou routed the + and - wires from the battery pack into the usb plugs).

    I have a question concerning the automount: can you
    #cat /etc/fstab
    (as root I guess) and post the output here? perhaps that will give us some insight as to how to automount mass-storage devices. A nano running Linux and a N770 make a wonderful pair.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    putkowski | # 5 | 2006-01-12, 17:11 | Report

    Originally Posted by thoughtfix
    I bricked my tablet!
    Then I fixed it and wrote this post on how to easily mount and unmount mass storage devices. It's not a howto - more of a "how I did it."

    http://thoughtfix.blogspot.com/2006/...-mounting.html

    Hey gnuite - Want to round out those last steps?
    thoughfix,

    in the blog, your references to the mount point should be

    /home/user/MyDocs/nano

    not

    /home/usr/MyDocs/nano

    Great help... thanks.

    P

    Edit | Forward | Quote | Quick Reply | Thanks

     
    thoughtfix | # 6 | 2006-01-12, 18:05 | Report

    Originally Posted by putkowski
    thoughfix,
    /home/user/MyDocs/nano
    Thanks putkowski - It was correct in all but two references.

    Damn my UNIX fingers for wanting to type /usr/

    Edit | Forward | Quote | Quick Reply | Thanks

     
    putkowski | # 7 | 2006-01-12, 19:26 | Report

    Originally Posted by thoughtfix
    Thanks putkowski - It was correct in all but two references.

    Damn my UNIX fingers for wanting to type /usr/
    I hate to say it, but I used-to-have the opposite problem. Now my brain seems to check to see if I'm typing in a white box...

    Now we need to mount a swap to a wifi mounted linux box (in case you get bored..)

    You're the top page at Planet Maemo..

    P

    While it seems odd to mount a music player to listen to music, my son's first impression (b4 the 770 was available) was that it would be an excellent "carputer." DC power a 160Gig USB drive and you could wifi your stuff to the driveway... then use the 770 to "tramp" around the internet once you get there...

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by putkowski; 2006-01-12 at 19:30.

     
    Chainsaw76 | # 8 | 2006-01-12, 19:46 | Report

    Originally Posted by putkowski
    ...was that it would be an excellent "carputer." DC power a 160Gig USB drive and you could wifi your stuff to the driveway... then use the 770 to "tramp" around the internet once you get there...
    Or... A front end to a carputer. Have a MP3 capable computer in the car, wi-fi.. Either no display, or rear LCD for movies. Then use the 770 as the controler to choose songs, etc. I haven't quite figured out how I'm going to do NAV.. But hopefully my Bluetooth GPS will be here soon.

    The the Carcomputer can Wifi it's own updates, and shut down.

    -Jason

    Edit | Forward | Quote | Quick Reply | Thanks

     
    meshsmooth | # 9 | 2006-01-13, 01:53 | Report

    i edited my sudoers file difrently
    Originally Posted by
    user ALL = NOPASSWD: /bin/mount /dev/sda1 /home/user/MyDocs/mnt/a
    user ALL = NOPASSWD: /bin/umount /dev/sda1
    but if i run the comand
    Originally Posted by
    /bin/mount /dev/sda1 /home/user/MyDocs/mnt/a
    as user
    i get
    Originally Posted by
    mount: permission denied. (are you root?)
    i am at a loss

    Edit | Forward | Quote | Quick Reply | Thanks

     
    thoughtfix | # 10 | 2006-01-13, 02:19 | Report

    The full command is:
    Code:
    sudo /bin/mount /dev/sda1 /home/user/MyDocs/mnt/a
    sudo has to grant root privs to the command first

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 3 | 1   2     3   | Next
vBulletin® Version 3.8.8
Normal Logout