Mac OS X에서 확실히 존재하는 디렉토리를 찾을 수 없는 것 같습니다.

Mac OS X에서 확실히 존재하는 디렉토리를 찾을 수 없는 것 같습니다.

어떤 이유에서인지 Mac OS X에서는 방금 만든 디렉토리를 찾을 수 없습니다. 왜 그런지 아시나요?

sh-3.2# mkdir /Users/Administrator/Documents/drive/
sh-3.2# mount -w -t "hfs+" /dev/disk1s2 /Users/Administrator/Documents/drive/
mount: exec /System/Library/Filesystems/hfs+.fs/Contents/Resources/mount_hfs+ for /Users/Administrator/Documents/drive: No such file or directory

업데이트:

나는 달리려고 노력했다.

bbcs:/ Administrator$ sudo mount_hfs /dev/disk1s2 /Users/Administrator/Documents/drive/
Password:
mount_hfs: Invalid argument

답변1

내 생각엔 당신이 문제인 것 같아mounthfs+다음을 실행할 때 로컬 Mac OS X 10.9.5(Mavericks) 설정에서도 볼 수 없는 파일 시스템 유형 ls -l1 /System/Library/Filesystems/:

AppleShare
NetFSPlugins
acfs.fs
afpfs.fs
cd9660.fs
cddafs.fs
exfat.fs
ftp.fs
hfs.fs
msdos.fs
nfs.fs
ntfs.fs
smbfs.fs
udf.fs
webdav.fs

그래서 내 조언은 다음과 같이 명령을 실행하는 것입니다. 후행( +)과 큰따옴표( ")가 제거되었습니다.

mount -w -t hfs /dev/disk1s2 /Users/Administrator/Documents/drive/

또 다른 아이디어는 다음과 같이 명령을 실행하는 것입니다.sudo원래 명령은 다음과 같습니다.

sudo mount -w -t "hfs+" /dev/disk1s2 /Users/Administrator/Documents/drive/

또는 제가 수정한 예시 조정에 대해서는 다음과 같습니다.

sudo mount -w -t hfs /dev/disk1s2 /Users/Administrator/Documents/drive/

관련 정보