This shows you the differences between two versions of the page.
| — | spindown [2011/05/30 14:07] (current) – created 84.14.5.202 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ===== Parsing mount points ===== | ||
| + | When dealing with disk spindown, it can be important to parse the list of mount points, in order to alter mount options such as commit=, etc. | ||
| + | For this, it is important to take into accounts the differences between /etc/mtab and / | ||
| + | |||
| + | Here's an example /etc/mtab rootfs entry: | ||
| + | |||
| + | rootfs / rootfs rw, | ||
| + | |||
| + | And here's its counterpart in / | ||
| + | |||
| + | /dev/root / ext3 rw, | ||
| + | |||
| + | In one case, the device is " | ||
| + | |||
| + | So we can have a " | ||