Skip to content

Instantly share code, notes, and snippets.

@jhyland87
Created August 14, 2018 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhyland87/56b5b8e14681bd830db43be6537bec10 to your computer and use it in GitHub Desktop.
Save jhyland87/56b5b8e14681bd830db43be6537bec10 to your computer and use it in GitHub Desktop.
[Tue Aug 14 09:46:02| 0:000]{1:193}jdoe@MacBook-Pro:/Volumes(✓)$ df /Volumes/Secure
Filesystem 512-blocks Used Available Capacity iused ifree %iused Mounted on
/dev/disk4s1 35372096 1566528 33805568 5% 0 0 100% /Volumes/Secure
[Tue Aug 14 09:46:06| 0:000]{1:194}jdoe@MacBook-Pro:/Volumes(✓)$ ls /Volumes/Secure
chemdocs credentials data.tar.gz.enc scripts test test-data test-data.tar.gz.enc tor
[Tue Aug 14 09:46:09| 0:000]{1:195}jdoe@MacBook-Pro:/Volumes(✓)$ cd /Volumes/Secure
[Tue Aug 14 09:46:11| 0:000]{1:196}jdoe@MacBook-Pro:/Volumes/Secure(✓)$ ls
.
[Tue Aug 14 09:52:28| 0:000]{1:27}jdoe@MacBook-Pro:/Volumes/Secure(✓)$ ls .
.
[Tue Aug 14 09:52:30| 0:000]{1:28}jdoe@MacBook-Pro:/Volumes/Secure(✓)$ ls -alrth .
total 30240
drwxrwxrwx 1 jdoe staff 16K Jun 18 18:20 .Spotlight-V100
drwxrwxrwx 1 jdoe staff 16K Jun 29 11:37 credentials
drwxrwxrwx 1 jdoe staff 16K Jun 29 13:34 scripts
-rwxrwxrwx 1 jdoe staff 13K Jun 29 15:50 data.tar.gz.enc
drwxrwxrwx 1 jdoe staff 16K Jul 3 12:10 test-data
drwxrwxrwx 1 jdoe staff 16K Jul 3 12:10 .info
-rwxrwxrwx 1 jdoe staff 15M Jul 3 12:26 test-data.tar.gz.enc
-rwxrwxrwx 1 jdoe staff 0B Jul 26 12:59 test
drwxrwxrwx 1 jdoe staff 16K Aug 11 03:41 .Trashes
drwxrwxrwx 1 jdoe staff 16K Aug 11 03:41 tor
drwxrwxrwx 1 jdoe staff 16K Aug 11 03:41 .TemporaryItems
drwxrwxrwx@ 1 jdoe staff 16K Aug 13 19:22 .
drwxrwxrwx 1 jdoe staff 48K Aug 14 09:38 chemdocs
drwxrwxrwx 1 jdoe staff 16K Aug 14 09:43 .fseventsd
drwxrwxrwt@ 7 root admin 238B Aug 14 09:43 ..
[Tue Aug 14 09:52:32| 0:000]{1:29}jdoe@MacBook-Pro:/Volumes/Secure(✓)$ ls -alrth ./
ls: ./: Invalid argument
[Tue Aug 14 09:52:34| 0:000]{1:30}jdoe@MacBook-Pro:/Volumes/Secure(0)$ ls -alrth .
ls: .: Invalid argument
[Tue Aug 14 09:52:36| 0:000]{1:31}jdoe@MacBook-Pro:/Volumes/Secure(0)$ ls -alrth .
ls: .: Invalid argument
[Tue Aug 14 09:52:37| 0:000]{1:32}jdoe@MacBook-Pro:/Volumes/Secure(0)$ ls
.
[Tue Aug 14 10:02:18| 0:000]{1:67}jdoe@MacBook-Pro:/Volumes/Secure(✓)$ cd /Volumes/
[Tue Aug 14 10:02:29| 0:000]{1:68}jdoe@MacBook-Pro:/Volumes(✓)$ gstat /Volumes/Secure/
File: /Volumes/Secure/
Size: 16384 Blocks: 32 IO Block: 131072 directory
Device: 100000ah/16777226d Inode: 2 Links: 1
Access: (0777/drwxrwxrwx) Uid: ( 504/ jdoe) Gid: ( 20/ staff)
Access: 1969-12-31 17:00:00.000000000 -0700
Modify: 2018-08-13 19:22:28.000000000 -0700
Change: 2018-08-13 19:22:28.000000000 -0700
Birth: -
[Tue Aug 14 10:03:35| 0:000]{1:228}jdoe@MacBook-Pro:/Volumes(✓)$ df -ih /Volumes/Secure
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk4s1 17Gi 765Mi 16Gi 5% 0 0 100% /Volumes/Secure
[Tue Aug 14 10:04:16| 0:000]{1:72}jdoe@MacBook-Pro:/Volumes(✓)$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *750.2 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage US Pride 749.3 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS US Pride +748.9 GB disk1
Logical Volume on disk0s2
43BAE9F4-DEEE-4F22-BA3D-B8165752551C
Unlocked Encrypted
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *13.6 GB disk2
1: Windows_FAT_32 Public 13.6 GB disk2s1
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: CD_partition_scheme *2.7 GB disk3
1: CD_ROM_Mode_1 DM 2.4 GB disk3s0
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *18.1 GB disk4
1: Windows_FAT_32 Secure 18.1 GB disk4s1
[Tue Aug 14 10:04:19| 1:000]{1:73}jdoe@MacBook-Pro:/Volumes(✓)$ diskutil info /dev/disk4
Device Identifier: disk4
Device Node: /dev/disk4
Whole: Yes
Part of Whole: disk4
Device / Media Name: USB Flash Disk
Volume Name: Not applicable (no file system)
Mounted: Not applicable (no file system)
File System: None
Content (IOContent): FDisk_partition_scheme
OS Can Be Installed: No
Media Type: Generic
Protocol: USB
SMART Status: Not Supported
Total Size: 18.1 GB (18119393280 Bytes) (exactly 35389440 512-Byte-Units)
Volume Free Space: Not applicable (no file system)
Device Block Size: 512 Bytes
Read-Only Media: No
Read-Only Volume: Not applicable (no file system)
Device Location: External
Removable Media: Yes
Media Removal: Software-Activated
Virtual: No
OS 9 Drivers: No
Low Level Format: Not supported
[Tue Aug 14 10:04:51| 0:000]{1:74}jdoe@MacBook-Pro:/Volumes(✓)$
# UNMOUNTED IT AND REMOUNTED IT
[Tue Aug 14 10:05:51| 0:000]{1:90}jdoe@MacBook-Pro:/Volumes/Secure(✓)$ cd /Volumes/Secure/
[Tue Aug 14 10:05:54| 0:000]{1:91}jdoe@MacBook-Pro:/Volumes/Secure(✓)$ ls
.
[Tue Aug 14 10:05:54| 0:000]{1:92}jdoe@MacBook-Pro:/Volumes/Secure(✓)$ ll
ls: .: Invalid argument
[Tue Aug 14 10:05:55| 0:000]{1:93}jdoe@MacBook-Pro:/Volumes/Secure(0)$ ls -Alrth
total 30208
drwxrwxrwx 1 jdoe staff 16K Jun 18 18:20 .Spotlight-V100
drwxrwxrwx 1 jdoe staff 16K Jun 29 11:37 credentials
drwxrwxrwx 1 jdoe staff 16K Jun 29 13:34 scripts
-rwxrwxrwx 1 jdoe staff 13K Jun 29 15:50 data.tar.gz.enc
drwxrwxrwx 1 jdoe staff 16K Jul 3 12:10 test-data
drwxrwxrwx 1 jdoe staff 16K Jul 3 12:10 .info
-rwxrwxrwx 1 jdoe staff 15M Jul 3 12:26 test-data.tar.gz.enc
-rwxrwxrwx 1 jdoe staff 0B Jul 26 12:59 test
drwxrwxrwx 1 jdoe staff 16K Aug 11 03:41 .Trashes
drwxrwxrwx 1 jdoe staff 16K Aug 11 03:41 tor
drwxrwxrwx 1 jdoe staff 16K Aug 11 03:41 .TemporaryItems
drwxrwxrwx 1 jdoe staff 48K Aug 14 09:38 chemdocs
drwxrwxrwx 1 jdoe staff 16K Aug 14 10:05 .fseventsd
[Tue Aug 14 10:05:57| 0:000]{1:94}jdoe@MacBook-Pro:/Volumes/Secure(✓)$ ls -Alrth
ls: .: Invalid argument
[Tue Aug 14 10:06:00| 0:000]{1:95}jdoe@MacBook-Pro:/Volumes/Secure(0)$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment