How to access disk in terminal

I am trying to open a disk via terminal. When I type:


cd Volumes

ls -la


Is see:


total 0

drwxr-xr-x+
5 root
wheel
160 Feb
2 13:48 .

drwxr-xr-x
27 root
wheel
864 Jan 24 16:42 ..

drwxrwxr-x
5 root
admin
160 Feb
2 13:48 HDD

drwxrwxr-x
8 abbas
staff
340 Feb
2 13:46 MicroSD

lrwxr-xr-x
1 root
wheel 1 Feb
2 12:36 SSD -> /

When I type cd HDD, I see:

-bash: cd: HDD: No such file or directory

How can I solve this? Thank you.

MacBook Pro, macOS High Sierra (10.13.3)

Posted on Feb 2, 2018 5:20 AM

Reply

Similar questions

18 replies

Feb 2, 2018 7:17 AM in response to aa_82

Seems to be working fine here. I'm booted into High Sierra from an external SSD with 2 APFS containers. 1 for my OS and the other is a clone of my OS. Why did you format your HDD as APFS? I think it can be done but it's not necessarily advised until Apple acknowledges support for APFS on HDDs.

User uploaded file

Macintosh HD below is HFS+

User uploaded file

Feb 2, 2018 5:58 AM in response to macjack

I get this:


/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *256.1 GB
disk0

1: EFI EFI 209.7 MB
disk0s1

2: Apple_APFS Container disk2 255.9 GB
disk0s2


/dev/disk1 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.1 GB
disk1

1: EFI EFI 209.7 MB
disk1s1

2: Apple_APFS Container disk4 499.9 GB
disk1s2


/dev/disk2 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +255.9 GB
disk2

Physical Store disk0s2

1: APFS Volume SSD 30.7 GB disk2s1

2: APFS Volume Preboot 63.2 MB disk2s2

3: APFS Volume Recovery 1.5 GB disk2s3

4: APFS Volume VM 8.6 GB disk2s4


/dev/disk3 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *125.7 GB
disk3

1: Apple_HFS MicroSD 125.6 GB
disk3s1


/dev/disk4 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +499.9 GB
disk4

Physical Store disk1s2

1: APFS Volume HDD 909.3 KB
disk4s1

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to access disk in terminal

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.