0
0
0xC0CAC01A2013-04-20 23:41:14
System Programming
0xC0CAC01A, 2013-04-20 23:41:14

ChkFlsh for macOS?

There is such a ChkFlsh utility that writes a file of the maximum size to a USB-drive, which allows you to identify drives whose actual size differs from that specified in the ROM by the seller. Are there any for macs?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Domini, 2013-04-20
@Domini

dd if=/dev/zero of=flash drive?

D
Domini, 2013-04-21
@Domini

man dd
dd if=/dev/urandom of=file count=flash_size
dd if=/dev/zero of=file bs=1 seek=`dd if=file of=flash 2>&1 | grep -Eo '^[0-9]+ '` count=0
cmp file flash

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question