You are correct. As far as I know, without a custom restore, it is impossible to repartition your device's flash memory. These commands simply either delete unneeded files/folders, or they move them to the data partition, which is MUCH larger than the root partition.