Linux-mtd Archive on
 help / color / Atom feed
From: Shibin George <>
Subject: File-compression on ubifs
Date: Fri, 17 May 2019 17:06:41 +0530
Message-ID: <> (raw)

Hi everyone,

Had a query regarding mkfs.ubifs tool. I created an empty ubifs
filesystem using:

mkfs.ubifs -y /dev/ubiX_Y

I was wondering that if I now create a new file on this filesystem
(after mount()), would compression be enabled or disabled for that
file by-default? I am sorry but I could quite grasp this from the
mkfs.ubifs code.

Another query that I have is this:
Would ubifs do a better job at compression if it knows the root-dir
contents ahead of time? In other words, is on-the-fly compression of a
file (i.e. compression at the time of creating/writing to a file)
generally worse than when the same file is known to ubifs at the time
of image creation?

Thanks for your time!

Shibin George

Linux MTD discussion mailing list

             reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-17 11:36 Shibin George [this message]
2019-06-04 15:14 ` Shibin George
2019-06-04 21:04 ` Richard Weinberger

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-mtd Archive on

Archives are clonable:
	git clone --mirror linux-mtd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mtd linux-mtd/ \
	public-inbox-index linux-mtd

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox