Update external_storage.md

C'est une commande bash plus courte que celle proposée initialement.
This commit is contained in:
Philippe Idlas 2023-11-05 09:27:59 +01:00 committed by GitHub
parent 29136e143b
commit 478d15f8c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -214,9 +214,7 @@ If your tests are successful, you should keep the mount points, otherwise you sh
To begin with, let's find the UUID (universal identifier) of our disk with : To begin with, let's find the UUID (universal identifier) of our disk with :
```bash ```bash
blkid | grep "/dev/YOUR_DISK1:" lsblk -f
# Returns something like :
# /dev/sda1:UUID="cea0b7ae-2fbc-4f01-8884-3cb5884c8bb7" TYPE="ext4" PARTUUID="34e4b02c-02"
``` ```
Let's add a line to the `/etc/fstab` file that handles the mounting of disks at boot time. So we open the file with `nano` : Let's add a line to the `/etc/fstab` file that handles the mounting of disks at boot time. So we open the file with `nano` :