How big should /dev be, and how to shrink it?

Hi, We are using SLES 11x for VMware. Now I have a question about /dev under SLES: I’ve found the size of /dev is pretty big on this server. How big should /dev be? If its’ too big, how can I shrink it?

df -h

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/system-rootlv 5.0G 1.1G 3.7G 23% /
udev 3.9G 136K 3.9G 1% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/sda1 152M 36M 108M 26% /boot
/dev/mapper/system-homelv 2.0G 68M 1.9G 4% /home
/dev/mapper/system-optlv 2.0G 271M 1.7G 15% /opt
/dev/mapper/system-tmplv 3.0G 72M 2.8G 3% /tmp
/dev/mapper/system-usrlv 5.0G 3.8G 963M 80% /usr
/dev/mapper/system-varlv 6.0G 489M 5.2G 9% /var
/dev/mapper/system-varspoollv 3.0G 69M 2.8G 3% /var/spool

Thank you in advance!

thesunlover wrote:

I’ve found the size of /dev is pretty big on this server.[/color]

Not true! Don’t try to do anything with /dev.

What you are seeing are the devices that /dev/mapper points to. The
size you see is the size of the device (disk/partition/LV) used for
each of your mount points.

Kevin Boyle - Knowledge Partner
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…