N
N
Neznayka xD2017-02-18 12:36:14
linux
Neznayka xD, 2017-02-18 12:36:14

Error mounting /var/log?

I created two logical partitions /var and /var/log
And mounted them like this:
mount /dev/sda5 /var
mount /dev/sda6 /var/log
The /var partition was mounted fine
But the /var/log partition gave the following message:
mount : mount point /var/log does not exist
What did I do wrong please tell me ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Fedoseev, 2017-02-18
@Neznayka1979

when the system is installed, the var section is filled - standard directories are created in it, installed packages create the directories and files they need there ...
You mount an empty section in var. Do you think that the content will appear there automatically?
At least create the /var/log directory before mounting, or something

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question