i have only one internal ssd and no external drives are connected

a btop list of all the disks on my pc: root, swap and tmp
you are viewing a single comment's thread
view the rest of the comments
[–] 11 points 7 months ago (6 children)

tmpfs? If so this is in RAM. You can check with mount -l

  • source
  • hideshow 6 child comments
  • [–] [S] 1 point 7 months ago* (5 children)

    it lists multiple tmpfs:

    tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1616504k,mode=755,inode64)  
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)  
    tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)  
    tmpfs on /run/credentials/systemd-journald.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)  
    tmpfs on /run/credentials/systemd-resolved.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)  
    **tmpfs on /tmp type tmpfs (rw,noatime,inode64)** (i am guessing it's this one)  
    tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1616500k,nr_inodes=404125,mode=700,uid=1000,gid=1000,inode64)  
    tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1616504k,mode=755,inode64)  
    

    i hope these are all as konsole doesn't seem to have a search function in kubuntu, why?

  • source
  • parent
  • hideshow 5 child comments
  • [–] 12 points 7 months ago (1 child)

    You are correct this is the one mounted on /tmp.

    Everything under /run and /dev is normal to be on tmpfs and should not be changed.

    In Linux, a lot of internal systems and devices are considered as files even if they are not really a file in the usual sense of it. For example what is in /dev is usually not really taking up RAM space but more of a representation of the devices (internal and external) that are attached to your system. You can programatically read and write to these "files" to communicate with the devices.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 7 months ago (2 children)

    for a more readable output

    df -ht tmpfs

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 1 point 7 months ago (1 child)

    thanks! but it's unclear how to tell it lives in RAM...

    Filesystem      Size  Used Avail Use% Mounted on
    tmpfs           1,6G  2,2M  1,6G   1% /run
    tmpfs           7,8G  1,5G  6,3G  19% /dev/shm
    tmpfs           5,0M  8,0K  5,0M   1% /run/lock
    tmpfs           1,0M     0  1,0M   0% /run/credentials/systemd-journald.service
    tmpfs           1,0M     0  1,0M   0% /run/credentials/systemd-resolved.service
    tmpfs           7,8G  236M  7,5G   3% /tmp
    tmpfs           1,6G   11M  1,6G   1% /run/user/1000
    
  • source
  • parent
  • hideshow 1 child comment