Linux command
synoupgrade 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Check
sudo synoupgrade --check
Example
sudo synoupgrade --check-smallupdate
Download
sudo synoupgrade --download
Start
sudo synoupgrade --start
Auto
sudo synoupgrade --auto
Auto
sudo synoupgrade --auto-smallupdate
Example
sudo synoupgrade --patch [/path/to/file.pat]
Example
synoupgrade
说明
synoupgrade is the firmware upgrade utility for Synology DiskStation Manager (DSM). It provides command-line control over the NAS operating system update process, enabling both manual upgrades from local patch files and automated online updates. The tool handles DSM's proprietary .pat firmware packages and manages the complete upgrade workflow including download, verification, installation, and system reboot.
参数
- -h
- Display help information
- -p, --patch _file.pat_
- Upgrade from local patch file (absolute path required)
- --no-reboot
- Prevent automatic reboot after upgrade
- --check
- Check for available upgrades online
- --check-smallupdate
- Check for patches without major version upgrade
- --download
- Download latest upgrade
- --download-smallupdate
- Download patches only
- --start
- Start the upgrade process
- --auto
- Automatically upgrade to latest version
- --auto-smallupdate
- Automatically apply patches
- --online
- Check online servers for updates
- --online_download
- Download available updates
- --online_install
- Install downloaded updates
FAQ
What is the synoupgrade command used for?
synoupgrade is the firmware upgrade utility for Synology DiskStation Manager (DSM). It provides command-line control over the NAS operating system update process, enabling both manual upgrades from local patch files and automated online updates. The tool handles DSM's proprietary .pat firmware packages and manages the complete upgrade workflow including download, verification, installation, and system reboot.
How do I run a basic synoupgrade example?
Run `sudo synoupgrade --check` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -h do in synoupgrade?
Display help information