Re: [PATCH] Link mkswap to mkfs.swap so mkfs -t swap works

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux