All of lore.kernel.org
 help / color / mirror / Atom feed
* Noflushd usage
@ 2004-04-01  4:53 Joshua Rogers
  2004-04-01 15:23 ` Matthew Frederico
  2004-04-01 19:30 ` pa3gcu
  0 siblings, 2 replies; 4+ messages in thread
From: Joshua Rogers @ 2004-04-01  4:53 UTC (permalink / raw)
  To: linux-newbie

Slightly curious here.  I have fairly new computer here that I got from 
walmart.com maybe 4 months ago.  I decided to install linux and windows 
on  it.  Ok.  I installed a 100Gb harddrive into the computer that has 
all my data on it.  And the drive sounds like a jet plane.

How can I (or can I not) make noflushd turn off the second hard drive 
after about 15 minutes?

My first drive is /dev/hda.  It contains Windows 2000 on an NTFS 
partition, Windows 98 on Fat32, Lycoris (can't remember the fs) and 
Debian (on ReiserFS).  I don't mind this drive, it's quiet and contains 
only the OSes.

My other drive is /dev/hdb.  It is the 100Gb Drive.  It consists of 5 
partitions, all of which are of type Fat32.  My computer is only about 3 
feet from my bed, so this drive would definately keep me up.  Either 
that or have to keep shutdown every night. 

Also, when I shutdown, if there is something ready to write to the 
drive, will it save, or will the kernel just ignore it.

I'm running linux kernel 2.6.4, with ACPI enabled.  It's a custom 
kernel, so if I need to make some modifications, I will.

I'm going to be trying this on my Debian Install.  I know I can't make 
/dev/hda spin down (because of the ReiserFS), but I would like to be 
able to spin down /dev/hdb (containing only FAT32 partitions.)

Oh, one last thing (sorry), I don't know if this has anything to do with 
it, but when I type 'acpi' at konsole it responds "No support for device 
type: battery".  Is this important?  I'm running a desktop, so I'm not 
using a battery to power the system.

Thanks and sorry for the length of the post.

Joshua Rogers

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Noflushd usage
  2004-04-01  4:53 Noflushd usage Joshua Rogers
@ 2004-04-01 15:23 ` Matthew Frederico
  2004-04-01 16:03   ` chuck gelm
  2004-04-01 19:30 ` pa3gcu
  1 sibling, 1 reply; 4+ messages in thread
From: Matthew Frederico @ 2004-04-01 15:23 UTC (permalink / raw)
  To: Joshua Rogers; +Cc: linux-newbie

On Wed, 2004-03-31 at 22:53, Joshua Rogers wrote:
> Slightly curious here.  I have fairly new computer here that I got from 
> walmart.com maybe 4 months ago.  I decided to install linux and windows 
> on  it.  Ok.  I installed a 100Gb harddrive into the computer that has 
> all my data on it.  And the drive sounds like a jet plane.
> 
> How can I (or can I not) make noflushd turn off the second hard drive 
> after about 15 minutes?

I believe "hdparm" is the command you are looking for.

something like:

"hdparm -s 30 /dev/hdb"

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Noflushd usage
  2004-04-01 15:23 ` Matthew Frederico
@ 2004-04-01 16:03   ` chuck gelm
  0 siblings, 0 replies; 4+ messages in thread
From: chuck gelm @ 2004-04-01 16:03 UTC (permalink / raw)
  To: Matthew Frederico; +Cc: Joshua Rogers, linux-newbie

Matthew Frederico wrote:

>On Wed, 2004-03-31 at 22:53, Joshua Rogers wrote:
>  
>
>>Slightly curious here.  I have fairly new computer here that I got from 
>>walmart.com maybe 4 months ago.  I decided to install linux and windows 
>>on  it.  Ok.  I installed a 100Gb harddrive into the computer that has 
>>all my data on it.  And the drive sounds like a jet plane.
>>
>>How can I (or can I not) make noflushd turn off the second hard drive 
>>after about 15 minutes?
>>    
>>
>
>I believe "hdparm" is the command you are looking for.
>
>something like:
>
>"hdparm -s 30 /dev/hdb"
>
I think that argument is uppercase, i.e.:

hdparm -S 240 /dev/hdb

;-)
Chuck
p.s. man hdparm for details.


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Noflushd usage
  2004-04-01  4:53 Noflushd usage Joshua Rogers
  2004-04-01 15:23 ` Matthew Frederico
@ 2004-04-01 19:30 ` pa3gcu
  1 sibling, 0 replies; 4+ messages in thread
From: pa3gcu @ 2004-04-01 19:30 UTC (permalink / raw)
  To: Joshua Rogers, linux-newbie

On Thursday 01 April 2004 06:53, Joshua Rogers wrote:
> How can I (or can I not) make noflushd turn off the second hard drive
> after about 15 minutes?

Why use such a program when there is a linux command called 'hdparm'

man hdparm

Should explain, or 

/usr/sbin/hdparm -Sxx /dev/hdb

Where -Sxx is -S30 or whatever you choose for your noisy drive.

-- 
If the Linux community is a bunch of theives because they
try to imitate windows programs, then the Windows community
is built on organized crime.

Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-04-01 19:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-01  4:53 Noflushd usage Joshua Rogers
2004-04-01 15:23 ` Matthew Frederico
2004-04-01 16:03   ` chuck gelm
2004-04-01 19:30 ` pa3gcu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.