USBメモリ管理ユティリティusbfadmを起動し、newdriveコマンドを実行する。
# /boottmp/usbfadm
Welcome to usbfadm.
USB flash drive maintenance tool for FuguIta
Boot mode: manual
Type ? for help.
? : ? --> newdrive
初期化を行うUSBメモリを装着していることを確認して、ENTERを押下。
Please make sure the device inserted.
Then press ENTER -->
初期化を行うUSBメモリのデバイス名を入力する。
==== FYI: sd[0-9] on syslog ================================
1 sd0 at scsibus1 targ 1 lun 0: <TOSHIBA, TransMemory, PMAP>
2 sd0: 961MB, 512 bytes/sec, 1968128 sec total
3 sd1 at scsibus2 targ 1 lun 0: <Generic, USB CF Reader, 0.00>
4 sd1: drive offline
5 sd2 at scsibus2 targ 1 lun 1: <Generic, USB SD Reader, 0.00>
6 sd2: drive offline
7 sd3 at scsibus2 targ 1 lun 2: <Generic, Mini SD Reader, 0.00>
8 sd3: drive offline
9 sd4 at scsibus2 targ 1 lun 3: <Generic, USB MS Reader, 0.00>
10 sd4: drive offline
11 sd5 at scsibus2 targ 1 lun 4: <Generic, USB SM Reader, 0.00>
12 sd5: 62MB, 512 bytes/sec, 128000 sec total
============================================================
Enter name of device which FuguIta will be installed --> sd0
USBメモリをデータ保存専用として作成する場合はnを入力*1。
Do you make this USB flash drive bootable? [y/n] -> n
ユーザのデータを保存する領域のサイズを指定する。「*」を入力すると、全ての空き領域をユーザデータ保存用の領域にする。
Enter size for saving User Data in MB (311MB free).
'*' implies all --> *
領域のサイズを「全て」より少なく指定した場合は、ユーザデータ保存用で使われない領域をWindows用のFATとして割り当てる。
例えば、次のように;
Enter size for saving User Data in MB (311MB free).
'*' implies all --> 250
などとした場合は、ユーザ保存用パーティション(sd0d)として250MBが、FAT用(sd0i)に、61MBが割り当てられる。
最後に、本当に指定したデバイスに書き込みを行ってよいか確認が行われ、yを入力すると処理を実行する。
***THIS IS THE LAST CHANCE***
If you type 'Y' now, all the data on sd0 will be lost.
Are you sure to initialize sd0? [y/N] -> y
========================================
= Clearing MBR BSD disklabel
=
1+0 records in
1+0 records out
1048576 bytes transferred in 0.099 secs (10562763 bytes/sec)
========================================
= Setting up MBR
=
Writing MBR at offset 0.
〜以下略〜
この後、パーティションの分割とファイルシステムの作成が行われる。