Ps3sed: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 43: Line 43:
<pre>
<pre>
$ sudo ./ps3sed print_region 3
$ sudo ./ps3sed print_region 3
# region id  start sectortotal sectors total acls
# region id  start sector  total sectors total acls
   0                0        488397168    1
   0                0        488397168    1
   2          524304        60459821    8
   2          524304        60459821    8

Revision as of 18:29, 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   device 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

Print details about all regions of a storage device:

$ sudo ./ps3sed print_region 3
# region id   start sector  total sectors total acls
   0                0        488397168    1
   2           524304         60459821    8
   3         60984133          4194296    8
   4         65178438        423218700    8

Create New Region

Delete Region