Feb 3, 2010

Harddisk commands

Listing SDA
*************************
ls /dev|grep '[s|h]d[a-z]'

Getting mapping
*************************
mount|grep ^'/dev'

1. See current mount point and space.
df -H
2. See all attached HD and its file system.
sudo fdisk -l

3.How to find uuid of your hardisk
ls -l /dev/disk/by-uuid

No comments:

Post a Comment

Followers