Thread (3 messages) 3 messages, 3 authors, 2011-09-03

Re: [PATCH] Assume yes when test device is not partitioned

From: Ted Ts'o <tytso@mit.edu>
Date: 2011-09-03 17:53:05
Also in: linux-xfs

On Sat, Sep 03, 2011 at 02:02:03PM +0530, Prasad Joshi wrote:
quoted hunk ↗ jump to hunk
@@ -333,7 +333,7 @@ _scratch_mkfs_sized()
 	_scratch_mkfs_xfs -d size=$fssize -b size=$blocksize
 	;;
     ext2|ext3|ext4|ext4dev)
-	/sbin/mkfs.$FSTYP $MKFS_OPTIONS -b $blocksize $SCRATCH_DEV $blocks
+	yes | ${MKFS_PROG}.$FSTYP $MKFS_OPTIONS -b $blocksize $SCRATCH_DEV $blocks
 	;;
     btrfs)
 	$MKFS_BTRFS_PROG $MKFS_OPTIONS -b $fssize $SCRATCH_DEV
Why don't you just pass -f to mke2fs.ext[234]?

							- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help