All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Pitre <nico@fluxnic.net>
To: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Cc: Linux Doc Mailing List <linux-doc@vger.kernel.org>,
	Jonathan Corbet <corbet@lwn.net>,
	linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH 10/44] docs: filesystems: convert cramfs.txt to ReST
Date: Mon, 17 Feb 2020 13:11:25 -0500 (EST)	[thread overview]
Message-ID: <nycvar.YSQ.7.76.2002171310460.1559@knanqh.ubzr> (raw)
In-Reply-To: <e87b267e71f99974b7bb3fc0a4a08454ff58165e.1581955849.git.mchehab+huawei@kernel.org>

On Mon, 17 Feb 2020, Mauro Carvalho Chehab wrote:

> - Add a SPDX header;
> - Adjust document title;
> - Some whitespace fixes and new line breaks;
> - Mark literal blocks as such;
> - Add table markups;
> - Add it to filesystems/index.rst.
> 
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

Acked-by: Nicolas Pitre <nico@fluxnic.net>


> ---
>  .../filesystems/{cramfs.txt => cramfs.rst}    | 19 ++++++++++++-------
>  Documentation/filesystems/index.rst           |  1 +
>  2 files changed, 13 insertions(+), 7 deletions(-)
>  rename Documentation/filesystems/{cramfs.txt => cramfs.rst} (88%)
> 
> diff --git a/Documentation/filesystems/cramfs.txt b/Documentation/filesystems/cramfs.rst
> similarity index 88%
> rename from Documentation/filesystems/cramfs.txt
> rename to Documentation/filesystems/cramfs.rst
> index 8e19a53d648b..afbdbde98bd2 100644
> --- a/Documentation/filesystems/cramfs.txt
> +++ b/Documentation/filesystems/cramfs.rst
> @@ -1,12 +1,15 @@
> +.. SPDX-License-Identifier: GPL-2.0
>  
> -	Cramfs - cram a filesystem onto a small ROM
> +===========================================
> +Cramfs - cram a filesystem onto a small ROM
> +===========================================
>  
> -cramfs is designed to be simple and small, and to compress things well. 
> +cramfs is designed to be simple and small, and to compress things well.
>  
>  It uses the zlib routines to compress a file one page at a time, and
>  allows random page access.  The meta-data is not compressed, but is
>  expressed in a very terse representation to make it use much less
> -diskspace than traditional filesystems. 
> +diskspace than traditional filesystems.
>  
>  You can't write to a cramfs filesystem (making it compressible and
>  compact also makes it _very_ hard to update on-the-fly), so you have to
> @@ -28,9 +31,9 @@ issue.
>  Hard links are supported, but hard linked files
>  will still have a link count of 1 in the cramfs image.
>  
> -Cramfs directories have no `.' or `..' entries.  Directories (like
> +Cramfs directories have no ``.`` or ``..`` entries.  Directories (like
>  every other file on cramfs) always have a link count of 1.  (There's
> -no need to use -noleaf in `find', btw.)
> +no need to use -noleaf in ``find``, btw.)
>  
>  No timestamps are stored in a cramfs, so these default to the epoch
>  (1970 GMT).  Recently-accessed files may have updated timestamps, but
> @@ -70,9 +73,9 @@ MTD drivers are cfi_cmdset_0001 (Intel/Sharp CFI flash) or physmap
>  (Flash device in physical memory map). MTD partitions based on such devices
>  are fine too. Then that device should be specified with the "mtd:" prefix
>  as the mount device argument. For example, to mount the MTD device named
> -"fs_partition" on the /mnt directory:
> +"fs_partition" on the /mnt directory::
>  
> -$ mount -t cramfs mtd:fs_partition /mnt
> +    $ mount -t cramfs mtd:fs_partition /mnt
>  
>  To boot a kernel with this as root filesystem, suffice to specify
>  something like "root=mtd:fs_partition" on the kernel command line.
> @@ -90,6 +93,7 @@ https://github.com/npitre/cramfs-tools
>  For /usr/share/magic
>  --------------------
>  
> +=====	=======================	=======================
>  0	ulelong	0x28cd3d45	Linux cramfs offset 0
>  >4	ulelong	x		size %d
>  >8	ulelong	x		flags 0x%x
> @@ -110,6 +114,7 @@ For /usr/share/magic
>  >552	ulelong	x		fsid.blocks %d
>  >556	ulelong	x		fsid.files %d
>  >560	string	>\0		name "%.16s"
> +=====	=======================	=======================
>  
>  
>  Hacker Notes
> diff --git a/Documentation/filesystems/index.rst b/Documentation/filesystems/index.rst
> index ddd8f7b2bb25..8fe848ea04af 100644
> --- a/Documentation/filesystems/index.rst
> +++ b/Documentation/filesystems/index.rst
> @@ -56,6 +56,7 @@ Documentation for filesystem implementations.
>     bfs
>     btrfs
>     ceph
> +   cramfs
>     fuse
>     overlayfs
>     virtiofs
> -- 
> 2.24.1
> 
> 

  reply	other threads:[~2020-02-17 18:11 UTC|newest]

Thread overview: 112+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-17 16:11 [PATCH 00/44] Manually convert filesystem FS documents to ReST Mauro Carvalho Chehab
2020-02-17 16:11 ` [Cluster-devel] " Mauro Carvalho Chehab
2020-02-17 16:11 ` Mauro Carvalho Chehab
2020-02-17 16:11 ` Mauro Carvalho Chehab
2020-02-17 16:11 ` [f2fs-dev] " Mauro Carvalho Chehab
2020-02-17 16:11 ` [Ocfs2-devel] " Mauro Carvalho Chehab
2020-02-17 16:11 ` [PATCH 01/44] docs: filesystems: convert 9p.txt " Mauro Carvalho Chehab
2020-02-17 16:11 ` [PATCH 02/44] docs: filesystems: convert adfs.txt " Mauro Carvalho Chehab
2020-02-17 16:11 ` [PATCH 03/44] docs: filesystems: convert affs.txt " Mauro Carvalho Chehab
2020-02-18 13:04   ` David Sterba
2020-02-17 16:11 ` [PATCH 04/44] docs: filesystems: convert afs.txt " Mauro Carvalho Chehab
2020-02-17 16:11 ` [PATCH 05/44] docs: filesystems: convert autofs-mount-control.txt " Mauro Carvalho Chehab
2020-02-17 16:11 ` [PATCH 06/44] docs: filesystems: convert befs.txt " Mauro Carvalho Chehab
2020-02-17 16:11 ` [PATCH 07/44] docs: filesystems: convert bfs.txt " Mauro Carvalho Chehab
2020-02-17 16:11 ` [PATCH 08/44] docs: filesystems: convert btrfs.txt " Mauro Carvalho Chehab
2020-02-17 18:50   ` David Sterba
2020-02-17 19:34     ` Jonathan Corbet
2020-02-18 11:44   ` David Sterba
2020-02-17 16:11 ` [PATCH 09/44] docs: filesystems: convert ceph.txt " Mauro Carvalho Chehab
2020-02-18 11:57   ` Jeff Layton
2020-02-17 16:11 ` [PATCH 10/44] docs: filesystems: convert cramfs.txt " Mauro Carvalho Chehab
2020-02-17 18:11   ` Nicolas Pitre [this message]
2020-02-17 16:11 ` [PATCH 11/44] docs: filesystems: convert debugfs.txt " Mauro Carvalho Chehab
2020-02-17 16:11 ` [PATCH 12/44] docs: filesystems: convert dlmfs.txt " Mauro Carvalho Chehab
2020-02-17 16:11   ` [Ocfs2-devel] " Mauro Carvalho Chehab
2020-02-18  1:21   ` Joseph Qi
2020-02-18  1:21     ` [Ocfs2-devel] " Joseph Qi
2020-02-18 10:07     ` Mauro Carvalho Chehab
2020-02-18 10:07       ` [Ocfs2-devel] " Mauro Carvalho Chehab
2020-02-18 10:55       ` Joseph Qi
2020-02-18 10:55         ` [Ocfs2-devel] " Joseph Qi
2020-02-17 16:11 ` [PATCH 13/44] docs: filesystems: convert ecryptfs.txt " Mauro Carvalho Chehab
2020-02-17 20:07   ` Tyler Hicks
2020-02-17 16:12 ` [PATCH 14/44] docs: filesystems: convert efivarfs.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 15/44] docs: filesystems: convert erofs.txt " Mauro Carvalho Chehab
2020-02-17 16:12   ` Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 16/44] docs: filesystems: convert ext2.txt " Mauro Carvalho Chehab
2020-02-18  7:11   ` Jan Kara
2020-02-17 16:12 ` [PATCH 17/44] docs: filesystems: convert ext3.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 18/44] docs: filesystems: convert f2fs.txt " Mauro Carvalho Chehab
2020-02-17 16:12   ` [f2fs-dev] " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 19/44] docs: filesystems: convert gfs2.txt " Mauro Carvalho Chehab
2020-02-17 16:12   ` [Cluster-devel] " Mauro Carvalho Chehab
2020-02-18 13:13   ` Bob Peterson
2020-02-18 13:13     ` [Cluster-devel] " Bob Peterson
2020-02-17 16:12 ` [PATCH 20/44] docs: filesystems: convert gfs2-uevents.txt " Mauro Carvalho Chehab
2020-02-17 16:12   ` [Cluster-devel] " Mauro Carvalho Chehab
2020-02-18 13:13   ` Bob Peterson
2020-02-18 13:13     ` [Cluster-devel] " Bob Peterson
2020-02-17 16:12 ` [PATCH 21/44] docs: filesystems: convert hfsplus.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 22/44] docs: filesystems: convert hfs.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 23/44] docs: filesystems: convert hpfs.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 24/44] docs: filesystems: convert inotify.txt " Mauro Carvalho Chehab
2020-02-18  7:10   ` Jan Kara
2020-02-17 16:12 ` [PATCH 25/44] docs: filesystems: convert isofs.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 26/44] docs: filesystems: convert nilfs2.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 27/44] docs: filesystems: convert ntfs.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 28/44] docs: filesystems: convert ocfs2-online-filecheck.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 29/44] docs: filesystems: convert ocfs2.txt " Mauro Carvalho Chehab
2020-02-17 16:12   ` [Ocfs2-devel] " Mauro Carvalho Chehab
2020-02-18  1:23   ` Joseph Qi
2020-02-18  1:23     ` [Ocfs2-devel] " Joseph Qi
2020-02-17 16:12 ` [PATCH 30/44] docs: filesystems: convert omfs.txt " Mauro Carvalho Chehab
2020-02-18  0:57   ` Bob Copeland
2020-02-17 16:12 ` [PATCH 31/44] docs: filesystems: convert orangefs.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 33/44] docs: filesystems: convert qnx6.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 34/44] docs: filesystems: convert ramfs-rootfs-initramfs.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 35/44] docs: filesystems: convert relay.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 36/44] docs: filesystems: convert romfs.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 37/44] docs: filesystems: convert squashfs.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 38/44] docs: filesystems: convert sysfs.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 39/44] docs: filesystems: convert sysv-fs.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 40/44] docs: filesystems: convert tmpfs.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 41/44] docs: filesystems: convert ubifs-authentication.rst.txt " Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 42/44] docs: filesystems: convert ubifs.txt " Mauro Carvalho Chehab
2020-02-17 16:12   ` Mauro Carvalho Chehab
2020-02-17 16:12 ` [PATCH 43/44] docs: filesystems: convert udf.txt " Mauro Carvalho Chehab
2020-02-18  7:12   ` Jan Kara
2020-02-18 10:13     ` Mauro Carvalho Chehab
2020-02-18 10:57       ` Jan Kara
2020-02-17 16:12 ` [PATCH 44/44] docs: filesystems: convert zonefs.txt " Mauro Carvalho Chehab
2020-02-18  3:46   ` Damien Le Moal
2020-02-18  4:01 ` [PATCH 00/44] Manually convert filesystem FS documents " Matthew Wilcox
2020-02-18  4:01   ` [Cluster-devel] " Matthew Wilcox
2020-02-18  4:01   ` Matthew Wilcox
2020-02-18  4:01   ` Matthew Wilcox
2020-02-18  4:01   ` [f2fs-dev] " Matthew Wilcox
2020-02-18  4:01   ` [Ocfs2-devel] " Matthew Wilcox
2020-02-18 10:04   ` Mauro Carvalho Chehab
2020-02-18 10:04     ` [Cluster-devel] " Mauro Carvalho Chehab
2020-02-18 10:04     ` Mauro Carvalho Chehab
2020-02-18 10:04     ` Mauro Carvalho Chehab
2020-02-18 10:04     ` [f2fs-dev] " Mauro Carvalho Chehab
2020-02-18 10:04     ` [Ocfs2-devel] " Mauro Carvalho Chehab
2020-02-19  9:32     ` Jonathan Corbet
2020-02-19  9:32       ` [Cluster-devel] " Jonathan Corbet
2020-02-19  9:32       ` Jonathan Corbet
2020-02-19  9:32       ` Jonathan Corbet
2020-02-19  9:32       ` [f2fs-dev] " Jonathan Corbet
2020-02-19  9:32       ` [Ocfs2-devel] " Jonathan Corbet
2020-02-19 15:11       ` Mauro Carvalho Chehab
2020-02-19 15:11         ` [Cluster-devel] " Mauro Carvalho Chehab
2020-02-19 15:11         ` Mauro Carvalho Chehab
2020-02-19 15:11         ` Mauro Carvalho Chehab
2020-02-19 15:11         ` [f2fs-dev] " Mauro Carvalho Chehab
2020-02-19 15:11         ` [Ocfs2-devel] " Mauro Carvalho Chehab
2020-03-02 21:13 ` Jonathan Corbet
2020-03-02 21:13   ` [Cluster-devel] " Jonathan Corbet
2020-03-02 21:13   ` Jonathan Corbet
2020-03-02 21:13   ` Jonathan Corbet
2020-03-02 21:13   ` [f2fs-dev] " Jonathan Corbet
2020-03-02 21:13   ` [Ocfs2-devel] " Jonathan Corbet

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=nycvar.YSQ.7.76.2002171310460.1559@knanqh.ubzr \
    --to=nico@fluxnic.net \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=mchehab+huawei@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.