Hi all.
I did ask this on the Ubuntu forum roughly a week ago but have had zero helpful replies off the "community" there so I hope you don't mind the off-topic (as far as audio goes) subject here.
I have recently bought some large USB keys to use as backup storage to replace my old moving disk external hard drive. Due to the worry of the reports of fakes reporting to be large drives, even when plugged into the system, I wanted to test these before using them for real. Seems best way to do this is fill the drive up and check data for integrity.
So first step will be to create a 8GB file which I will copy multiple times. (Why 8GB? No particular reason, except it seems large enough to be useful yet small enough to be manageable. 4GB might be a better choice so it can be used with FAT32 formatted devices.)
dd if=/dev/urandon of=~/8gb block=1GB count=8
Then create a little script to copy the file across multiple times.
cp8gbx.sh
#!/bin/bash
i=0
while [ $i -le $1 ]
do
mkdir /usb_mount_path/$((i++))
dd if=~/8gb of=/usb_mount_path/$i/8gb
done
./cp8gbx.sh 15
Hopefully my thinking is correct and that, or something very similar, should copy the file 15 times, once each inside a folder called 1 to 15... Is using dd rather than cp or rsync OK here? Will it automatically wait for one copy/write to finish before starting the next? Is it worth worrying about? Can I do it with && within a script or how would you use the WAIT command otherwise in this instance?
Then to do the md5sum on each...
md5disk.sh
#!/bin/bash
i=0
while [ $i -le $1 ]
do
md5sum /usb_mount_path/$((i++))/8gb >> /usb_mount_path/md5checks
done
./md5disk.sh 15
The 15 in the examples above is assuming a 128GB drive. 8*15=120GB. Even though I have used block=1GB rather than block=1G in the creation of the random file, to create a slightly smaller file, I thought the extra space to ensure not attempting to overfill the drive could be a good idea. After all, if they are smaller than advertised I'm thinking a LOT smaller, not just a handful of GBs! I also know there is a way to automatically check if each line in the created file is the same or not and thus only give me a message if there are differences. Bonus points for pushing me in that direction ;)
I haven't actually tried or tested any of this, don't know if my syntax is wrong or if my basic thinking is flawed somewhere else. If somebody wouldn't mind having a look over, point out errors, suggest ways you might do it differently, or any other words of advice or hints it would be much appreciated.
Thanks for any pointers, Dale.
Date: Wed, 8 Jul 2015 18:37:04 +0000
From: f.rech(a)yahoo.fr
To: dj_kaza(a)hotmail.com
Subject: Re: [LAU] OT: Bash help to check new USB keys.
It's not a full testing of a flash device I'm worried
about, especially as they are new, I just want to know they really are
the size they report as being...
Dale.
Probably GParted will tell you that,
HTH,
Fred
Except the likes of GParted, df, udisks etc are exactly what I don't
trust! I have read too many reports of people buying say a 128GB usb
drive, copying loads of data onto it and later discovering everything
after say 8 or 16GB isn't really there! Somehow they
fake the part (ToC? MBR?) which the computer reads the size of the drive
from and seems (at least in Doze-land, where most of these reports are
from, but then again so is most the computer world) that the system even
reports having written the files correctly
and they show up in the table of contents and in your file explorer as
you would expect. Hence I want to actually write data until the drive is
near full and do an md5sum on the files I have written. It's only a
single write of the few thousand they should
be usable for and I plan to use them predominantly as back-up storage so
I don't envisage lots of erase and re-writes over their lifetime. Basic
drive integrity isn't a worry. Being sold dodgy, fake components which
report the wrong size is.
I did wonder if doing something as simple as a full (rather than Quick)
format to the likes of ext4 might catch out something like this too...
Dale.
Hello list,
the "Open Source Audio Meeting Cologne" exists now for over a year
(founded shortly after the LAC 2014). We meet monthly in form of a user
group with small talks and demonstrations as well as Q&A sessions and,
of course most important, a strong socializing aspect.
Our next meeting is the next Wednesday (the 15th) and are happy to see
new (or already known) faces! Maybe you have the time as well and are in
the area.
This is our website. http://cologne.linuxaudio.org
We welcome international visitors without prior registration or
announcement. However, due to the meetings location and beeing realistic
we expect our regular visitors to speak German. If you want to hold a
presentation of any kind this can be done in English of course.
So if you are in the area one day please contact me if you want to
present your program or anything else related to Linux Audio.
Greetings,
Nils
Cologne
Hi
This comes next ;)
ags (0.5.1)
[ Joël Krähemann (Maintainer of Advanced Gtk+ Sequencer) ]
* fixed ags.xsl removed wrong division, note use
segmentation to adjust appropriate playback rate
* fixed file open dialog callback
* ...
Visit https://github.com/gsequencer/gsequencer/tree/0.5.0
best regards,
Joël
On Wed, Jul 8, 2015 at 6:45 PM, Joël Krähemann <jkraehemann(a)gmail.com>
wrote:
> Hi Ralf
>
> Is something going wrong? Did you know about reverse mapping ability in
> GSequencer or invert tool?
> If you're using limited soundfont2, please verify notation shift ...
>
>
> cheers,
> Joël
>
>
> On Wed, Jul 8, 2015 at 12:54 PM, Ralf Mardorf <ralf.mardorf(a)alice-dsl.net>
> wrote:
>
>> On Wed, 8 Jul 2015 06:24:45 -0400, jonetsu(a)teksavvy.com wrote:
>> >Anyone got the DPRK national anthem in gsequencer format ?
>>
>> Regarding [1] it provides midi2xml, so you cold test if [2] really is
>> their national anthem.
>>
>> [1]
>> https://plus.google.com/+GsequencerOrg001/posts
>> [2]
>> http://www.download-midi.com/midi_8979_national-anthem-north-korea.html
>> _______________________________________________
>> Linux-audio-user mailing list
>> Linux-audio-user(a)lists.linuxaudio.org
>> http://lists.linuxaudio.org/listinfo/linux-audio-user
>>
>
>
Hi,
I have a long term salary opportunity for someone based in Germany working
with audio and multimedia hardware technology. No specific programming
skills required, but should have a strong understanding of Linux and a
passion for dealing with a range of multimedia hardware technology at
various interesting locations.
Will need to travel around the country on a regular basis so must have
valid driver license and enjoy driving on the autobahn. Own vehicle is
also useful.
Also should be comfortable using phone and email and prepared to work hard
to meet deadlines.
Starting in August/September depending on availability.
Contact me offlist for more details or just send me your CV.
--
Patrick Shirkey
Boost Hardware Ltd
I am looking for a delay effect to help create a sense of space around
electronic instruments and close mic'ed acoustic instruments. In other
words, something natural sounding, not an artificial sounding effect.
Looking for recommendations for something in case I have overlooked
something.
The Harrison 3D triple delay looks like it might be what I had in mind,
but I would prefer something open source.
The Invada delay plugin seems like it might be OK, but I was hoping for a
plugin with a wet/dry mix control so I could use different delay settings
per instrument, rather than having a delay bus like you would for a
reverb, and the Invada seems like it can only be used with a send/bus
approach. Not unworkable, I would just have to set up multiple busses
with different delay settings, have something like a far away, mid
distance, close instruments kind of approach and just assign tracks to the
different busses as appropriate.
TAP stereo echo also looks like it might be OK for that, I have that
inserted to check out.
And Calf Vintage Delay, although I think I might end up having to use two
of those plugins to get an early reflection effect, unless I am just not
understanding correctly how the feedback parameter works.
Anything I missed that I should check out?
This Reaper plugin looks like what I think I want, but it is Windows only
(although Wine is supported; not sure how that would play in Linux,
though):
The particular plugin is Readelay
http://www.cockos.com/reaper/reaplugs/index.php
--
Chris Caudle
On Sun, July 5, 2015 10:58 pm, Jan Depner wrote:
> Try the Haas effect in TAP stereo echo:
> http://tap-plugins.sourceforge.net/ladspa/echo.html
Yes, that looks great, thanks for the link. I had not found the
documentation, and when I tried to use that Haas effect the controls were
not intuitive to me. I could not produce the effect I wanted, but I think
with that documentation maybe I can, the settings I used before were
specifically recommended to not use by the document, so not surprising it
did not sound good. Hopefully I can get time to try the recommended
settings in a couple of days.
thanks,
Chris Caudle
Hi,
first I have to say that I feel offended by Patricks way of assuming the
"Germans way of life"!
I also think I would fit the profile...
I like working with multimedia of all sorts...
But what has this job to do with multimedia, if I drive around the
country in a car?
Talking about it!?
I have a MSc degree in information engineering, not an MBA.
So, give me problems to solve, not customers to please... (I have come
along lots of the talking multimedia sort of people...)
PS:
I am self employed living in Cologne, german multimedia and television city.
Perhapes I can give you some support here?
But I am not interested in driving around by car anywhere at all.
BR,
Christoph
Hi all
GSequencer has a new minor release v0.5.0. Some highlights are:
* concurrent audio tree processing
* Multi-Output
* Improved notation & pattern editor
* Add custom LADSPA widgets to control ports
* ...
Please visit:
http://gsequencer.org
cheers,
Joël