mirror of
https://github.com/RROrg/rr.git
synced 2025-08-21 12:06:57 +08:00
Compare commits
No commits in common. "3f021e17a31acb352e868c902b1b22d2ebc2760c" and "6afad4cd7fe1d04dba62925e1f4cb54f7c826f59" have entirely different histories.
3f021e17a3
...
6afad4cd7f
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,7 +5,6 @@ rr*.vmdk
|
|||||||
*.zip
|
*.zip
|
||||||
*.bak
|
*.bak
|
||||||
*.o
|
*.o
|
||||||
**.po~
|
|
||||||
**.mo
|
**.mo
|
||||||
|
|
||||||
tests
|
tests
|
||||||
|
@ -57,10 +57,8 @@ For the packag of has been initialized and build image, please go to [RR-CUSTOM]
|
|||||||
# If you have to replace certain language string of the project, please suggest and modify translation changes within each correlated PO file
|
# If you have to replace certain language string of the project, please suggest and modify translation changes within each correlated PO file
|
||||||
mkdir -p lang/zh_CN/LC_MESSAGES
|
mkdir -p lang/zh_CN/LC_MESSAGES
|
||||||
msginit -i lang/rr.pot -l zh_CN.UTF-8 -o lang/zh_CN/LC_MESSAGES/rr.po
|
msginit -i lang/rr.pot -l zh_CN.UTF-8 -o lang/zh_CN/LC_MESSAGES/rr.po
|
||||||
# Update translation files
|
|
||||||
for I in $(find lang -path *rr.po); do msgmerge --width=256 -U ${I} lang/rr.pot; done
|
|
||||||
# This formatting process will be automatically conducted during packaging.
|
# This formatting process will be automatically conducted during packaging.
|
||||||
for I in $(find lang -path *rr.po); do msgfmt ${I} -o ${I/.po/.mo}; done
|
msgfmt lang/zh_CN/LC_MESSAGES/rr.po -o lang/zh_CN/LC_MESSAGES/rr.mo
|
||||||
```
|
```
|
||||||
|
|
||||||
- PRs of new language translations towards the project is welcomed with appreciation.
|
- PRs of new language translations towards the project is welcomed with appreciation.
|
||||||
@ -71,7 +69,6 @@ For the packag of has been initialized and build image, please go to [RR-CUSTOM]
|
|||||||
- `ja_JP`: `@andatoshiki` & `@toshikidev`
|
- `ja_JP`: `@andatoshiki` & `@toshikidev`
|
||||||
- `ko_KR`: `@EXP` : jeong1986
|
- `ko_KR`: `@EXP` : jeong1986
|
||||||
- `ru_RU`: `@Alex`: TG
|
- `ru_RU`: `@Alex`: TG
|
||||||
- `tr_TR`: `@miraç bahadır öztürk`: miracozturk
|
|
||||||
- `vi_VN`: `@Ngọc Anh Trần`: mr.ngocanhtran
|
- `vi_VN`: `@Ngọc Anh Trần`: mr.ngocanhtran
|
||||||
- `zh_CN`: `@rrorg`
|
- `zh_CN`: `@rrorg`
|
||||||
- `zh_HK`: `@rrorg`
|
- `zh_HK`: `@rrorg`
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -869,9 +869,6 @@ function cmdlineMenu() {
|
|||||||
MSG+="$(TEXT " * \Z4ahci_remap=4>5:5>8:12>16\Zn\n Remap data port sequence.(Not apply to DT models.)\n")"
|
MSG+="$(TEXT " * \Z4ahci_remap=4>5:5>8:12>16\Zn\n Remap data port sequence.(Not apply to DT models.)\n")"
|
||||||
MSG+="$(TEXT " * \Z4i915.enable_guc=2\Zn\n Enable the GuC firmware on Intel graphics hardware.(value: 1,2 or 3)\n")"
|
MSG+="$(TEXT " * \Z4i915.enable_guc=2\Zn\n Enable the GuC firmware on Intel graphics hardware.(value: 1,2 or 3)\n")"
|
||||||
MSG+="$(TEXT " * \Z4i915.max_vfs=7\Zn\n Set the maximum number of virtual functions (VFs) that can be created for Intel graphics hardware.\n")"
|
MSG+="$(TEXT " * \Z4i915.max_vfs=7\Zn\n Set the maximum number of virtual functions (VFs) that can be created for Intel graphics hardware.\n")"
|
||||||
MSG+="$(TEXT " * \Z4i915.modeset=0\Zn\n Disable the kernel mode setting (KMS) feature of the i915 driver.\n")"
|
|
||||||
MSG+="$(TEXT " * \Z4apparmor.mode=complain\Zn\n Set the AppArmor security module to complain mode.\n")"
|
|
||||||
MSG+="$(TEXT " * \Z4apparmor=0\Zn\n Disable the AppArmor security module.\n")"
|
|
||||||
MSG+="$(TEXT " * \Z4consoleblank=300\Zn\n Set the console to auto turnoff display 300 seconds after no activity (measured in seconds).\n")"
|
MSG+="$(TEXT " * \Z4consoleblank=300\Zn\n Set the console to auto turnoff display 300 seconds after no activity (measured in seconds).\n")"
|
||||||
MSG+="$(TEXT "\nEnter the parameter name and value you need to add.\n")"
|
MSG+="$(TEXT "\nEnter the parameter name and value you need to add.\n")"
|
||||||
LINENUM=$(($(echo -e "${MSG}" | wc -l) + 10))
|
LINENUM=$(($(echo -e "${MSG}" | wc -l) + 10))
|
||||||
|
@ -20,6 +20,7 @@ cmdline: &cmdline
|
|||||||
vender_format_version: 2
|
vender_format_version: 2
|
||||||
syno_ttyS0: "serial,0x3f8"
|
syno_ttyS0: "serial,0x3f8"
|
||||||
syno_ttyS1: "serial,0x2f8"
|
syno_ttyS1: "serial,0x2f8"
|
||||||
|
# apparmor.mode: "complain"
|
||||||
patch: &patch
|
patch: &patch
|
||||||
- "ramdisk-etc-rc-*.patch"
|
- "ramdisk-etc-rc-*.patch"
|
||||||
- "ramdisk-init-script-v5-*.patch"
|
- "ramdisk-init-script-v5-*.patch"
|
||||||
|
20
guide.md
20
guide.md
@ -25,9 +25,6 @@
|
|||||||
* RAID计算:
|
* RAID计算:
|
||||||
* https://www.synology.cn/zh-cn/support/RAID_calculator
|
* https://www.synology.cn/zh-cn/support/RAID_calculator
|
||||||
* https://www.synology.com/en-us/support/RAID_calculator
|
* https://www.synology.com/en-us/support/RAID_calculator
|
||||||
* 恢复数据:
|
|
||||||
* https://kb.synology.cn/zh-cn/DSM/tutorial/How_can_I_recover_data_from_my_DiskStation_using_a_PC
|
|
||||||
* https://kb.synology.com/en-us/DSM/tutorial/How_can_I_recover_data_from_my_DiskStation_using_a_PC
|
|
||||||
* SDK:
|
* SDK:
|
||||||
* https://dataupdate7.synology.com/toolchain/v1/get_download_list?identify=toolkit&version=7.2&platform=base
|
* https://dataupdate7.synology.com/toolchain/v1/get_download_list?identify=toolkit&version=7.2&platform=base
|
||||||
* https://dataupdate7.synology.com/toolchain/v1/get_download_list?identify=toolkit&version=7.2&platform=purley
|
* https://dataupdate7.synology.com/toolchain/v1/get_download_list?identify=toolkit&version=7.2&platform=purley
|
||||||
@ -177,23 +174,6 @@
|
|||||||
# 判断是否支持热插拔 (返回 min_power, medium_power 则可能支持热插拔; 返回 max_performance 则可能不支持热插拔.)
|
# 判断是否支持热插拔 (返回 min_power, medium_power 则可能支持热插拔; 返回 max_performance 则可能不支持热插拔.)
|
||||||
cat /sys/class/scsi_host/host*/link_power_management_policy
|
cat /sys/class/scsi_host/host*/link_power_management_policy
|
||||||
|
|
||||||
# Raid 相关
|
|
||||||
lsblk -f # 查看 磁盘 信息
|
|
||||||
cat /proc/mdstat # 查看 Raid 状态
|
|
||||||
mdadm --detail --scan # 查看 Raid 信息 (-D, --detail; -s, --scan)
|
|
||||||
mdadm --assemble --scan # 扫描所有的磁盘,尝试组装所有可以找到的 RAID 设备 (-A, --assemble; -s, --scan)
|
|
||||||
mdadm -AsfR # 扫描所有的磁盘,尝试组装所有可以找到的 RAID 设备并强制启动 (-f, --force; -R, --run)
|
|
||||||
vgchange -ay # 激活所有的逻辑卷组
|
|
||||||
|
|
||||||
mdadm -D /dev/md0 # 查看 Raid 0 的详细信息 (-D, --detail)
|
|
||||||
mdadm -C /dev/md0 -e 1.2 -amd -R -l1 -f -n2 /dev/sda1 /dev/sdb1 # 创建 Raid 0 (-C, --create; -R, --run; -l, --level; -n, --raid-devices)
|
|
||||||
mdadm -S /dev/md0 # 停止 Raid 0 (-S, --stop)
|
|
||||||
mdadm --add /dev/md0 /dev/sda1 # 添加一个磁盘到 Raid 0 中
|
|
||||||
mdadm --remove /dev/md0 /dev/sda1 # 移除 Raid 0 中的一个磁盘
|
|
||||||
mdadm --monitor /dev/md0 # 监控 Raid 0 状态
|
|
||||||
mdadm --grow /dev/md0 --level=5 # 将 Raid 0 设备的级别改变为 RAID 5
|
|
||||||
mdadm --zero-superblock /dev/sda1 # 清除 sda1 磁盘分区的 RAID 超级块 (使这个磁盘分区不再被识别为 RAID 设备的一部分)
|
|
||||||
|
|
||||||
# 服务相关
|
# 服务相关
|
||||||
journalctl -xe # 查看服务日志
|
journalctl -xe # 查看服务日志
|
||||||
systemctl # 查看服务
|
systemctl # 查看服务
|
||||||
|
Loading…
x
Reference in New Issue
Block a user