mount external drive

5 Lượt xem· 10/14/23
DanyChrys Barosoft
DanyChrys Barosoft
Người đăng ký
0
Trong

⁣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

Cho xem nhiều hơn

 0 Bình luận sort   Sắp xếp theo