umount /dev/hda2 or sudo umount /dev/hda2 , where hda2 is the device to umount. Of course you need to provide the full path. (sudo provides root permissions).
To mount, the command is (eg.) mount /dev/hda2 or sudo mount /dev/hda2.
Please note that hda1/hda2/etc. identifies a disk, while sda1/sda2 etc. identifies a sdcard
Since Android is an offshoot of linux, it would be enough simply find the full path to the device to be umount/mount, and you're done ...
Anyway, take it with a springs because I may be wrong ...
However, it is easy, just find the path, open a terminal and give the command sudo prefixing with the full path name of the device and press return. At worst it will not work...
However, most of the scripts have been provided ... can be start with this:
Comment