Arduino development on OpenSolaris

posted Dec 13th 2009 12:00pm by
filed under: arduino hacks

Part of the draw of Arduino development is that it is open-source and cross-platform. It is hard to believe that it took this long but OpenSolaris can be added to the list of operating systems that love to work with Arduino. Although not officially supported, the device drivers for were added in build 113 of the OS and a patched version of the toolchain is available for download.

[Thanks Alexander]

How to destroy a filesystem

posted Nov 9th 2008 4:00pm by
filed under: android hacks, g1 hacks, pcs hacks, security hacks

rmrf

The G1 ‘execute every command you type‘ bug naturally spawned ‘rm -rf /’ jokes. rm is the Linux command for deleting files. The -r and -f flags will cause it to remove files recursively and ignore confirmation. Executed as root it will annihilate the entire filesystem. Won’t it? [Jon Hohle] decided to test exactly how destructive the command was to *nix systems. How functional would the system be afterwards? He tested it side by side with the Windows equivalent, both ‘format c:’ and ‘del /F /S /Q’. He wanted to see what protections were available and what would be left working. Linux ended up completely broken while Windows, thanks to file locking, actually shutdown cleanly… and never came back. Some OSes, like Solaris, refuse to run the command ‘rm -rf /’ to prevent accidents.




Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

Send us your hacks










     




Hacks

Resources