【Mac】セブンイレブンのマルチコピー機と micro SDカード

こいつに PDF 入れて印刷しようとしたらできないのだが。

ファイルが認識されない。

「このサービスでプリントできるファイルがありません。」

 

🤔 diskutil でSDカードのフォーマットを変更する

以前、少しやってみたけど、再フォーマット変更。

👉 【macOS】ディスクユーティリティ で フォーマットが終わらない → SDカードが死んだ?


eraseDisk  [-noEFI] format name [APM[Format] | MBR[Format] | GPT[Format]] device

                Erase an existing disk, removing all volumes and writing out a
                new partitioning scheme containing one new empty file system
                volume.  If the partitioning scheme is not specified, then an
                appropriate one for the current machine is chosen.  Format is
                discussed below in the section for the partitionDisk verb.
                Ownership of the affected disk is required.
                If -noEFI is specified, do not create EFI partition on the
                target disk.

GUIDパーティションテーブル (英: GUID Partition Table, GPT) は、ハードディスクドライブ上のパーティションテーブルの配置に関する標準規格である。

これはインテルの提案しているEFI標準の一部であり、旧来のBIOSで使用されているマスターブートレコード (MBR) の置き換えを意図している。

macOS 10.4.0以降(一部機能は10.4.6以降)。Windows IA-64アーキテクチャのOSでは当初から、EFIとGPTからの起動をサポートしている。

👉 GUIDパーティションテーブル - Wikipedia

exFAT(イーエックスファット、Extended File Allocation Table)は、マイクロソフトによって2006年に導入されたプロプライエタリなファイルシステムである。USBフラッシュドライブやSDカードなどのフラッシュドライブ向けに最適化がされている。

32 GiBを超えるメモリーカード規格であるSDXC/SDUCメモリーカードやメモリースティックXCの標準ファイルシステムに採用されている。

Macにおいては、2010年にAppleにより、SDXCカードスロットの付いたMac miniとiMacがリリースされ付属する専用Mac OS X v10.6.4が対応した後、Mac OS X v10.6.5以降で対応している。

👉 exFAT - Wikipedia

ということなので、以下で再フォーマットしたらいけた!


❯ diskutil eraseDisk ExFAT SDCARD-32GB GPT /dev/disk18

そのときの詳細は以下。


❯ diskutil list /dev/disk18
/dev/disk18 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *32.0 GB    disk18
   1:                        EFI EFI                     209.7 MB   disk18s1
   2:       Microsoft Basic Data SDCARD-32GB             31.8 GB    disk18s2

❯ sudo fdisk /dev/disk18
Disk: /dev/disk18	geometry: 3893/255/63 [62552064 sectors]
Signature: 0xAA55
         Starting       Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 1: EE 1023 254  63 - 1023 254  63 [         1 -   62552063] <Unknown ID>
 2: 00    0   0   0 -    0   0   0 [         0 -          0] unused
 3: 00    0   0   0 -    0   0   0 [         0 -          0] unused
 4: 00    0   0   0 -    0   0   0 [         0 -          0] unused

❯ diskutil info /dev/disk18
   Device Identifier:         disk18
   Device Node:               /dev/disk18
   Whole:                     Yes
   Part of Whole:             disk18
   Device / Media Name:       Built In SDXC Reader

   Volume Name:               Not applicable (no file system)
   Mounted:                   Not applicable (no file system)
   File System:               None

   Content (IOContent):       GUID_partition_scheme
   OS Can Be Installed:       No
   Media Type:                Generic
   Protocol:                  Secure Digital
   SMART Status:              Not Supported

   Disk Size:                 32.0 GB (32026656768 Bytes) (exactly 62552064 512-Byte-Units)
   Device Block Size:         512 Bytes

   Media OS Use Only:         No
   Media Read-Only:           No
   Volume Read-Only:          Not applicable (no file system)

   Device Location:           Internal
   Removable Media:           Removable
   Media Removal:             Software-Activated

   Solid State:               Info not available
   Virtual:                   No


❯ diskutil info /dev/disk18s1
   Device Identifier:         disk18s1
   Device Node:               /dev/disk18s1
   Whole:                     No
   Part of Whole:             disk18

   Volume Name:               EFI
   Mounted:                   No

   Partition Type:            EFI
   File System Personality:   MS-DOS FAT32
   Type (Bundle):             msdos
   Name (User Visible):       MS-DOS (FAT32)

   OS Can Be Installed:       No
   Media Type:                Generic
   Protocol:                  Secure Digital
   SMART Status:              Not Supported
   Volume UUID:               0E239BC6-F960-3107-89CF-1C97F78BB46B
   Disk / Partition UUID:     B2A0E0B8-480A-49E7-9B99-5522EA52AC0C
   Partition Offset:          20480 Bytes (40 512-Byte-Device-Blocks)

   Disk Size:                 209.7 MB (209715200 Bytes) (exactly 409600 512-Byte-Units)
   Device Block Size:         512 Bytes

   Volume Total Space:        0 B (0 Bytes) (exactly 0 512-Byte-Units)
   Volume Free Space:         0 B (0 Bytes) (exactly 0 512-Byte-Units)

   Media OS Use Only:         No
   Media Read-Only:           No
   Volume Read-Only:          Not applicable (not mounted)

   Device Location:           Internal
   Removable Media:           Removable
   Media Removal:             Software-Activated

   Solid State:               Info not available


❯ diskutil info /dev/disk18s2
   Device Identifier:         disk18s2
   Device Node:               /dev/disk18s2
   Whole:                     No
   Part of Whole:             disk18

   Volume Name:               SDCARD-32GB
   Mounted:                   Yes
   Mount Point:               /Volumes/SDCARD-32GB

   Partition Type:            Microsoft Basic Data
   File System Personality:   ExFAT
   Type (Bundle):             exfat
   Name (User Visible):       ExFAT

   OS Can Be Installed:       No
   Media Type:                Generic
   Protocol:                  Secure Digital
   SMART Status:              Not Supported
   Volume UUID:               97714F2C-DA45-3BEF-8039-C11F9BD9EA1C
   Disk / Partition UUID:     411FC09E-E1B0-4683-A424-FEB1464C7C86
   Partition Offset:          210763776 Bytes (411648 512-Byte-Device-Blocks)

   Disk Size:                 31.8 GB (31814844416 Bytes) (exactly 62138368 512-Byte-Units)
   Device Block Size:         512 Bytes

   Volume Total Space:        31.8 GB (31809634304 Bytes) (exactly 62128192 512-Byte-Units)
   Volume Used Space:         12.4 MB (12386304 Bytes) (exactly 24192 512-Byte-Units) (0.0%)
   Volume Free Space:         31.8 GB (31797248000 Bytes) (exactly 62104000 512-Byte-Units) (100.0%)
   Allocation Block Size:     512 Bytes

   Media OS Use Only:         No
   Media Read-Only:           No
   Volume Read-Only:          No

   Device Location:           Internal
   Removable Media:           Removable
   Media Removal:             Software-Activated

   Solid State:               Info not available

結構、昔に購入したものだけど、まだ使えてよかった。

👉 【macOS】ディスクユーティリティ で フォーマットが終わらない → SDカードが死んだ?
👉 partition - `diskutil list` shows type Windows_NTFS, but `Disk Utility.app` shows type ExFAT. So What is the type? - Ask Different


関連ワード:  applemacmacOSおすすめツール便利な設定初心者