惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
腾讯CDC
P
Privacy & Cybersecurity Law Blog
V
Vulnerabilities – Threatpost
小众软件
小众软件
有赞技术团队
有赞技术团队
大猫的无限游戏
大猫的无限游戏
P
Privacy International News Feed
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
C
CXSECURITY Database RSS Feed - CXSecurity.com
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Scott Helme
Scott Helme
Simon Willison's Weblog
Simon Willison's Weblog
Forbes - Security
Forbes - Security
Recent Commits to openclaw:main
Recent Commits to openclaw:main
G
Google Developers Blog
S
Secure Thoughts
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - 司徒正美
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Blog — PlanetScale
Blog — PlanetScale
TaoSecurity Blog
TaoSecurity Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Last Week in AI
Last Week in AI
H
Heimdal Security Blog
Spread Privacy
Spread Privacy
P
Proofpoint News Feed
Security Latest
Security Latest
SecWiki News
SecWiki News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
Security Affairs
V2EX - 技术
V2EX - 技术
S
Schneier on Security
Stack Overflow Blog
Stack Overflow Blog
雷峰网
雷峰网
博客园_首页
AI
AI
Help Net Security
Help Net Security
I
Intezer
Engineering at Meta
Engineering at Meta
N
Netflix TechBlog - Medium
Google DeepMind News
Google DeepMind News
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Exploit Database - CXSecurity.com
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Hacker News: Ask HN
Hacker News: Ask HN
Project Zero
Project Zero
D
Docker

博客园 - 遥月

畅网n100 dc版本 黑群晖风扇转速问题 黑群晖7.x ame半洗白加激活补丁 win10/11 系统频繁重启,bcd错误或丢失 jellyfine-code1008播放器无法实例化错误、群晖系统分区空间不足解决办法 为什么nas上不用joplin而用trilium笔记? 国内dockerhub镜像2025.3.5 Docker+Gunicorn+Flask部署项目(转载) 群晖用软连接替换掉自带低版本python 群晖安装pip包管理器 docker save和docker export的区别 群晖套件正在开始...... jellyfine套件登录忘记密码 python装饰器详解 用vb6拖拽生成tkinter界面 python 打包exe文件 群晖虚拟window系统,远程连接3389 群晖虚拟openwrt做旁路由 黑群晖家用改造指南 windows下写sh脚本, 在linux下执行乱报错的问题 拒绝算法推荐,使用rss订阅消息与新闻!订阅源推荐! 群晖docker-compose简单应用搭建zblog+mysql博客系统
群晖drive的文件和目录挂载软链接问题,如何一个目录多头管理
遥月 · 2024-05-04 · via 博客园 - 遥月

注意:

     群晖不支持ln-s 软连接方式,ssh命令能成功,但是filestation不显示,群晖官方说不支持这种方式挂载。

解决:

      利用 mount 来将某个目录挂载到另外一个目录去,例如drive里面有一个web文件夹,你想要drive访问和网站管理兼顾,那么web文件夹本体放到drive里,用mount --bind 挂载到网站根目录即可!

举例:

           把/data/public挂载到 /home/user/public下,命令:

 # mount --bind  /data/public  /home/user/public  事先先建立文件夹,时候修改文件夹的权限,否则看不到文件

解除:
重启系统自动解除,或者用命令: umount
/home/user/public 原先的被挂载目录变为空

重复挂载:群晖开机计划

#!/bin/bash 
mount --bind /volume3/homes/xx/文件仓库 /volume4/web/文件仓库

如果脚本频繁报错,找不到文件夹之类的,是因为在windows下编辑的问题,看下篇文章