Skip to content

Instantly share code, notes, and snippets.

@lstoll
Created April 14, 2011 06:02
Show Gist options
  • Save lstoll/918971 to your computer and use it in GitHub Desktop.
Save lstoll/918971 to your computer and use it in GitHub Desktop.
lstoll@linc ~ <master⚡> $ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *160.0 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS lincssd 159.7 GB disk0s2
3: Apple_Boot Boot OSX 134.2 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *640.1 GB disk1
1: EFI 209.7 MB disk1s1
2: Apple_HFS Data 639.8 GB disk1s2
3: Apple_Boot Boot OSX 134.2 MB disk1s3
lstoll@linc ~ <master⚡> $ diskutil list /dev/disk1
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *640.1 GB disk1
1: EFI 209.7 MB disk1s1
2: Apple_HFS Data 639.8 GB disk1s2
3: Apple_Boot Boot OSX 134.2 MB disk1s3
lstoll@linc ~ <master⚡> $ diskutil info /dev/disk1s2
Device Identifier: disk1s2
Device Node: /dev/disk1s2
Part Of Whole: disk1
Device / Media Name: Data
Volume Name: Data
Escaped with Unicode: Data
Mounted: Yes
Mount Point: /Data
Escaped with Unicode: /Data
File System: Journaled HFS+
Type: hfs
Name: Mac OS Extended (Journaled)
Journal: Journal size 49152 KB at offset 0x12a1000
Owners: Enabled
Partition Type: Apple_HFS
Bootable: Is bootable
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Volume UUID: 275C0A2F-1E7A-3E91-A533-B36B369682D5
Total Size: 639.8 GB (639791054848 Bytes) (exactly 1249591904 512-Byte-Blocks)
Volume Free Space: 20.5 GB (20459327488 Bytes) (exactly 39959624 512-Byte-Blocks)
Read-Only Media: No
Read-Only Volume: No
Ejectable: No
Whole: No
Internal: Yes
lstoll@linc ~ <master⚡> $ cat /etc/fstab
# OptiBay drive
UUID=275C0A2F-1E7A-3E91-A533-B36B369682D5 /Data hfs rw 1 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment