1. 服务器/VPS/主机用户Telegram电报群: https://t.me/openos
    黑群晖 Synology Telegram电报群: https://t.me/nasfan
    排除公告

TS453Dmini引导分享DS920+ v7.0.1和v7.1.0,完美识别硬盘,顺序正常。

本帖由 SoraLike2022-05-01 发布。版面名称:群晖 Synology DSM

  1. SoraLike

    SoraLike Member

    注册:
    2018-04-05
    帖子:
    46
    贴了
     
  2. myd2898129

    myd2898129 Member

    注册:
    2022-04-18
    帖子:
    50
    好的,感谢
     
  3. fwhub

    fwhub New Member

    注册:
    2021-08-20
    帖子:
    25
    vi 搜索 for disk


    代码:
        for disk in $localdisks; do                                                       
            diskpath=$(udevadm info --query path --name $disk | awk -F "\/" '{print $4 ":" $5 }' | awk -F ":" '{print $2 ":" $3 "," $6}' | sed 's/,*$/
            diskport=$(udevadm info --query path --name $disk | sed -n '/target/{s/.*target//;p;}' | awk -F: '{print $1}')                           
                                                                                                                                                      
            echo "Found local disk $disk with path $diskpath, adding into internal_slot $diskslot with portnumber $diskport"                         
            if [ "${dtbfile}" == "ds920p" ]; then                                                                                                     
                sed -i "/internal_slot\@${diskslot} {/!b;n;n;n;n;n;n;n;cpcie_root = \"$diskpath\";" ${dtbfile}.dts                                   
                sed -i "/internal_slot\@${diskslot} {/!b;n;n;n;n;n;n;n;n;cata_port = <0x$diskport>;" ${dtbfile}.dts                                   
                let diskslot=$diskslot+1                                                                                   
            else                                                                                                           
                sed -i "/internal_slot\@${diskslot} {/!b;n;n;n;n;n;cpcie_root = \"$diskpath\";" ${dtbfile}.dts             
                sed -i "/internal_slot\@${diskslot} {/!b;n;n;n;n;n;n;cata_port = <0x$diskport>;" ${dtbfile}.dts   
                let diskslot=$diskslot+1                                                                           
            fi                                                                                                     
                                                                                                              
        done 

    删除这段
     
  4. zy0906

    zy0906 New Member

    注册:
    2021-12-23
    帖子:
    27
    666,正在备份,打算自己编译一下看看,顺便问一下没有SN MAC,不半白的话解码和缩略图,人脸是不是不行啊?
     
  5. fwhub

    fwhub New Member

    注册:
    2021-08-20
    帖子:
    25
    解码的话三方jelyfin和emby这些 应该没问题 jellyfin我测试qsv转码可 人脸应该可以打补丁缩略图这些网上都有教程 就是不知道行不行
     
  6. myd2898129

    myd2898129 Member

    注册:
    2022-04-18
    帖子:
    50
    这一行还需要删除吗
    echo "Collecting disk paths"
     
  7. fwhub

    fwhub New Member

    注册:
    2021-08-20
    帖子:
    25
    楼主贴了就删
     
  8. fwhub

    fwhub New Member

    注册:
    2021-08-20
    帖子:
    25
    这个网口是反的 能改么
     
  9. SoraLike

    SoraLike Member

    注册:
    2018-04-05
    帖子:
    46
    不知道怎么改。哈哈
     
  10. besauly

    besauly Member

    注册:
    2020-02-08
    帖子:
    163
    后悔当年没入手453d了