Does downloading in /mnt affect the overlay?

I could not find any information on this, so I'm pretty sure I'm missing something.

I have installed a SquashFS image and I want to mount an internal drive as /mnt/storage. The overlayFS is active on the root / . Does mounting a block device on /mnt/storage affect the overlay other than the directory in /mnt ?

If I install transmission and start downloading, does this affect the overlay ?

Thank much,

Dantes

Mounting something in /mnt/storage should be safe. At least I have never noticed anything on /overlay when I add something to USB stick at /mnt/sda1

root@router5:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                15104     15104         0 100% /rom
tmpfs                   444444      3656    440788   1% /tmp
/dev/ubi0_2              63764      1508     58964   2% /overlay
overlayfs:/overlay       63764      1508     58964   2% /
tmpfs                      512         0       512   0% /dev
/dev/sda1              3940288    358664   3581624   9% /mnt/sda1

root@router5:~# logread > /mnt/sda1/koe.txt

root@router5:~# ls -la /overlay/upper/mnt/sda1/
drwxr-xr-x    2 root     root           160 Sep  1 22:16 .
drwxr-xr-x    4 root     root           296 Sep  1 22:16 ..

root@router5:~# ls -la /mnt/sda1/k*
-rwxrwxrwx    1 root     root         77953 Sep  1 22:19 /mnt/sda1/koe.txt
1 Like

Thank you very much, lets see if I can reproduce :upside_down_face:

You were correct, /mnt is unaffected, yay!

I think my problem was the cache directory in /opt/transmission :blush:
That might have been slowly filling the overlay.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.