Comment 13 for bug 499237

Revision history for this message
Orson Jones (orson-launchpad) wrote :

I tried modifying the source to force it to do it ssd style.

=== modified file 'src/pack.c'
--- src/pack.c 2010-01-21 04:31:20 +0000
+++ src/pack.c 2010-01-21 04:32:13 +0000
@@ -675,11 +675,7 @@
  if (setrlimit (RLIMIT_NOFILE, &nofile) < 0)
   nih_return_system_error (-1);

- if (file->rotational) {
- return do_readahead_hdd (file, daemonise);
- } else {
   return do_readahead_ssd (file, daemonise);
- }
 }

That does work, but is obviously not the way to handle it. So, somehow it is not getting the setting from the pre-start script to that part of the code.