Overview
When adding files to a volume with "Remove previews from files' Resource after storing in DB" selected as seen on the image below, there is still data added to the resource fork. Downloading the file from Portal by compressing it using a zip method that does not save the resource fork removes this extra data.
You want a way to automatically apply "Remove previews from files' Resource after storing in DB" to all files in a volume.
Solution
The cause of the increase in the file sizes is caused by PICT previews being stored in the resource fork of the files.
To prevent the storage of these PICT previews, you can add the :ns
option to your Volume within the fpovolopts
file on your Xinet Server.
- Open
/usr/adm/appletalk/fpovolopts
in your preferred editor. - Locate your Volume within the file.
- Add the
:ns
option to your volume, as shown below for the XinetVolume1: - Save the file.
- Locate the PID for your fpod process and force restart it to finalize the changes:
- Execute
# ps -ef | grep fpod
in your Terminal. - Locate the PID in the results.
- Execute
# sudo kill -HUP <pid>
using the identified PID.
- Execute
Testing
To test, copy a new file to the edited volume and confirm that the file size does not increase.
Comments
0 comments
Please sign in to leave a comment.