You are not logged in.
I accidentally sudo overwrote this file with garbage. I haven't rebooted yet. What was in here? Is it important? How do I get it back?
Thanks!
Offline
This is the default:
# pass all events to the HAL daemon
RUN+="socket:/org/freedesktop/hal/udev_event"
Offline
Well that is what I currently have in that file... Oh god was it something else I overwrote? *cringes*
Thanks.
Offline
If it was something in that directory, the sizes should be different than mine. This is what I have:
ls -l /etc/udev/rules.d/
total 52
-rw-r--r-- 1 root root 1071 2008-09-24 07:07 60-pcmcia.rules
-rw-r--r-- 1 root root 390 2009-03-07 15:42 75-cd-aliases-generator.rules.optional
-rw-r--r-- 1 root root 2403 2009-03-07 15:42 75-persistent-net-generator.rules.optional
-rw-r--r-- 1 root root 8039 2009-03-07 15:42 81-arch.rules
-rw-r--r-- 1 root root 82 2008-11-30 08:51 90-hal.rules
-rw-r--r-- 1 root root 28 2008-10-19 06:35 99-fuse.rules
Offline
Are you sure you over wrote it? If you did a command like this then it wouldn't have overwritten:
sudo cat /dev/null > /etc/udev/rules.d/90-hal.rules
Since the redirection (>) doesn't get the sudo rights, only the cat command does.
Last edited by fukawi2 (2009-03-17 02:37:39)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
You can always "pacman -S hal" to reinstall all the hal files.
Offline
And if you think it was something else in udev............. pacman -S udev!
Offline
oh god! all mods and devs up in here. man i still love arch.
Offline
Ha! I looked at everything and it looked alright. A reboot later, I'm still alright. Phew. Thanks guys.
Offline