Hi, I've recently switched to CentOS 5.0 from RedHat 9.0 and found a new directory /proc which contains "virtual" files according to the docs. When I try to run my normal backup which uses cpio to create archives, it complains about not being able to access many files in the /proc directory. This is also true of some files in /sys/devices. Searching for something that wouldn't have this problem, I tried mondorescue. One of the first things I noticed is, by default, mondorescue skips the /proc directory. Does anyone know the details of my observations here? Are these files automatically generated at runtime? Thanks is advance for any insight someone can provide here! John -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080110/f295021e/attachment-0003.html>
On Jan 10, 2008 6:18 PM, Krautkramer, John <John.Krautkramer at micrel.com> wrote:> Searching for something that wouldn't have this problem, I tried > mondorescue. One of the first things I noticed is, by default, mondorescue > skips the /proc directory. Does anyone know the details of my observations > here? Are these files automatically generated at runtime?> Thanks is advance for any insight someone can provide here!/proc and /sys are essentially 'runtime' filesystems which provide information about your system, including memory use, available hardware, various performance settings, etc. The files in here can vary greatly and should not be backed up like you would with /usr/ or /var/. Mostly, you should skip /proc and /sys for your backup procedures. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell
On Thursday 10 January 2008 23:18:33 Krautkramer, John wrote:> Hi, > > > > I've recently switched to CentOS 5.0 from RedHat 9.0 and found a new > directory /proc which contains "virtual" files according to the docs. > When I try to run my normal backup which uses cpio to create archives, > it complains about not being able to access many files in the /proc > directory. This is also true of some files in /sys/devices. > > > > Searching for something that wouldn't have this problem, I tried > mondorescue. One of the first things I noticed is, by default, > mondorescue skips the /proc directory. Does anyone know the details of > my observations here? Are these files automatically generated at > runtime? > > > > Thanks is advance for any insight someone can provide here! > > > > JohnYes, the /proc directory basically contains information on the running kernel and should never be backed up. Tony