If you want to use jQuery’s validate to check the size of the file you can by creating this method:
Daily Archives: August 6, 2013
read only root file system
are you using the ext4 filesystem? If you are not sure you can check by typing "mount | grep ext4".