[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/fstab question (problem)?



On 18/04/2023 22:37, Charles Curley wrote:
1) Preserve the current contents of /tmp,
2) Adjust fstab to include the /tmp partition,
3) Mount the /tmp partition
4) Restore the contents of /tmp

Some issues may arise due to files (regular ones, already deleted, sockets, fifos) opened by running services. /tmp is specific in the sense that no files are assumed to survive after reboot. I think, it is better to add the entry for tmp to /etc/fstab and to reboot.

As a final step / may be bind mounted to some other directory to remove remaining files (to avoid wasting of disk space) or to move them to new location if you do something special, so it is necessary to keep some files in /tmp.


Reply to: