Closed. This question is off-topic. It is not currently accepting answers. Learn more
想改进这个问题吗?Update the question所以堆栈溢出的值小于aa>。
三年前关闭。
我想知道是否有某些版本的dd不理解乘法后缀。在dd手册上写着:
bs=BYTES
    read and write BYTES bytes at a time (also see ibs=,obs=)
BLOCKS and BYTES may be followed by the following multiplicative suffixes: c =1, w =2, b =512, kB =1000, K =1024, MB =1000*1000, M =1024*1024, xM =M GB =1000*1000*1000, G =1024*1024*1024, and so on for T, P, E, Z, Y.

但是当我在bs参数上运行带有G后缀的dd时,我得到了一个错误,该数字不被理解:
bash $ dd if=/dev/urandom of=largeMovie.avi count=1024 bs=75G
dd: invalid number `75G'

dd版本如下:
bash $ dd --version
dd (coreutils) 5.97

一个

最佳答案

我想你是32位的,75克比尺码大。
即使在64位上,您也需要至少那个数量的可用内存,因为dd将分配一个由bs指定大小的缓冲区。

关于linux - dd的某些版本不理解乘法后缀? ,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/34653818/

10-15 01:16