Saturday, October 13, 2018

2.3 gingerbread - "mount" on 2.3.4 is Behaving Oddly



I'm on Nexus S, 2.3.4, stock and rooted. BusyBox is v1.18.4 (2011-03-20 15:16:04 CDT). When I try to remount ANYTHING it just


$ mount -o remount,rw /system
Usage: mount [-r] [-w] [-o options] [-t type] device directory

Any ideas how to fix that? Is it a BusyBox issue?



Answer



You are not specifying the device to mount, only the directory so it is telling you that you are missing one of the required parameters.


I believe that the busybox mount will let you get away with not supplying the device, if it can figure out the device to mount, but the "stock" mount requires that you supply both the directory and the device.


you would have to do the following:


# mount -o remount,rw /dev/block/mtdblock4 /system



or you could try the busybox mount


# busybox mount -o remount,rw /system


but you should always supply the device to mount, so there is no confusion or issue with mounting the wrong device.


No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...