Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I found an Android(Linux) command:

mount -oremount,rw /dev/block/mtdblock3 /system

Could someone explain me what this means?

share|improve this question
    
looks like someone is trying to understand jailbreaking their droid – RobotHumans Dec 10 '10 at 13:46
    
yeah, I am trying to remove the stock apps .... – Foolish Dec 10 '10 at 13:46
    
If you want to play with your phone, start here: forum.xda-developers.com but 'at your own risk' – Linker3000 Dec 10 '10 at 14:01
up vote 6 down vote accepted

mount (make available) the device /dev/block/mtdblock3 at the mount point (folder) /system, using the -o (optional) commands to make the device read-writeable and remount it if it's already mounted.

share|improve this answer
    
Hi, your explain is good, but can you explain the parameters :/dev/block/mtdblock3 and -oremount,rw ? Or some references are appreciated, thanks ! – Foolish Dec 10 '10 at 13:50
1  
/dev/block/mtdblock3 is the name given to the storage device (flash memory or storage card) in your phone by the phones Operating System. -o says 'here comes some options for the command' and those options (separated by commas) are 'remount' and 'rw' - have a look here: linux.about.com/od/commands/l/blcmdl8_mount.htm – Linker3000 Dec 10 '10 at 13:58
    
Thanks very much ! did solve my problem. – Foolish Dec 10 '10 at 14:03

It remounts the given filesystem as read/write on the given mountpoint. It's usually used because the filesystem was previously mounted read-only and write access is now needed.

share|improve this answer
    
what is this parameter : "-oremount" ? and this /dev/block/mtdblock3 /system mean ? I know what they do know, but I don't understand the command. – Foolish Dec 10 '10 at 13:48
    
-o passes options to mount. linux.die.net/man/8/mount – Ignacio Vazquez-Abrams Dec 10 '10 at 13:51
    
but why -o cascade with remount without any space ? I was thinking that they are a paramaeter? – Foolish Dec 10 '10 at 13:58
1  
it might work with a space....it just has to do with how mount processes the options. on a pure linux box it works with a space, don't know about the droid platform. if a command line utility takes multi-letter options with a single - then this would fail. it's peculiar to mount – RobotHumans Dec 10 '10 at 14:01
    
Thanks very much ! – Foolish Dec 10 '10 at 14:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .