NetBSD-Bugs archive

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

misc/45865: dangerous suggestion in doc?



>Number:         45865
>Category:       misc
>Synopsis:       dangerous suggestion in doc?
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 22 13:15:00 +0000 2012
>Originator:     Piotr Meyer
>Release:        5.x
>Organization:
>Environment:
not applicable
>Description:
As concluded in following thread[1] and mentioned by mount(8), mounting 
filesystems with 'async' flags can lead to corruption and should be avoided if 
data loss isn't calculated risk. But official documentation[2] about power 
management contains following statements:

[...]
You can place commands inside of these scripts to change the power management 
settings when using battery or line power. Here are some example scripts:

[...]

/etc/apm/battery 
#!/bin/sh

mount -u -o async,noatime,nodevmtime /
mount -u -o async,noatime /usr
atactl wd0 setidle 5

[...]

BTW: mentioned on WWW /usr/share/examples/apm sample script, at least
on -current, doesn't contains 'async' flag in remount command for 'battery' 
section.

1 - http://mail-index.netbsd.org/tech-kern/2011/12/06/msg012068.html
2 - http://www.netbsd.org/docs/power-mgmt/index.html
>How-To-Repeat:

>Fix:
Remove 'async' flag from examples on 
http://www.netbsd.org/docs/power-mgmt/index.html



Home | Main Index | Thread Index | Old Index