You are not logged in.

#1 2010-09-12 16:45:30

kaveiros
Member
From: Greece
Registered: 2010-09-08
Posts: 21

Deleting empty directories... Is it appropriate?

Recently I uninstalled cpufrequtils from my system with pacman -Rns cpufrequtils.
I noticed though that some empty folders remain such as  /sys/devices/system/cpu/cpufreq/.
Should I manually delete it ? Is that ok? Is there a script to do this automated? I locate empty directories with fslint.
Generally what happens if a package gets removed and empty directories of it remain in the system?

Offline

#2 2010-09-12 17:42:19

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Deleting empty directories... Is it appropriate?

I don't believe that is a directory you want to remove... it is there with or with the cpufreq package.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2010-09-12 17:48:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Deleting empty directories... Is it appropriate?

It's in /sys, so let it be.
http://en.wikipedia.org/wiki/Sysfs

Last edited by karol (2010-09-12 17:52:34)

Offline

#4 2010-09-12 18:22:13

dcc24
Member
Registered: 2009-10-31
Posts: 732

Re: Deleting empty directories... Is it appropriate?

Unless you know exactly what you are doing, never ever EVER delete anything from /sys smile


It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)

My AUR packages

Offline

#5 2010-09-12 23:09:07

kaveiros
Member
From: Greece
Registered: 2010-09-08
Posts: 21

Re: Deleting empty directories... Is it appropriate?

Thank you all for your replies.. I was just curious about left over directories after unistallation of pacckages

Offline

Board footer

Powered by FluxBB