# Repairing /dev after accidental deletion

**URL:** <https://forums.suse.com/t/repairing-dev-after-accidental-deletion/21925>\
**Category:** SLES Configure-Administer\
**Created:** [January 12, 2012, 5:46pm UTC](https://forums.suse.com/t/repairing-dev-after-accidental-deletion/21925 "2012-01-12T17:46:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [January 12, 2012, 5:46pm UTC](https://forums.suse.com/t/repairing-dev-after-accidental-deletion/21925/1 "2012-01-12T17:46:02Z")

</div>

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](http://forums.novell.com/member.php?userid=122544)  
View this thread: [http://forums.novell.com/showthread.php?t=450630](http://forums.novell.com/showthread.php?t=450630)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [January 12, 2012, 5:58pm UTC](https://forums.suse.com/t/repairing-dev-after-accidental-deletion/21925/2 "2012-01-12T17:58:25Z")

</div>

-----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/](http://enigmail.mozdev.org/)

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [January 12, 2012, 10:16pm UTC](https://forums.suse.com/t/repairing-dev-after-accidental-deletion/21925/3 "2012-01-12T22:16:02Z")

</div>

excellent. thank you

## – laumars

laumars’s Profile: [http://forums.novell.com/member.php?userid=122544](http://forums.novell.com/member.php?userid=122544)  
View this thread: [http://forums.novell.com/showthread.php?t=450630](http://forums.novell.com/showthread.php?t=450630)
