|
GadgetSeed
0.9.6
|
外部記憶装置管理 [詳解]


データ構造 | |
| struct | st_storage_info |
| ストレージデバイス [詳解] | |
マクロ定義 | |
| #define | GSC_FS_VOLUME_NUM 1 |
| $gsc 最大ストレージデバイスボリューム数 | |
関数 | |
| void | init_storage (void) |
| 外部記憶装置管理初期化 | |
| int | mount_storage (int drvno, const char *devname, const char *fsname) |
| ストレージデバイスをマウントする [詳解] | |
| int | unmount_storage (int drvno) |
| ストレージデバイスをアンマウントする [詳解] | |
| int | register_storage_device (const char *const device_name[]) |
| ストレージデバイスをリストでマウントする [詳解] | |
| int | get_storage_device_name (int drv, char **devname, char **fsname) |
| マウントされているデバイス名を取得する [詳解] | |
| int get_storage_device_name | ( | int | drv, |
| char ** | devname, | ||
| char ** | fsname | ||
| ) |
マウントされているデバイス名を取得する
| num | デバイス番号 |
| devneme | デバイス名 |
| fsneme | ファイルシステム名 |
参照先 st_storage_info::device, st_storage_info::fs, GSC_FS_VOLUME_NUM, st_device::name, storage.
| int mount_storage | ( | int | drvno, |
| const char * | devname, | ||
| const char * | fsname | ||
| ) |
ストレージデバイスをマウントする
| [in] | drvno | デバイス番号 |
| [in] | devname | デバイス名文字列ポインタ |
参照先 GSC_FS_VOLUME_NUM.
参照元 register_storage_device().

| int register_storage_device | ( | const char *const | device_name[] | ) |
ストレージデバイスをリストでマウントする
| [in] | device_name | デバイス名リスト |
参照先 GSC_FS_VOLUME_NUM, mount_storage().


| int unmount_storage | ( | int | drvno | ) |