Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm relatively new to Linux, so I hope you can help me out with this one.
I would like to run mondo on my RedHat 8.0 but I need about 30m extra free
space in my root directory, /usr , /home , /var /tmp are all under LVM in
their own logical volume. (/usr=ext2, /home=ext3, /var=reiser /tmp=reiser)
So I need to get this space by trimming down /dev , its a 114meg.
The problem is that I don’t know wich devices I REALY need (is $ls -l
--time=atime a safe way to determine this ?)
Or is there a better way to filter them ?
I also noticed that it's not possible to 'cp' a device is their any way I
can copy them so I could include them on a boot-disk generated by 'mindi'
(in case things go wrong) what about the sym-links ?
Can I loop-mount an iso image of a bootdisk ( is this safe to do or wil it
start booting my system again and/or worse ? ) I would like to edit the
included /etc/fstab so that I can use my second cd reader too (:
114mb??!?! that is not possible. the entries in the /dev/ directory are not even really files, they have no size. if you have more than 1mb in there you have had somethign go very wrong.
i have 15252 entries in /dev, taking up a grand total of 332kb, made up of directory entries (4kb block) and some very basic system scripts.
The /dev directory is a pseudo type file system, it shouldn't take up rarely any space at all. The files in there are basically only links to hardware devices on your system.
How are you getting the output that /dev is taking up 114 megs of space ?? But my advice, don't remove anything in that directory, it could make your system non-functional.
If you don't believe him, then go to your /dev directory and issue the command du -ch ./ This lists every 'file' in there, how much space it physically takes up, and then totals it at the end for you. My system lists it as follows:
It is understandable from some points of view... it can be annoying and confusing having so many entries in there, when the majority will not be used. That is why I love devfs! It is a God send! Unfortunately, unless people have already experienced it, or are told about it, they will largely be unaware of devfs, and so 'removing entries' seems quite logical... even if potentially fatal!
Most things here seem to go in trends though, someone will read a thread, see how things go, run into problems and post similar questions regarding things they tried. It takes 1 or 2 coincidental similar questions to start the ball rolling, then it's a full on hit of very related questions, just like the "linux uses all my memory" questions that come and go.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.