mount external drive

5 Visningar· 10/14/23
DanyChrys Barosoft
DanyChrys Barosoft
Prenumeranter
0
I

⁣1. Locate the name of your drive
lsblk

2. Create a mount point
mkdir /usb
chown -R www-data:www-data usb
chmod -R 777 usb

3. Create an entry in /etc/fstab
nano /etc/fstab
At the bottom of that file, add an entry like this:
/dev/sdd1 /usb ext4 defaults 0 0

4. Testing the mount
mount -a

Visa mer

 0 Kommentarer sort   Sortera efter