Posted in
426
4:50 am, February 20, 2021
linux list all drives and partitions
the following command will list all drives and partitions in your shell
BASH
sudo lsblk -o UUID,NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,MODEL
It should look something like this depending on your drive setup
You can aso run blkid to list all partitions, not in a tree view
BASH
sudo blkid
I added a larger external drive, but the red light on the pi was blinking so, i guess it does not have enough power to handle that drive and the others
Apparently if the light blinks on the 2b it means it is not getting enough power.
Further Reading on Mounting Drives.
https://www.raspberrypi.org/documentation/configuration/external-storage.md
linux list all drives and partitions Demo
View Demo Full Screen View Demo New Tab
linux list all drives and partitions Code
Add Comment
Other Items in linux
simple backup to google drive fron linux
backup script to google drive that can be used for multiple directories
start ssh and add key git
play youtube videos on firefox in ubuntu 18
Creating a chart about charts.css with charts.css from the command line
linux mount a drive manually
installing exfat and ntfs drivers to enable reading of these filesystems
linux list all drives and partitions
how to check the temperature of the pi using command line
how to check linux kernel version on rasberry pi rasberian
how to find what version pi you are using
change file permissions to -rw-rw-r--
install atom editor on ubuntu
Enabling SSH on Ubuntu
certbot add a certificate for one domain
renew all SSL certificates with certbot
To make Ubuntu do nothing when laptop lid is closed
add a user to a group
loop through each directory in a target directory and compress them
loop through each directory in a target directory
tar.gz to compress a directory in linux and then decompress it
Find Disk Space Usage using DU
how to unzip in linux
Related Search Terms
Other Categories in Code
php functions
php functions
php functions