/home partition 1% and is empty
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 And welcome to LQ. |
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 ...
|
Quote:
|
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.
|
A directory uses one or more data blocks.
The following exercise will blow up the directory size by creating many files in it. Code:
mkdir testdir |
That is not relevant to what the OP is asking, and will only lead to more confusion.
|
Because the name /home differs from testdir?
|
Quote:
|
Quote:
|
Quote:
|
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. |
1 Attachment(s)
[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 guys, please watch the attached file... as you can see 1.3 GB used??? this is insane!!! |
Have you even tried what was suggested?
Code:
ls -la /home/* Code:
du -hs .??* * |
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. |
All times are GMT -5. The time now is 03:20 AM. |