Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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 did not got the correct answers to below questions...Hope 1->e and 2->d, are my guess correct ? if so why ?
1. While monitoring the integrity of the filesystems, you detect, that there are no more free inodes left on the /home partition although there are many megabytes free space. What could be the reason?
a. This is a typical filesystem error on ext2 partitions.
b. A user has created lots of very small files.
c. The inode table is corrupted.
d. There are lots of cross-linked files.
e. The report of many megabytes free space is wrong due to an overflow of the 32 Bit Free-Space-Variable.
2. The user foo has reported problems creating files in his home directory. He has got a user quota of 40 megabyte but a quick check of his directory shows only 20 megabyte in use. What may be the reason?
a. He has hidden 60 megabytes inside a hush directory.
b. The quota file is corrupt
c. Quotas are counted in 512-blocks. So he has really only 20 megabyte quota
d. He has probably many small files and his file limit is exceeded
Let's poke some on number 1
If there are no free inodes and this would be a known bug why isn't it fixed?
Think about when inodes are used.
See number 2
Pretending that the size of occupied space is realy 20megs. (du -hs /home/user) the hidden file options just doesn't work. If not might be and depends on hard/soft limit values.
Either c or d would be my guess.
For e check on the difference between symbolic and hard links
This does follow the "rules" for homework to an extent - he has given us the answers he thought were correct (and turned out not to be). Not every exam gives the correct answers when giving a grade or score, so posting these here will hopefully expand his knowledge or at least let him know why he went wrong.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.