* Re: turning off harddisk and listen music from ramdisk under Linux
2003-11-02 22:04 turning off harddisk and listen music from ramdisk under Linux Martin Wierich
@ 2003-11-02 9:29 ` Rob
2003-11-02 21:19 ` Valdis.Kletnieks
2003-11-02 21:20 ` Tomas Szepe
2 siblings, 0 replies; 4+ messages in thread
From: Rob @ 2003-11-02 9:29 UTC (permalink / raw)
To: linux-kernel
for overall project assistance:
http://www.linuxquestions.org
for turning off hard drive after a song load:
hdparm -Y /dev/hdX
for a ramdisk:
mount -t tmpfs none /mnt/ramdisk
or add this to /etc/fstab:
none /tmp/jack tmpfs defaults 0 0
On Sunday 02 November 2003 05:04 pm, Martin Wierich wrote:
> Hi guys,
>
> I want to use a PC to listen mp3-music. Therefore I have to buy a new
> harddisk.
> I use Linux and I want to turn off all harddisks while listening,
> because
> they are so noisy. My plan is to let some homegrown software regularly
> copy the music data
> from a harddisk to a ramdisk and to turn off the harddisk then. Then I
> would
> listen from the ramdisk.
>
> My questions:
> - is this possible?
> - how do I turn off a harddisk from software under Linux?
> - do I have to buy a special harddisk?
> - how does linux react on turning off all harddisks? Can
> I cut away any superfluous stuff like CRON and let Linux
> also run on a ramdisk? Or do I need some special embedded
> Linux distribution?
> - or is there a readymade solution?
>
> There are the following circumstances:
> - for religious reasons I only use _old_ hardware (64MB, 100Mhz)
> - I am planning to have a boot partition just for the sole
> purpose of listening to music
> - I want to keep this boot partition small: no X windows stuff,
> no network and so on. The system should start up very
> fast.
> - I have a SuSE Linux distribution on CD Rom. I only have a 56K
> modem. I don't want to download software for hours.
>
> Any help would be appreciated.
>
> cheers
>
> Martin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: turning off harddisk and listen music from ramdisk under Linux
2003-11-02 22:04 turning off harddisk and listen music from ramdisk under Linux Martin Wierich
2003-11-02 9:29 ` Rob
@ 2003-11-02 21:19 ` Valdis.Kletnieks
2003-11-02 21:20 ` Tomas Szepe
2 siblings, 0 replies; 4+ messages in thread
From: Valdis.Kletnieks @ 2003-11-02 21:19 UTC (permalink / raw)
To: Martin Wierich; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 850 bytes --]
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.
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: turning off harddisk and listen music from ramdisk under Linux
2003-11-02 22:04 turning off harddisk and listen music from ramdisk under Linux Martin Wierich
2003-11-02 9:29 ` Rob
2003-11-02 21:19 ` Valdis.Kletnieks
@ 2003-11-02 21:20 ` Tomas Szepe
2 siblings, 0 replies; 4+ messages in thread
From: Tomas Szepe @ 2003-11-02 21:20 UTC (permalink / raw)
To: Martin Wierich; +Cc: linux-kernel
On Nov-02 2003, Sun, 23:04 +0100
Martin Wierich <wmartinw30@tiscali.de> wrote:
> I use Linux and I want to turn off all harddisks while listening,
> because they are so noisy.
Just get a recent Seagate Barracuda drive and enjoy the silence.
--
Tomas Szepe <szepe@pinerecords.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* turning off harddisk and listen music from ramdisk under Linux
@ 2003-11-02 22:04 Martin Wierich
2003-11-02 9:29 ` Rob
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Martin Wierich @ 2003-11-02 22:04 UTC (permalink / raw)
To: linux-kernel
Hi guys,
I want to use a PC to listen mp3-music. Therefore I have to buy a new
harddisk.
I use Linux and I want to turn off all harddisks while listening,
because
they are so noisy. My plan is to let some homegrown software regularly
copy the music data
from a harddisk to a ramdisk and to turn off the harddisk then. Then I
would
listen from the ramdisk.
My questions:
- is this possible?
- how do I turn off a harddisk from software under Linux?
- do I have to buy a special harddisk?
- how does linux react on turning off all harddisks? Can
I cut away any superfluous stuff like CRON and let Linux
also run on a ramdisk? Or do I need some special embedded
Linux distribution?
- or is there a readymade solution?
There are the following circumstances:
- for religious reasons I only use _old_ hardware (64MB, 100Mhz)
- I am planning to have a boot partition just for the sole
purpose of listening to music
- I want to keep this boot partition small: no X windows stuff,
no network and so on. The system should start up very
fast.
- I have a SuSE Linux distribution on CD Rom. I only have a 56K
modem. I don't want to download software for hours.
Any help would be appreciated.
cheers
Martin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-11-02 21:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-02 22:04 turning off harddisk and listen music from ramdisk under Linux Martin Wierich
2003-11-02 9:29 ` Rob
2003-11-02 21:19 ` Valdis.Kletnieks
2003-11-02 21:20 ` Tomas Szepe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).