Sunday, April 8, 2012

Different disks on Debian Linux

It was easier to identify different disks or partitions using UUIDs.

The command was:

blkid /dev/sda2

I saw:
/dev/sda2: LABEL="SampleLabelSuchAsShareDrive" UUID="GDJGFVKNXGFJ2849" TYPE="ntfs"



I used UUIDs to edit the disk information:
gedit /etc/fstab

UUID=GDJGFVKNXGFJ2849 /mnt/partitionA           ntfs    defaults              0       0

When I restarted the computer, I could use the files in /mnt/partitionA.
 

No comments: