Ps3sed: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 27: Line 27:
<pre>
<pre>
$ sudo ./ps3sed print_device
$ sudo ./ps3sed print_device
# name        id  start sector total sectors    total regions
  nor_flash    1      512            32768        4
  nor_flash    1      512            32768        4
     cdrom    2    2048      2147483647        1
     cdrom    2    2048      2147483647        1

Revision as of 18:26, 27 August 2012

Introduction

  • A user-space application for creating/deleting/modifying storage regions on PS3 Linux.
  • It requires the Linux kernel character driver ps3strgmngr.

Source Code

See my GIT repo: http://gitorious.ps3dev.net/ps3linux/ps3sed

List Supported Commands

$ sudo ./ps3sed list
create_region
delete_region
help
list
print_acl_entry
print_device
print_region
set_acl_entry

Print Details About Storage Devices and Regions

Print all storage devices:

$ sudo ./ps3sed print_device
# name        id   start sector total sectors    total regions
 nor_flash    1      512            32768        4
     cdrom    2     2048       2147483647        1
      disk    3      512        488397168        4
     flash    4      512           524288        7

Print details about a storage device:

$ sudo ./ps3sed print_device 3
      disk    3      512        488397168        4

Create New Region

Delete Region