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.
Good night fellas i recently installed Slackware, i created 3 partitions sda1 /root, sda2 swap and sda3 /Home, the question is, why /Home says 1% used if is empty, i don't have any pic, video or file.
While in your home directory, try running this command from a terminal:
Code:
ls -a
I suspect you will find a number of "hidden" dot-config files present that will account for that minimal amount of disk usage. Follow the link to learn more about hidden files on Linux.
The fact that you have a home directory at all proves /home isn't empty. But most of that usage will be for the filesystem itself. Depending on filesystem choices metadata and maybe also a reserved percentage. Windows doesn't tell you of such things ...
While in your home directory, try running this command from a terminal:
Code:
ls -a
I suspect you will find a number of "hidden" dot-config files present that will account for that minimal amount of disk usage. Follow the link to learn more about hidden files on Linux.
And welcome to LQ.
Ok maybe checking hidden files inside /home can see what is. I hope that files don't belongs to the SO, and the complete installation had been inside the root dir
users always have some files in their homes, usually hidden files, started with dot (like .bashrc). These files belong to the user and were created when the user itself was created. The installation contains the tools to generate these files and which are usually located on the root filesystem.
users always have some files in their homes, usually hidden files, started with dot (like .bashrc). These files belong to the user and were created when the user itself was created. The installation contains the tools to generate these files and which are usually located on the root filesystem.
Thnx for ask, i made this question cause when installing Slackware and ask me to select another partition which was created for me like /dev/sda3 that i would use like /Home, setup told me if i wanted to use that partition to distribute SO files, so i thought the installation program would install part of the SO inside home directory, sorry if is a stupid question but i'm new on Linux, and there are no stupid questions, just stupid that don't ask.
Your home directory is for your personal files. This includes personal configuration files for various programs that you use, but they typically don't take up much room. What takes up room is photographs, videos, music and all that other stuff that people commonly download from the internet or upload from other devices. And you won't have those on a freshly installed system.
Check your home directory in six months time and you'll get a more typical picture.
[QUOTE=hazel;6404304]Your home directory is for your personal files. This includes personal configuration files for various programs that you use, but they typically don't take up much room. What takes up room is photographs, videos, music and all that other stuff that people commonly download from the internet or upload from other devices. And you won't have those on a freshly installed system.
Check your home directory in six months time and you'll get a more typical picture.[/QUOTE
will tell you exactly what is being used in each file and directory located in the current location. Run that in your home directory to see what is actually there.
It probably isn't files, it is inodes. Inodes take up some space, and you need an initial tree that is created by mkfs. I am not sure if it is just one for lost+found or the fully allocated tree (you specify how many inodes/blocks and that is reserved). But df is probably rounding up, so it is %1.
I actually created a loopback filesystem, removed lost+found and it still have a few kbs used, perhaps for the directory tree. It still listed it as %1 used.
Last edited by elgrandeperro; 01-14-2023 at 01:19 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.