logo

blog

My little blog can’t be this cute! git clone https://hacktivis.me/git/blog.git
commit: 641267761a53152907132cec7a99c85f7287ca7b
parent 690b897c4b34a8890c944071a0bc3579c99ac498
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 20 Feb 2019 09:23:46 +0100

articles/Disk identification: Fix <ul> not allowed in <code>

Diffstat:

Marticles/Disk identification.html17++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/articles/Disk identification.html b/articles/Disk identification.html @@ -43,18 +43,17 @@ $ blkid <li><code>DISK SLOT</code>: useful when you plug (some of) your disk(s) by their slot (IDE: Primary/Secondary Master/Slave; SATA: 1,2,3…; USB: bus/network_iface equivalent?)</li> </ul> <p>Here is an example of a file hierarchy of my idea, based on that:</p> -<code> <ul> - <li>/dev/…/${BUS ID}/<ul> - <li>by-label/${DISK LABEL} → ${DISK ID}</li> - <li>by-slot/${DISK SLOT} → ${DISK ID}</li> - <li>${DISK ID}<ul> - <li>by-label/${PARTITION LABEL} → ${PARTITION ID}</li> - <li>${PARTITION ID}</li> - <li>raw</li> + <li><code>/dev/…/${BUS ID}/</code><ul> + <li><code>by-label/${DISK LABEL} → ${DISK ID}</code></li> + <li><code>by-slot/${DISK SLOT} → ${DISK ID}</code></li> + <li><code>${DISK ID}</code><ul> + <li><code>by-label/${PARTITION LABEL} → ${PARTITION ID}</code></li> + <li><code>${PARTITION ID}</code></li> + <li><code>raw</code></li> </ul></li> </ul></li> -</ul></code> +</ul> <h3>Know things</h3> <ul> <li>labels being a free-form string it can be the same as another ID, a <code>by-label</code> directory have to be made