PDA

View Full Version : Repairing /dev after accidental deletion



laumars
12-Jan-2012, 16:46
I've just accidentally:
# rm -Rv /dev
(I meant to ./dev but hadn't spotted I missed the full stop until
after I hit return).

Anyhow, I've run a simulation of doing the same action on a VM and the
system appeared to rebuild the /dev directory upon restart. However I
just wanted to make sure that this would fix everything or if there will
be other outstanding issues?

OS: SLES 11.1


--
laumars
------------------------------------------------------------------------
laumars's Profile: http://forums.novell.com/member.php?userid=122544
View this thread: http://forums.novell.com/showthread.php?t=450630

ab
12-Jan-2012, 16:58
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dev is not real... really.... it's all runtime stuff. You probably want
to have the directory in existence (root:root, 755) but otherwise it's
mounted to virtual stuff.

Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPDwMzAAoJEF+XTK08PnB5ID0P/13wWqrB1nic0mdiDLCeoyra
c/129mSJ+wBmaqTasqqKUhec/cHu4eeFAVZCpeY3600SSdAoD7lK/GMPY8kxTovU
vLdFGd+Dofd4ZPpL57BFIFBP8hvTacKOYGhV9pP7Y2G74PYc3+ fAUv2dniFCNjEi
zowu6mb1FSJP1KtiTrnrZy6O/e6DKgbghDAg+QSiLKWgv8/EkPrLkPkTooiZIR2h
ov3MqCIAtNUaVei37ab3rVCsBjaoW4rPbiExp8xXA4D+n91k5s LcmRmtvpOWlUnI
4J9RsuaxF9L5pmFvzrDqC47JSfdBYajHRb89pIM+DSRf4Ih58D jHJYsfaE281XOy
2C97slD1r9IR/uAeyhzr429cRzGfVkivL7QrapFWkBNBwZHhty6P7ZskGZ9o04Q 6
l8S4KxDWl0jrus6Cgdxf1gr/WBG08FTLcLqiAmRyQf4CQkZRlJIfItWokFvJGeiK
V9j7DufOGL8ADeBaO70poZvTxmjiNzH0tbamzEcT/lozKqgs4IupwJcjtgQYY+P/
QidUdvvvEkZCsIFbcuIVlqoPOftA+8aPE/6tS03Z928JBBpCo0BdGU54tjJUXCw9
8vKdxnKsmHml7kss7YQZ19sF/ia6ypIhWYciAkIfOr/Fx1K2+fNCnTh4DsJ4kmlt
uxBVOmp58hjFjss9nmTH
=5o2c
-----END PGP SIGNATURE-----

laumars
12-Jan-2012, 21:16
excellent. thank you


--
laumars
------------------------------------------------------------------------
laumars's Profile: http://forums.novell.com/member.php?userid=122544
View this thread: http://forums.novell.com/showthread.php?t=450630