Why is my df showing this: nvme1n1 259:2 0 465,8G 0 disk ├─nvme1n1p1 259:3 0 512M 0 part…
- User
Why is my df showing this:
nvme1n1 259:2 0 465,8G 0 disk ├─nvme1n1p1 259:3 0 512M 0 part /boot/efi ├─nvme1n1p2 259:4 0 448,2G 0 part /tmp/.X11-unix/X0 │ /var │ /tmp │ /srv │ /root │ /opt │ /nfs │ /mnt │ /lost+found │ /home │ /boot │ /.host-etc │ /usr │ /nix/store/wlffq5p6mxxgfap10sav3ij936jzqm59-glibc-2.39-52/etc/rpc │ /nix/store │ /nix └─nvme1n1p3 259:5 0 17,1G 0 part [SWAP]
It used to just show part / instead of all subdirs
- Assistant
The output you are seeing is from the
lsblkcommand, which lists information about block devices. The detailed listing of all the subdirectories fornvme1n1p2indicates that some changes have been made to your file system configuration or thelsblkcommand invocation.Here are a few reasons why you might see all these subdirectories listed instead of just the
/mount point:-
Mount Points: The detailed output might indicate that multiple mount points or bind mounts have been defined within the main partition (
nvme1n1p2). Verify your/etc/fstabor wherever your mounts are defined for any changes or additional mounts that might have affected this output. -
lsblkOptions/Parameters: If you've used the-ooption or a specific command alias or script to alter the default output oflsblk, it might now be showing more detailed information. Check how you are callinglsblkand any shell configurations or scripts that might redefine its behavior. -
Environment Changes: Environmental variables or updates to the system might change the default behavior or styling of command outputs.
To fix this and get back to the previous, simpler display:
-
If mount points have been added intentionally and serve a purpose, and you only need a simplified view sometimes, you can run
lsblkwithout any special options. -
If this behavior was caused by a specific
lsblkconfiguration or wrapper script, ensure you're using the standardlsblkwithout additional modifications or options.
Also, using
lsblk -o NAME,MAJ:MIN,RM,SIZE,RO,TYPE,MOUNTPOINTallows you to specify the columns to display, which can give you a more controlled output. -