Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!clout!chinet!les From: les@chinet.chi.il.us (Leslie Mikesell) Newsgroups: comp.unix.programmer Subject: Re: backup and restore: what about device files? Message-ID: <1991Jun04.144122.12@chinet.chi.il.us> Date: 4 Jun 91 14:41:22 GMT References: <1991May16.233149.15268@athena.mit.edu> <1991Jun1.213927.28705@thunder.mcrcim.mcgill.edu> Distribution: usa Organization: Chinet - Chicago Public Access UNIX Lines: 18 In article <1991Jun1.213927.28705@thunder.mcrcim.mcgill.edu> mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes: >That depends on the utility. BSD dump, for example, does; tar does not >(in any incarnation I am aware of, at least). Depending on what you >are trying to do, sometimes one behavior is appropriate, sometimes the >other. GNUtar can be told to do devices. However, when you restore you may or may not want the devices back, since the reason you are restoring may be that all or part of the original machine is no longer working. Since they usually don't change often it is a good idea to backup /dev by itself and omit it from backups of the files. If the machine has a floppy disk, you can use cpio to save them there, and restore only if the same kernel is restored back to the same or an identical machine. Les Mikesell les@chinet.chi.il.us