On Thu, Sep 14, 2006 at 10:46:30PM +0000, Ray wrote:
> I plan to configure a device to boot from a CF card, but to reduce writes to
> the CF, run /tmp /var and /dev from a memory (mfs) drive.
>
> When preping the device, I copy the contents of the /var directory to another
> directory path. When 'swap mfs' in the fstab file mounts the mfs drive, the
> contents of the that directory is copied there.
>
> However, when I copy files to the new directory with the command:
> cp -rp /var /mfstmp/var
>
> I get
> cp: /var/cron/tabs/.sock: Operation not supported
> cp: /var/empty/dev/log: Operation not supported
>
> Is there any ugly problems that may come about later without these socks or
> file?
Certainly, daemons chrooted in /var/empty won't be able to use syslog
and there will be something wrong with cron (maybe the notification to
re-read changed crontabs?).
Joachim