I am using Terminal and have looked through directories.
I just can't find where my USB drive its directory is.
Which directory is my USB drive mounted in?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
Some techniques to try:
ls -a /Volumes
ls -l /Volumes
ls -la /Volumes
...may prove useful.
seems to give all the partitions that might be useful with Disk Utility, during formatting, etc.
you can probably reach your USB drive directly using:
This applies to other types of drives as well: optical, internal and external hard drives. All mounted volumes.
diskutil list; df -Hl; echo; mount
/dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.3 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_HFS Macintosh HD 499.4 GB disk0s2 3: Apple_Boot Recovery HD 650.0 MB disk0s3
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/disk0s2 499G 490G 8.9G 99% 2582670 4292384609 0% /
/dev/disk0s2 on / (hfs, local, journaled) devfs on /dev (devfs, local, nobrowse) map -hosts on /net (autofs, nosuid, automounted, nobrowse) map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk0 /dev/disk0s1 /dev/disk0s2 /dev/disk0s3
ls -alh /dev/disk*
brw-r----- 1 root operator 1, 0 29 Oct 11:24 /dev/disk0 brw-r----- 1 root operator 1, 1 29 Oct 11:24 /dev/disk0s1 brw-r----- 1 root operator 1, 3 29 Oct 11:24 /dev/disk0s2 brw-r----- 1 root operator 1, 2 29 Oct 11:24 /dev/disk0s3
You could also try this command in terminal to get more hardware info on your USB devices
This will produce an output like this:
USB 3.0 Bus: Host Controller Driver: AppleUSBXHCISPTLP PCI Device ID: 0x9d2f PCI Revision ID: 0x0021 PCI Vendor ID: 0x8086 USB3.0 Hub: Product ID: 0x0813 [...] USB2.0 Hub: Product ID: 0x2813 [...] STORE N GO: Product ID: 0x0302 [...] Media: STORE N GO: Capacity: 15,53 GB (15.525.216.256 bytes) Removable Media: Yes BSD Name: disk4 Logical Unit: 0 Partition Map Type: MBR (Master Boot Record) S.M.A.R.T. status: Verified USB Interface: 0 Volumes: Install macOS Catalina: Capacity: 15,5 GB (15.499.132.928 bytes) Free: 7,18 GB (7.176.282.112 bytes) Writable: Yes File System: Journaled HFS+ BSD Name: disk4s1 Mount Point: /Volumes/Install macOS Catalina Content: Apple_HFS Volume UUID: 3D469C8E-1F35-341D-95A8-0B16EDE21B29 USB 2.0 BILLBOARD : Product ID: 0x0100 [...]
Where you can appreciate the mounting point of your USB device:
Mount Point: /Volumes/Install macOS Catalina (in my case it's a Catalina OS install pendrive)