Computing.Net > Forums > Unix > Clean up the / fs with find command

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Clean up the / fs with find command

Reply to Message Icon

Original Message
Name: tuna fishe
Date: August 10, 2000 at 20:28:52 Pacific
Subject: Clean up the / fs with find command
Comment:


hello unix admin folks

I need to clean up my root filesystem
because a backup caused the fs full.
I know that it accidentally write some
file with big size to root

I tried the find command with type c and
access time 2 days ago but it didn't help
much

# find . -ctime -2 -size +1000000c \
-type -c -exec ls -ld {} \; |more

it listed out
crw-rw-rw- 1 root tty 22, 0 Aug 10 16:47 ./devices/pseudo/sy@0:tty
crw-rw-rw- 1 root sys 33,267 Aug 8 18:37 ./devices/pci@1f,4000/scsi
@2/st@4,0:
crw-rw-rw- 1 root sys 33,271 Aug 9 19:51 ./devices/pci@1f,4000/scsi
@2/st@4,0:n
crw-rw-rw- 1 root sys 33,343 Aug 10 04:44 ./devices/pci@1f,4000/scsi
@2/st@4,0:hbn


What are these entries meant ?
How do I find out what size of these major/
minor devices ?

I don't want to delete them by mistake

Please advice

Thanks so much in advance

Regards

fishe@hotmail.com


Report Offensive Message For Removal








Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge
Poll History




Data Recovery Software