From 3916fdd89e3a2b70eeb5cb59a69f6d8aa233ac32 Mon Sep 17 00:00:00 2001
From: Guillaume Chanel <Guillaume.Chanel@unige.ch>
Date: Mon, 23 Sep 2024 09:28:29 +0200
Subject: [PATCH] Correct stats and links

---
 6.files/index.html | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/6.files/index.html b/6.files/index.html
index 73a7d60..a171a86 100644
--- a/6.files/index.html
+++ b/6.files/index.html
@@ -139,10 +139,10 @@ Change: 2019-07-19 16:56:35.540113838 +0200
                         <p style="margin:0">On peut créer un lien dur avec la commande <code>ln</code>:</p>
                     </div>
 <pre style="margin:0"><code data-noescape class="shell" style="width:100%">$ ln /tmp/myfile /tmp/newlink
-$ stat /tmp/myfile
-<span style="opacity:0.5">  File: /tmp/myfile
+$ stat /tmp/newlink
+  File: /tmp/newlink<span style="opacity:0.5">
   Size: 0               Blocks: 0          IO Block: 4096   regular empty file
-Device: 2fh/47d Inode: 422766      Links: </span><span style="opacity:1.">2</span><span style="opacity:0.5">
+Device: 2fh/47d Inode: 422766      </span><span style="opacity:1.">Links: 2</span><span style="opacity:0.5">
 Access: (0644/-rw-r--r--)  Uid: ( 1000/  chanel)   Gid: ( 1000/  chanel)
 Access: 2019-07-19 16:56:35.540113838 +0200
 Modify: 2019-07-19 16:56:35.540113838 +0200
@@ -191,9 +191,9 @@ Change: 2019-07-19 16:56:35.540113838 +0200
                         </li>
                     </ul>
                     <p style="margin:0;margin-bottom:20px;text-align:left">On peut créer un lien dur avec la commande <code>ln</code> en utilisant l'option <code>-s</code>:</p>
-<pre style="margin:0"><code data-noescape class="shell" style="width:100%">$ ln -s /tmp/myfile /tmp/newlink  # (le lien dure précédent à été supprimé)
-$ stat /tmp/myfile  # comme indiqué ci-dessous on a bien à faire à un autre inode
-<span>  File: /tmp/newlink -> /tmp/myfile
+<pre style="margin:0"><code data-noescape class="shell" style="width:100%">$ ln -s /tmp/myfile /tmp/newsoftlink
+$ stat /tmp/newsoftlink  # comme indiqué ci-dessous on a bien à faire à un autre inode
+<span>  File: /tmp/newsoftlink -> /tmp/myfile
     Size: 11              Blocks: 0          IO Block: 4096   symbolic link
   Device: 2fh/47d Inode: 563876      Links: 1
   Access: (0777/lrwxrwxrwx)  Uid: ( 1000/  chanel)   Gid: ( 1000/  chanel)
-- 
GitLab