From: Edward Shishkin <edward.shishkin@gmail.com>
To: geearf@free.fr
Cc: reiserfs-devel@vger.kernel.org
Subject: Re: Check for ccreg40
Date: Tue, 13 May 2008 11:53:19 +0400 [thread overview]
Message-ID: <482948EF.7030502@gmail.com> (raw)
In-Reply-To: <5ac301dfeac0d00ba1e2b281d90be66d@free.fr>
John wrote:
>debugfs.reiser4 1.0.6
>Copyright (C) 2001-2005 by Hans Reiser, licensing governed by
reiser4progs/COPYING.
>
>Default profile:
>create: "reg40" (id:0x0 type:0x0) [Regular file
plugin for creat(2)]
>key: "key_large" (id:0x1 type:0xb) [Key plugin]
>compress: "lzo1" (id:0x0 type:0xc) [Compression
plugin]
>compressMode: "conv" (id:0x4 type:0xd) [Compression
Mode plugin]
>cluster: "64K" (id:0x0 type:0x10) [Cluster plugin]
>hash: "r5_hash" (id:0x1 type:0x3) [Directory
entry hash plugin]
>fibration: "ext_1_fibre" (id:0x2 type:0x4) [Key fibration
plugin]
>formatting: "smart" (id:0x2 type:0x5) [File body
formatting plugin]
>Error: Device is mounted 'rw' at the moment. Use -f to force over.
>
>I am confused, does reg40 means no compression, or does the compress
lzo1 being there means compression?
The first statement is correct.
The above is initial vector of plugins that will be installed by
mkfs.reiser4 to the root directory when formatting a partition
(and then propagated through the semantic tree by the system).
So, actually the option "-p" makes sense only for mkfs utility,
I don't know why other utilities (debugfs, fsck) also show this:
IMHO not a very good idea.
This option is to show resulted vector of plugins _before_ formatting
a partition. Sometimes it is convenient to see what you'll actually
have (especially if you want to override some default values). For
example, "mkfs.reiser4 -p -o create=ccreg40,compress=gzip1" will show:
create: "ccreg40" (id:0x4 type:0x0) [Regular file
plugin for creat(2)]
key: "key_large" (id:0x1 type:0xb) [Key plugin]
compress: "gzip1" (id:0x1 type:0xc) [Compression plugin]
compressMode: "conv" (id:0x4 type:0xd) [Compression
Mode plugin]
cluster: "64K" (id:0x0 type:0x10) [Cluster plugin]
hash: "r5_hash" (id:0x1 type:0x3) [Directory entry
hash plugin]
fibration: "ext_1_fibre" (id:0x2 type:0x4) [Key fibration
plugin]
formatting: "smart" (id:0x2 type:0x5) [File body
formatting plugin]
Note, that "compress", "compressMode" and cluster" settings make
sense only with "ccreg40" installed.
Also "formatting" makes sense only with "reg40" installed.
Such dependencies are not well documented, so please keep them in
mind for now..
Edward.
next prev parent reply other threads:[~2008-05-13 7:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-12 23:01 Check for ccreg40 Mat
2008-05-12 23:16 ` Edward Shishkin
2008-05-13 0:41 ` John
2008-05-13 9:51 ` Matthew
2008-05-13 13:10 ` Edward Shishkin
2008-05-13 0:04 ` John
2008-05-13 6:36 ` Maciej Soltysiak
2008-05-13 8:53 ` Edward Shishkin
2008-05-13 7:53 ` Edward Shishkin [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-05-12 21:53 John
2008-05-12 23:05 ` Edward Shishkin
2008-05-13 0:32 ` John
Reply instructions:
You may reply publicly 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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=482948EF.7030502@gmail.com \
--to=edward.shishkin@gmail.com \
--cc=geearf@free.fr \
--cc=reiserfs-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.