Re: syncing the disks when entering sleep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




>   -----Original Message-----
>   From: Rafael J. Wysocki [mailto:rjw@xxxxxxx]
>   Sent: Wednesday, February 10, 2010 2:19 PM
>   To: Pavel Machek
>   Cc: linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx; Nigel Cunningham; Leisner,
>   Martin
>   Subject: Re:  syncing the disks when entering sleep
>   
......
>   > > So really, I don't see anything wrong with a knob that will turn the
>   kernel
>   > > sync off entirely, because that basically means "my user space is
>   > > not broken".
>   >
>   > Because, very easily, parts of my users space may be broken.
>   
>   How exactly would they be broken?
>   
>   Why do you want to protect the users from themselves for what it's
>   worth?
>   
>   Why don't we just assume that the user who sets the knob knows what he's
>   doing?
>   
>   Rafael

Exactly what I proposed -- if people who are root start playing with kernel settings, they'll get defined, documented behavior.   If they don't like it,
let them not play.   I see no reason to idiot proof root.

The problem is if the disk is not spinning, the system is in laptop mode, and sleep is entered, it makes no sense to spin up the disk to sync it in
embedded systems (i.e. the vendor controls all the software).

If root does
   dd if=/dev/zero of=/dev/sda
and they trash their disk, so be it.

marty





_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux