Groups | Search | Server Info | Login | Register


Groups > comp.arch.embedded > #32330

Re: How do you wipe a UBI filesystem?

Path csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From chrisq <devzero@nospam.com>
Newsgroups comp.arch.embedded
Subject Re: How do you wipe a UBI filesystem?
Date Wed, 12 Feb 2025 15:03:06 +0000
Organization A noiseless patient Spider
Lines 27
Message-ID <void7a$2cff6$1@dont-email.me> (permalink)
References <vo0e7s$m5v$1@reader2.panix.com>
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Wed, 12 Feb 2025 16:03:07 +0100 (CET)
Injection-Info dont-email.me; posting-host="e3208c8b627bc079fac379e957e56d76"; logging-data="2506214"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NBMGINbCY8fGsj3gofUtB"
User-Agent Mozilla Thunderbird
Cancel-Lock sha1:rq2pBc4cuE4SLCu+nDfzSxbhhdE=
In-Reply-To <vo0e7s$m5v$1@reader2.panix.com>
Content-Language en-US
Xref csiph.com comp.arch.embedded:32330

Show key headers only | View raw


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 ?.

Chris

Back to comp.arch.embedded | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How do you wipe a UBI filesystem? Grant Edwards <invalid@invalid.invalid> - 2025-02-05 19:30 +0000
  Re: How do you wipe a UBI filesystem? Grant Edwards <invalid@invalid.invalid> - 2025-02-05 21:15 +0000
  Re: How do you wipe a UBI filesystem? chrisq <devzero@nospam.com> - 2025-02-12 15:03 +0000
    Re: How do you wipe a UBI filesystem? Grant Edwards <invalid@invalid.invalid> - 2025-02-12 18:03 +0000

csiph-web