Thursday, 22 August 2019

linux - Beaglebone Black filesystem resize - incorrect information? "just delete the partition and make a new one"

I am working remotely with a beaglebone black system.


I found this information on youtube about expanding the root filesystem.


https://www.youtube.com/watch?v=FK6wfV_19ac (watch from 12:50)


The author of the video demonstrates resizing of the filesystem by literally deleting the filesystem which contains /, and then creating a new partition.


(Unless I've completely misunderstood?)


This seems completely crazy. I can't understand how this worked and didn't destroy the filesystem? It seems like a complete fluke that no data was damaged in this process and that all the inodes are still valid.


This makes me wonder if I completely misunderstood something - and so I am now worried that this is actually a valid thing to do.


I would like a second opinion on this - is what the author instructs in the video the correct way to expand a filesystem? If so, why did deleting the partition containing all of the data of the root of the filesystem not destroy that data?

No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...