Answer the question
In order to leave comments, you need to log in
How to mount a hard drive to the site folder /web/localhost/videos?
There is a site in the /web/localhost directory, you need to mount your hard drive in order to have access to the video.
Or, what other way is there?
Moving is not an option - low memory
Answer the question
In order to leave comments, you need to log in
In order for the disk to be automatically mounted to the specified directory on each reboot, you need to edit the /etc/fstab file.
First, we find out the type of the partition, and its UUID (unique identifier):
(_disk_ is the descriptor of the partition to be mounted, for example - sda1)
Then add the following line to /etc/fstab (sudo nano /etc/fstab, Ctrl+O, Ctrl +X):
where _uuid_ is the identifier (for example, 7728219a- a119-43ee
-b2a0-25b036d80e11) and _type_ is the partition type (for example, ext4
)
man fstab
man blkid
man mount
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question