Hi list, I just noticed in the chattr(1) man page that there exists a 'j' attribute which actually does the same thing that data=journal mount option would do, expect it only sets this property on the directories of my choice. Big Thanks to the one that came up with that idea :) It allows me to set +j on mail queues that must sit on the same partitions as the rest of the system (the guy installing a system insisted on everything on one partition, sigh). I kinda found this option by accident and havent seen mentioning it around the net. It sure is very usefull ... -- Jure Pecar
Bah, I actually got an oops within seconds trying to chattr -R +j on a /var/spool/postfix while it was running. It's redhat's 2.4.18-4smp kernel and i didnt have the time to write it down since this was on a production box and i needed it up ASAP. After the reboot, i stopped postfix and tried it again, this time without problems. I repeated the procedure on another box, also without problems. Strange ... Anyway, looks like it's working. -- Jure Pecar