[Grml] /dev, udev and backup

T o n g mlist4suntong at yahoo.com
Sat Jul 12 07:05:19 CEST 2008

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?


Tong (remove underscore(s) to reply)

More information about the Grml mailing list