Antony wrote:
I have a Debian system on really small Flash memory like an embed
system. A hard drive is mounted onto the system. I want to add more
processes to the system like mail server. But the problem is /usr, /var,
/etc are running out of space on the Flash memory. I'm planning to do
the following:
- make /usr, /var, /etc, /home directories on the mounted hard drive.
- copy /usr, /var, /etc, /home original directories to new created
directories.
- edit /etc/fstab to mount these directories to new created locations.
- remove the old /usr, /var, /etc, /home directories.
Is that unsafe to do so?
Do files in these directories being accessed before mounting from
/etc/fstab?
Doesn't it suffice to move just /var, /tmp and /home to the hard drive?
I would make one partition for /var and one for /home. Then link /tmp to
/dev/shm which must be done in a boot script (see for example kernel
documentation .../linux/Documentation/filesystems/tmpfs.txt).
--
Regards,
Jörg-Volker.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]