util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: josh@joshtriplett.org
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: [PATCH] Link mkswap to mkfs.swap so mkfs -t swap works
Date: Wed, 6 Aug 2014 10:51:46 -0700	[thread overview]
Message-ID: <20140806175146.GA27011@cloud> (raw)
In-Reply-To: <20140806133103.GJ19820@x2.net.home>

On Wed, Aug 06, 2014 at 03:31:03PM +0200, Karel Zak wrote:
> On Sun, Aug 03, 2014 at 11:48:14AM -0700, Josh Triplett wrote:
> > This makes it easier to write generic code that deals with swap
> > along with other filesystems.
> 
>  Hmm... mkfs wrapper is deprecated, it does not provide any
>  functionality and it seems better when people use directly the FS
>  specific tools to create filesystems.

I've come across more than one script that takes a table of partition
sizes/proportions and filesystem types, creates the partitions, and
calls mkfs with the filesystem type.

Some of those scripts directly call mkfs.$type instead, rather than
mkfs -t $type, but either way this change would eliminate a special-case
for swap.

- Josh Triplett

      reply	other threads:[~2014-08-06 17:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-03 18:48 [PATCH] Link mkswap to mkfs.swap so mkfs -t swap works Josh Triplett
2014-08-06 13:31 ` Karel Zak
2014-08-06 17:51   ` josh [this message]

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=20140806175146.GA27011@cloud \
    --to=josh@joshtriplett.org \
    --cc=kzak@redhat.com \
    --cc=util-linux@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).