cfdiskのパーティションの前のバックティック(`)の意味

cfdiskのパーティションの前のバックティック(`)の意味

私のディスクに間違ったパーティションがある可能性があります(du -sh *特定のディレクトリに提供されていますStructure needs cleaning)。私はcfdisk /dev/sdaパーティションを見始めて、私が見たのは次のようになりました。

Disk: /dev/sda
Size: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Label: dos, identifier: 0x00000000

    Device Boot Start                        End Sectors                   Size                 Id Type
>>  Free space 2048                       8191 6144 3M
    /dev/sda1 * 8192                      90111 81920                    40M                  e W95 FAT16 (LBA)
    /dev/sda2 90112                     729087 638976                   312M                 83 Linux
    /dev/sda3 729088                    1368063 638976                   312M                 83 Linux
    /dev/sda4 1368064                  488397167 487029104                 232.2G                  f W95 Ext'd (LBA)
    |-Free space 1370112                    1376256 6145 3M
    |-/dev/sda5 1376256                    1417215 40960                    20M                 83 Linux
    |-Free space 1419264                    1425408 6145 3M
    `-/dev/sda6 1425408                  488397167 486971760                 232.2G                 83 Linux

前の `は何を/dev/sda6意味しますか?

ベストアンサー1

/dev/sda4これは、それとその下の行との関係を説明しようとする文字ベースのツリー表現の一部です。treeデフォルトのASCII文字セットのみが使用されますが、このコマンドで取得できるディレクトリツリー表現に似ています。

一般的なASCIIフォントと固定幅フォントのみを使用して、ツリー構造を記述する必要があるすべての状況でこのような内容を表示できます。

This is the main unit
|- this is a sub-unit inside the main unit
|- this is another sub-unit inside the main unit
`- this is the last sub-unit inside the main unit

このテキストベースのツリー表現にはさまざまなバリエーションがあります。バックティックの代わりにバックスラッシュが使用されていることがわかります。

This is the main unit
|--- this is a sub-unit
|    \--- this is a sub-sub-unit for the first sub-unit  
|-+- this is a sub-unit that might have sub-sub-units inside it (hidden for now)
\--- this is the last sub-unit inside the main unit

これはサブユニットの枝を持ち、最後のサブユニットから90度の角度でベースユニットから下に延びる線のように見えるはずです。それに加えて、特定の文字は特定のものを意味しません。これは、木の図に適した形状に選択された部分にすぎません。

おすすめ記事