Rooted G1, unmount SD card question.


Last Updated:

  1. N3TWORK BURN3R

    N3TWORK BURN3R Well-Known Member This Topic's Starter

    Joined:
    Sep 24, 2008
    Messages:
    554
    Likes Received:
    7
    So i recently went rooted and now im wondering if there is a way to unmount the SD card once i have it mounted to my pc using the usb cable. Reason i ask is that i usually charge my phone thru usb and sometimes i move files in and out of the device, but want to test said files without having to remove the usb cable and plug it back in to unmount the SD card. Can anyone help?
     

    Advertisement
  2. Ageless Stranger

    Ageless Stranger Well-Known Member

    Joined:
    Dec 2, 2008
    Messages:
    699
    Likes Received:
    49
    I haven't rooted yet (shhh you didn't hear that) so I am going to grasp at a straw here and ask if using umount from the command line works?

    umount /sdcard
     
  3. justjimjpc

    justjimjpc Premium Member VIP Member

    Joined:
    Nov 3, 2008
    Messages:
    10,543
    Likes Received:
    210

    umount (sp) ? unmount might work ... On my phone (not-rooted) it fails because permission denied ...
     
  4. Ageless Stranger

    Ageless Stranger Well-Known Member

    Joined:
    Dec 2, 2008
    Messages:
    699
    Likes Received:
    49
    umount is the linux command for unmounting a disk, it might have been renamed to unmount but I thought it was only Microsoft that deviated from standards.
     
  5. justjimjpc

    justjimjpc Premium Member VIP Member

    Joined:
    Nov 3, 2008
    Messages:
    10,543
    Likes Received:
    210
    Not doubt you are right ...

    Using Terminal Emulator :

    $ umount yields: umount <path>
    $ unmount yields: unmount: permission denied
    $ umount /sdcard yields: failed.

    so maybe both command are useable in different situations ..?

    BTW: I think English has more exceptions to rules than it has rules without exception .. :)

    .
     
  6. Ageless Stranger

    Ageless Stranger Well-Known Member

    Joined:
    Dec 2, 2008
    Messages:
    699
    Likes Received:
    49
    try typing :

    $ FooBarAnyOldCommand

    you should get permission denied
     
  7. justjimjpc

    justjimjpc Premium Member VIP Member

    Joined:
    Nov 3, 2008
    Messages:
    10,543
    Likes Received:
    210
    Yep ... I see what you mean .... of course I am not a linux-head definately have lots to learn ... and at such and old age ... easier to wait for the wizards to do the work for me :)
     
  8. MrCRB

    MrCRB New Member

    Joined:
    Mar 25, 2009
    Messages:
    4
    Likes Received:
    0
    Don't forget to switch user (su). That meaning:

    $ su
    # umount /sdcard

    Later you can mount the device again with:

    $ su [if not already switched to root]
    # mount /sdcard

    That's all :)
     
  9. N3TWORK BURN3R

    N3TWORK BURN3R Well-Known Member This Topic's Starter

    Joined:
    Sep 24, 2008
    Messages:
    554
    Likes Received:
    7
    I think i tried that, not too sure tho. Ill try it in a sec.


    Edit : Nope, didnt work.
     
  10. muzicman0

    muzicman0 Well-Known Member

    Joined:
    Dec 12, 2008
    Messages:
    104
    Likes Received:
    6
    um...I think you are thinking backwards...haven't tried...but I would think that you would need to safely remove the device from xp/vista/linux/whatever OS you are using...then, if it doesn't auto mount, then use the mount command...
     
  11. sherri

    sherri Well-Known Member

    Joined:
    Nov 2, 2009
    Messages:
    1,166
    Likes Received:
    501
    The one I posted does what OP wants...(not endorsing nor condoning....)
     

Share This Page

Loading...