Hi Jean-Francois,

jean-francois wrote on Sat, Oct 17, 2009 at 12:25:31PM +0200:

> I could clarify one thing more : the disk with home and var and usr
> and / and all system points is a SSD so always running.
> 
> I have mounted two separately drives which are both high capacity
> classic rotating hard drives.
> 
> The daily script wakes them up and I would like to avoid this because
> sometimes it really is not necessary to run the disks for some time and
> it is useless to simply wake and asleep them each day.
> 
> They are only data disks mounted in /mnt

Shots in the dark, but you could try to:

 * Set
   VERBOSESTATUS=0
   in /etc/daily.local
   which will, among others, avoid running df(1),
   see daily(8) for details.
 * Set
   SUIDSKIP=/mnt
   in /etc/daily.local
   which will avoid scanning /tmp for setuid/setgid files and devices.
   Of course, mount all file systems on the disks nosuid,nodev
   before doing this, and do not forget to update fstab(5).
 * In /etc/security,
   comment out the paragraph below
   # Make backups of the labels for any mounted disks
 * Check that /mnt does not appear in the path to the home directory
   of any user on the system, as security(8) checks some special
   files in home directories.

I'm not guaranteeing this will suffice, but i hope so.

Alternatively, consider simply unmounting the disks in the first place.
Why have them mounted when you don't want access to them?

It is not recommended to disable security(8) and probably not needed
for your purpose.

I'm not discussing which non-default features you might have switched
on that might be causing additional disk access.  Several exist.

Yours,
  Ingo

Reply via email to