diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-05-20 01:03:37 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-05-20 01:03:37 +0000 |
commit | eb8c0b1541ac7dbe763e5ece9eef9c00e6badf8c (patch) | |
tree | ed0f9be1d68085abbbeab77aaa064a2291fa8444 /scripts | |
parent | 98d0c350570483f0ab3312c5cff6badf4cd7cd98 (diff) | |
download | anaconda-eb8c0b1541ac7dbe763e5ece9eef9c00e6badf8c.tar.gz anaconda-eb8c0b1541ac7dbe763e5ece9eef9c00e6badf8c.tar.xz anaconda-eb8c0b1541ac7dbe763e5ece9eef9c00e6badf8c.zip |
make tune2fs calls quieter
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mk-images | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/mk-images b/scripts/mk-images index d2f13b586..b579d9844 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -751,7 +751,7 @@ EOF dd if=/dev/zero of=$MBD_DIR/etc/ramfs.img.big bs=1k count=20000 2>/dev/null mke2fs -F -q $MBD_DIR/etc/ramfs.img.big - tune2fs -c0 -i0 $MBD_DIR/etc/ramfs.img.big + tune2fs -c0 -i0 $MBD_DIR/etc/ramfs.img.big >/dev/null gzip -9 < $MBD_DIR/etc/ramfs.img.big > $MBD_DIR/etc/ramfs.img rm -f $MBD_DIR/etc/ramfs.img.big @@ -763,7 +763,7 @@ EOF rm -f $MBD_FSIMAGE dd if=/dev/zero of=$MBD_FSIMAGE bs=1k count=$INITRDSIZE 2> /dev/null /sbin/mke2fs -F -i 1024 -q $MBD_FSIMAGE $INITRDSIZE > /dev/null 2>/dev/null - /sbin/tune2fs -c0 -i0 $MBD_FSIMAGE + /sbin/tune2fs -c0 -i0 $MBD_FSIMAGE >/dev/null rm -rf $MBD_MNTPOINT mkdir $MBD_MNTPOINT @@ -879,7 +879,7 @@ makeImage () { dd if=/dev/zero of=$MI_TMPIMAGE bs=1k count=$MI_SIZE 2>/dev/null /sbin/mke2fs -q -F -i 4096 $MI_TMPIMAGE > /dev/null 2>/dev/null - /sbin/tune2fs -c0 -i0 $MI_TMPIMAGE + /sbin/tune2fs -c0 -i0 $MI_TMPIMAGE >/dev/null mount -o loop $MI_TMPIMAGE $MI_MNTPOINT (cd $MI_FROM; find . | cpio --quiet -p $MI_MNTPOINT) @@ -952,7 +952,7 @@ makemainimage () { fi dd if=/dev/zero bs=1k count=${SIZE} of=$mmi_tmpimage 2>/dev/null mke2fs -q -F $mmi_tmpimage > /dev/null - tune2fs -c0 -i0 $mmi_tmpimage + tune2fs -c0 -i0 $mmi_tmpimage >/dev/null mount -o loop $mmi_tmpimage $mmi_mntpoint (cd $IMGPATH; find . | fgrep -v "./usr/lib/anaconda-runtime" | @@ -1006,7 +1006,7 @@ makedriverdisk () { dd if=/dev/zero of=/tmp/$diskname.img bs=1k count=$size 2> /dev/null /sbin/mke2fs -q -F -i 4096 /tmp/$diskname.img > /dev/null 2>/dev/null - /sbin/tune2fs -c0 -i0 /tmp/$diskname.img + /sbin/tune2fs -c0 -i0 /tmp/$diskname.img >/dev/null mkdir -p /tmp/mkdd.$$ mount -t ext2 -o loop /tmp/$diskname.img /tmp/mkdd.$$ rmdir /tmp/mkdd.$$/lost+found |