This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
fuss:linux [2020/05/12 23:36] – [Scraping a Site Automatically using SystemD] office | fuss:linux [2020/07/08 04:19] – [Scraping a Site Automatically using SystemD] office | ||
---|---|---|---|
Line 1180: | Line 1180: | ||
Upon every reboot, the service file will create a detached tmux terminal and start scraping files from the URL. | Upon every reboot, the service file will create a detached tmux terminal and start scraping files from the URL. | ||
+ | |||
+ | ====== Access Directory Underneath Mountpoint ====== | ||
+ | |||
+ | In order to access a directory underneath a mountpoint without unmounting, create a bind mount of the root filesystem to a directory and then access the content via the bind mount. | ||
+ | |||
+ | Ie, to access the contents of the directory ''/ | ||
+ | <code bash> | ||
+ | mkdir /mnt/root | ||
+ | </ | ||
+ | |||
+ | and create a bind mount: | ||
+ | <code bash> | ||
+ | mount -o bind / /mnt/root | ||
+ | </ | ||
+ | |||
+ | Finally access the original underlying content via the path ''/ | ||
+ | |||
+ |