Jump to content
  • 0

метки usb носителя с пробелами усекаются


r13

Question

@Alex Sh.

Если метка usb носителя содержит пробел то в приложении показывается последний кусок метки:

20201124_103204.thumb.jpg.f6490e217d527e7ef663668c92798217.jpg

20201124_103142.thumb.jpg.9a356c0414819040dcb6878cb9598fcd.jpg

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
1 час назад, Marat Toukhvatullin сказал:

Пришлите пожалуйста результаты













http://192.168.1.1/rci/show/usb
http://192.168.1.1/rci/show/media
Скрытый текст













{
    "usb": {
        "device": {
            "Media1": {
                "DEVICE": "/devices/platform/xhci-mtk/usb1/1-1/1-1.1/1-1.1:1.0",
                "DEVPATH": "/devices/platform/xhci-mtk/usb1/1-1/1-1.1/1-1.1:1.0/host1/target1:0:0/1:0:0:0/block/sdb",
                "manufacturer": "silicon",
                "product": "-power",
                "serial": "E69203003883",
                "subsystem": "media",
                "port": "1",
                "power-control": "yes",
                "usb-version": "2.00"
            },
            "Media0": {
                "DEVICE": "/devices/platform/xhci-mtk/usb2/2-1/2-1.3/2-1.3:1.0",
                "DEVPATH": "/devices/platform/xhci-mtk/usb2/2-1/2-1.3/2-1.3:1.0/host0/target0:0:0/0:0:0:0/block/sda",
                "manufacturer": "TOSHIBA",
                "product": "External USB 3.0",
                "serial": "2015033100081",
                "subsystem": "media",
                "port": "1",
                "power-control": "yes",
                "usb-version": "3.00"
            },
            "Keenetic Plus DECT": {
                "DEVICE": "/devices/platform/xhci-mtk/usb1/1-1/1-1.2",
                "DEVPATH": "/devices/platform/xhci-mtk/usb1/1-1/1-1.2",
                "subsystem": "DECT",
                "port": "1",
                "power-control": "yes",
                "usb-version": "2.00"
            }
        }
    },
    "prompt": "(config)"
}
Скрытый текст

{
    "media": {
        "Media1": {
            "usb": {
                "port": 1,
                "version": "2.00"
            },
            "state": "ACTIVE",
            "manufacturer": "silicon",
            "product": "-power",
            "serial": "E69203003883",
            "size": "2003828736",
            "partition": [
                {
                    "uuid": "7f52f9e2-259b-4351-8b32-15d48a5621ad",
                    "label": "entware",
                    "fstype": "ext4",
                    "state": "MOUNTED",
                    "total": "1938702336",
                    "free": "1277026304"
                }
            ]
        },
        "Media0": {
            "usb": {
                "port": 1,
                "version": "3.00"
            },
            "state": "ACTIVE",
            "manufacturer": "TOSHIBA",
            "product": "External USB 3.0",
            "serial": "2015033100081",
            "size": "2000398934016",
            "partition": [
                {
                    "uuid": "68E2F488E2F45BAE",
                    "label": "BIGDATA",
                    "fstype": "ntfs",
                    "state": "MOUNTED",
                    "total": "1991254208512",
                    "free": "275963879424"
                }
            ]
        }
    },
    "prompt": "(config)"
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...