Gandhi was vehemently opposed to the Partition of India and tried to avoid it. But what was his stance on it once it had happened? Did he accept it as fait accompli or did he envision some scheme for re-unification in the future? Did he express his views on the matter in print before he was murdered?
Gandhi accepted partition, but deeply deplored the communal violence that was taking place at that time. In fact, he had been scheduled to leave for a "peace march" to Lahore from Delhi, but was killed just four days before he could begin the march. He had also pleaded before the Government of India to try and maintain friendly relations with the Government of Pakistan.
However, I am not sure that Gandhi was as vehemently opposed to partition as it is generally believed. Had the partition plan not had Gandhi's passive support, it would surely have been vetoed by the Congress, since Gandhi was still its unquestionable leader. It appears that he acquiesced to the partition plan only to avoid communal tension.
As for views in print, since Gandhi himself edited the paper Harijan, I expect there to be some written record. But I have not been able to find it yet. If I get something, I will update my answer.
Update: I have added a few quotes from Gandhi's speeches. They have been taken from Collected Works of Mahatma Gandhi, so in case you disagree with my conclusions, feel free to respond with additional quotes/reasons.
Note on Gandhi's speech at Congress Working Committee on June 2, 1947
Refer to Gandhi's speech at prayer meeting on June 4, 1947
From another letter by Gandhi on June 2, 1947
In fact ... Gandhiji had to succumb to the Pressures built up within the Congress accepting for the Partition ... a more TRUTHFUL and a REAL description of the circumstances leading to Mahatma Gandhi's fate in Congress had been described by Stanley Wolpert -
Stanley Wolpert has argued, the "plan to carve up British India was never approved of or accepted by Gandhi...who realised too late that his closest comrades and disciples were more interested in power than principle, and that his own vision had long been clouded by the illusion that the struggle he led for India's independence was a nonviolent one."
. Wolpert, Stanley (2002). Gandhi's passion: the life and legacy of Mahatma Gandhi. Oxford University Press. ISBN 9780199728725.
This clearly exhibits that, in his post-partition days, Gandhiji REALISED that "his closest comrades and disciples were more interested in power than principle"... AND, probably this REALISATION led to Gandhiji saying to DISSOLVE CONGRESS ...here, the question is - who were those closest comrades and disciples ... Nehru was surely one of them ... going for the POWER ... leaving the Principles and Ideology aside.
But, what Sonia now says ... POWER IS POISON ...
Certainly, when Congress has become a SYNONYM of POWER right from the days of NEHRU ... leaving Gandhi's Principles and Ideology ... the present CONGRESS has just BECOME POWER GREEDY ... NO FAITH IN GANDHI's PRINCIPLES & IDEOLOGY ... ONLY STOLE HIS NAME ... for doing politics in HIS NAME.