On Fri, 11 Jul 2008 22:15:57 +0200, Michael Prokop wrote:

>> ... I realize that my /dev directory should be backed up & populated.
> 
> Well, static devices can be found in /dev/.static/dev
> and if configured/used also in /lib/udev/devices.
> 
> What's really important are the null, zero, console and tty[0-9]
> devices which are all easy to generate/restore using MAKEDEV in case
> you lose them.

Thanks for the explanation mika. I was hoping that I can just backup those
static devices, but I found both my /dev/.static/dev/ & /lib/udev/devices/
are empty. If I duplicate null, zero, console and tty[0-9] devices into
/dev/.static/dev/ and back them up, would it works?

> So basically it's not necessary to backup /dev as long as you know
> how to recover it ;) - but as /dev is usually less than 1MB size it
> won't hurt to place it in your backups as well. ;)

Yeah, 1MB is not that big. My worry was the portability. If I backup all
devices in PC A, then restore them on PC B, what would happen?

Thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/

_______________________________________________
Grml mailing list - [email protected]
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/

Reply via email to