Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 35 |
Nodes: | 6 (1 / 5) |
Uptime: | 21:16:29 |
Calls: | 331 |
Files: | 986 |
Messages: | 107,658 |
Pretend I've got an MTD partition attached as a UBI device.
That UBI device contains a couple differen UBI volumes.
In one of those volumes is a UBIFS filesystem that has a bunch of
files in it.
I've done some googling, but all of the answers are "use
ubiformat". That will wipe the whole device. I just want to
re-initialize one ubifs filesytem in one volume -- not the whole
ubi device.
How do I wipe that filesystem (set it back to empty). Do I need to
create an empty ubifs "image" file using mkfs.ubifs and then use
ubiupdatevol to write that image to the volume?
Isn't there a simpler way?
Pretend I've got an MTD partition attached as a UBI device.
That UBI device contains a couple differen UBI volumes.
In one of those volumes is a UBIFS filesystem that has a bunch of
files in it.
I've done some googling, but all of the answers are "use
ubiformat". That will wipe the whole device. I just want to
re-initialize one ubifs filesytem in one volume -- not the whole
ubi device.
How do I wipe that filesystem (set it back to empty). Do I need to
create an empty ubifs "image" file using mkfs.ubifs and then use
ubiupdatevol to write that image to the volume?
Isn't there a simpler way?
On 2/5/25 19:30, Grant Edwards wrote:
Pretend I've got an MTD partition attached as a UBI device.
That UBI device contains a couple differen UBI volumes.
In one of those volumes is a UBIFS filesystem that has a bunch of
files in it.
I've done some googling, but all of the answers are "use
ubiformat". That will wipe the whole device. I just want to
re-initialize one ubifs filesytem in one volume -- not the whole
ubi device.
How do I wipe that filesystem (set it back to empty). Do I need to
create an empty ubifs "image" file using mkfs.ubifs and then use
ubiupdatevol to write that image to the volume?
Isn't there a simpler way?
Try a search:
"ubi file system utilities Linux"
Which may help, third entry down ?.