Contents of partition accessible without mounting.
Code:
root@darkstar~# blkid Code:
root@darkstar~# mount /dev/mmcblk0p2 /juan Code:
root@darkstar~# ls -l /juan |
It is not the same.
/almacen is a directory on your /dev/mmcblk0p1 partition and /juan is the mount point of /dev/mmcblk0p2 which appears to be empty. |
Can I suggest to the OP that you create separate threads for the two additional problems. It will give them more visibility and keep each thread focussed on a single issue.
|
But they are intimately related, as being the result of a single action. Anyway, here it goes.
|
Alright, it's all been a mistake of mine, I mean a stupid mistake. I have two machines. Lets call one the old one and the other the new one (the new one has 100 times more space in the hard disk than the old one and I bought it a couple of days ago). I wanted to install Tex Live but the space on disk taken by such a piece of software is really phenomenal. To be able to install I decided to enlarge the /dev/mmcblk0p1 partition to take the whole of /dev/mmcblk0p2, a really unnecesary thing as I could have told the installer to install in the latter. That is, to have /dev/mmcblk0p1 occupying the whole disk, of course first destroying /mmcblk0p2. But in the latter I had very valuable information, namely /almacen.
So I transfered /almacen (/dev/mmcblk0p2) to an SD card and proceeded to destroy /dev/mmcblk0p2 and enlarge /dev/mmcblk0p1 (parted). Then I changed my mind and thought I did not need a monster like Tex Live. After all I had tetex which comes in the Slackware disks. Now I had to restore things to its old state and proceeded to shrink /dev/mmcblk0p1 and create /dev/mmcblk0p2 and transfer the SD card to /dev/mmcblk0p2. Judging by the result what I really did was to transfer the card to /dev/mmcblk0p1 where there was a much smaller space than the /almacen tree. The partition was left fully occupied and since then I have been working with the root partition full (df showed 100% use). And the most weird things could be expected to happen, I think. Actually things were more complex than described, for the old machine had problems with the SD card (blkid detects it only when I am lucky). I had to use the new machine to transfer the card to a pendrive and then transfer the pendrive to the old one, which still is the one I usually use. |
All times are GMT -5. The time now is 12:02 PM. |