Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Pre OpenRC update question...
Date: Sat, 14 May 2011 10:15:37
Message-Id: 20110514111320.0458cd5a@digimed.co.uk
In Reply to: Re: [gentoo-user] Pre OpenRC update question... by Andrey Moshbear
1 On Fri, 13 May 2011 22:47:43 -0400, Andrey Moshbear wrote:
2
3 > > Is the bs=2M important?  Should one use the block size of the drive?
4 > Speed improvement.
5 > If you're doing a backup of a rather large disk, I duggest piping to
6 > bzip2 or gzip. Unless the free space is random padding, even the
7 > slightest
8 > compression will be more efficient, space-wise, than the raw file.
9
10 You could also do
11
12 dd if=/dev/zero of=somefile bs=1G
13 rm somefile
14
15 to zero the unused blocks, which should both speed up and increase
16 compression of those areas.
17
18 --
19 Neil Bothwick
20
21 Copper wire was invented by two Scotsmen fighting over a penny!

Attachments

File name MIME type
signature.asc application/pgp-signature