LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-23-2014, 03:05 PM   #16
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 490Reputation: 490Reputation: 490Reputation: 490Reputation: 490

Remember that a FAT32 filesystem has a 4GB file limit. If it is not FAT, then you can do it.
 
Old 06-23-2014, 03:41 PM   #17
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 810

Original Poster
Rep: Reputation: 264Reputation: 264Reputation: 264
Quote:
Originally Posted by metaschima View Post
Remember that a FAT32 filesystem has a 4GB file limit. If it is not FAT, then you can do it.
...
.
..
whoops. yes, I forgot. Thanks for the reminder!
 
Old 06-24-2014, 04:15 AM   #18
Pastychomper
Member
 
Registered: Sep 2011
Location: Scotland
Distribution: Debian
Posts: 63

Rep: Reputation: 71
From what I've read, copying a bunch of zeros to a device wouldn't be a reliable test. Drives that lie about their size sometimes have the non-existant storage mapped to lower addresses on the device. The file would appear to save correctly, but the later parts of the file would actually have overwritten the earlier parts - which won't be obvious if they're all the same. That's why you need to copy across a checksummed file. Stick with the ISOs, or use dd to create a file slightly less than 32GB and fill it from /dev/urandom.

Something like:
Code:
dd if=/dev/urandom of=foo.bar bs=64M count=495
sha256sum foo.bar
cp -n foo.bar /mnt/usb_stick/
sha256sum /mnt/usb_stick/foo.bar
should work, but I haven't tested it (no Linux boxen in my current location ).

Last edited by Pastychomper; 06-24-2014 at 04:18 AM.
 
Old 06-24-2014, 07:41 PM   #19
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 810

Original Poster
Rep: Reputation: 264Reputation: 264Reputation: 264
Thanks!

I think I will go with the ISO files...I'll probably make a short script that copies a 2GB ISO over 16 times (probably appending the number to the end of the filename), then checks the md5 on all of them.
 
Old 06-26-2014, 07:34 PM   #20
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 810

Original Poster
Rep: Reputation: 264Reputation: 264Reputation: 264
I just finished checking my mom's flash drive...and it seems good! I made a script that copied a Slackware ISO over 15 times (appending the number for a unique filename). The first 12 had the same md5 as the original, the 13th had a different md5 (since it didn't get fully copied) and the 14-15th had the md5 of an empty file. So it looks like it's really 32 GB! (well, really 30, given 1000 vs 1024 for kilo-, mega-, and gigibyte)

Thanks!

EDIT: I'm returning my mp3 player, and never buying one from Best Buy again.

Last edited by maples; 06-26-2014 at 07:36 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] MP3 Player info needed. Player not present in computer file. theKbStockpiler Linux - General 1 09-15-2010 02:54 AM
Portable MP3 player with corrupted mp3 files today53 SUSE / openSUSE 1 05-22-2006 10:24 AM
S1 Mp3 player (Help Create a New Distro for an MP3 player!)) Ian_Hawdon Linux - General 3 12-05-2005 02:14 PM
iRiver iHP-120 20GB MP3 Player, a player for the rest of us ? dukeinlondon General 1 04-04-2004 05:44 AM
MP3 CD player can't read MP3 CD's burned in linux food188 Linux - Software 2 01-11-2004 05:55 PM


All times are GMT -5. The time now is 07:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration