Questions tagged [var]
The var tag has no summary.
35 questions
0
votes
2
answers
85
views
Where (i.e. under what path) should we place non-root-user build files? [closed]
On a system I'm considering, there are multiple users. Users' home directories are mounted from some server on the network, which offers those same home directories to multiple machines (with the same ...
-1
votes
1
answer
101
views
Where should non-root-user programs write the data which system-level programs write to (subdirectories of) /var?
Background
Unix convention and the Linux Filesystem Hierarchy standard define several paths under which processes look for certain information, or use to write certain information. When one needs to ...
0
votes
2
answers
3k
views
Can I expand my /var partition?
I just installed Ubuntu 24.04, and I made a mistake: I put the /var directory on its own partition, and its size is 10 GB. After a few days it is already full.
Is there a way to fix this problem ...
2
votes
1
answer
578
views
Why does Flatpak install applications in /var instead of /usr?
I've noticed that Flatpak, a popular package manager for Linux, installs applications in the /var directory instead of the traditional /usr directory.
While /usr has been the conventional location for ...
1
vote
1
answer
751
views
tmux new-window command plus argument including spaces - bash var
I'm trying to execute a command on a new tmux window. A simple console/terminal pdf reader. The script needs argument, a PDF file, the file name may include spaces. I've tried this:
#!/bin/bash
tmux ...
0
votes
0
answers
227
views
find the reason of PC power off
Today i had powered on my PC, and it powered off few times, while power-on workflow.
I had check in log, but didn't find the reason, I had powered it on about 14:00 or near, (few times until was ...
0
votes
1
answer
1k
views
Not enough space to install apt packages/how do I resize /var/?
Clearing the apt packages cache does not help, neither do I have any extra update packages. Whenever I try to apt install something, it tells me I have no space left. df -h says my /var/ is full, so I'...
1
vote
1
answer
193
views
Failed to Start After Moving /var to Another Drive
I am running CentOS 7.
I have /var on a separate hard drive, and smartctl shows that it has some read error. Hence, I would like to move /var to another hard drive.
For the new hard drive, I used ...
1
vote
2
answers
583
views
Extension partition /var with some giga of partition /home
I have a RHEL 7.9 virtual machine without GUI, and I would like to make updates via the yum update command but it tells me that the disk is full, especially on the /var folder.
I thought I'd take 10GB/...
1
vote
1
answer
691
views
Cannot find the files filling up my /var partition
I'm running a python application that keeps crashing with
sqlite3.OperationalError: database or disk is full, even though I have 300G in the partition where this is installed and from where I'm ...
0
votes
1
answer
1k
views
/var keeps filling due to yum cache
the /var/cache directory keeps filling frequently due to yum metadata in centos 7.5 server.
most of the space utilized by the below files. i have set keep cache to 0 in /etc/yum.conf as well. but ...
3
votes
0
answers
7k
views
When to clean up /var/tmp?
/var/tmp is not defined in POSIX, but is defined in FHS:
5.15. /var/tmp : Temporary files preserved between system reboots
5.15.1. Purpose
The /var/tmp directory is made available for programs that
...
0
votes
1
answer
204
views
bash :: use imported array
myVAR='myArr'
. ./myArraysFile # external file with all my arrays, one of the arrays is myArr=('one' 'two' 'three')
I need to use this arrey with further scripting
Examples:
echo ${!myVAR}[1] # I ...
0
votes
0
answers
24
views
What files should be deleted if i don't want anyone to know if the system has been once linked to the internet?
For certain reasons I have to delete all files that might indicate that the syatem has once been linked to the internet. I have deleted all the records in browser, and the internet ethernet address. ...
3
votes
1
answer
2k
views
Moving /var onto different disk/partition
I moved the /var directory to a new disk/partition, this part worked well, but I forgot to delete/move the old /var path and it is still using space on / (root) partition. How could I delete the old /...