logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: b6123e8ffab9d02f754946b2b43966b6a5c5eacb
parent bb0432d04f4d8a241c1ffe822aebe1f3074f06f0
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