Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #32328

How do you wipe a UBI filesystem?

Path csiph.com!weretis.net!feeder9.news.weretis.net!panix!.POSTED.localhost!not-for-mail
From Grant Edwards <invalid@invalid.invalid>
Newsgroups comp.arch.embedded
Subject How do you wipe a UBI filesystem?
Date Wed, 5 Feb 2025 19:30:04 -0000 (UTC)
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <vo0e7s$m5v$1@reader2.panix.com> (permalink)
Injection-Date Wed, 5 Feb 2025 19:30:04 -0000 (UTC)
Injection-Info reader2.panix.com; posting-host="localhost:::1"; logging-data="22719"; mail-complaints-to="abuse@panix.com"
User-Agent slrn/1.0.3 (Linux)
Xref csiph.com comp.arch.embedded:32328

Show key headers only | View raw


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?

-- 
Grant

Back to comp.arch.embedded | Previous | NextNext 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