Skip to content
TheChatArchiveThe Chat Archive
gpt-4o-2024-08-06· OpenAIAi2 WildChat-4.8M (AI2)

Why is my df showing this: nvme1n1 259:2 0 465,8G 0 disk ├─nvme1n1p1 259:3 0 512M 0 part…

  1. 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

  2. Assistant

    The output you are seeing is from the lsblk command, which lists information about block devices. The detailed listing of all the subdirectories for nvme1n1p2 indicates that some changes have been made to your file system configuration or the lsblk command invocation.

    Here are a few reasons why you might see all these subdirectories listed instead of just the / mount point:

    1. 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/fstab or wherever your mounts are defined for any changes or additional mounts that might have affected this output.

    2. lsblk Options/Parameters: If you've used the -o option or a specific command alias or script to alter the default output of lsblk, it might now be showing more detailed information. Check how you are calling lsblk and any shell configurations or scripts that might redefine its behavior.

    3. 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 lsblk without any special options.

    • If this behavior was caused by a specific lsblk configuration or wrapper script, ensure you're using the standard lsblk without additional modifications or options.

    Also, using lsblk -o NAME,MAJ:MIN,RM,SIZE,RO,TYPE,MOUNTPOINT allows you to specify the columns to display, which can give you a more controlled output.