lkml.org 
[lkml]   [2003]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: turning off harddisk and listen music from ramdisk under Linux
From
Date
On Sun, 02 Nov 2003 23:04:54 +0100, Martin Wierich <wmartinw30@tiscali.de>  said:

> - for religious reasons I only use _old_ hardware (64MB, 100Mhz)

Note that you'll only be able to fit an hour or so of music in there, and
figuring out how to switch playlists is left as an exercise for the masochists. :)

Other than that, it's pretty straightforward conceptually - just create a very
minimal kernel that supports only your sound card and whatever else you need,
boot it with 'init=/boot/music.sh' or similar, and have music.sh be a tiny
script that mounts your music stuff, copies the files to a ramdisk, then
unmounts the disk and does an hdparm command to spin it down.

If you're clever, you'll think of a way to have an initrd that has all the filesystem
you need on it, except maybe for the actual audio that you'll load from another disk.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.072 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site