Editing Ps3sed

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
[[Category:OtherOS]]
=Introduction=
=Introduction=


* A user-space application for creating/deleting/modifying storage regions on PS3 Linux.
* A user-space application for creating/deleting/modifying storage regions on PS3 Linux.
* It replaces old ps3stor-utils.
* It requires the Linux kernel character driver ps3strgmngr.


=Source Code=
=Source Code=


See my GIT repo: http://gitorious.ps3dev.net/ps3linux/ps3sed
See my GIT repo: http://gitorious.ps3dev.net/ps3linux/ps3sed
=List Supported Commands=
<pre>
$ sudo ./ps3sed list
create_region
delete_region
help
list
print_acl_entry
print_device
print_region
set_acl_entry
</pre>


=Print Details About Storage Devices and Regions=
=Print Details About Storage Devices and Regions=
Print all storage devices:
<pre>
$ 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
</pre>
Print details about a storage device:
<pre>
$ sudo ./ps3sed print_device 3
      disk    3      512        488397168        4
</pre>
Print details about all regions of a storage device:
<pre>
$ 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
</pre>
Print details about a region of a storage device:
<pre>
$ sudo ./ps3sed print_region 3 4
  4        65178438        423218700    8
</pre>
Print details about ACL entries of a region:
<pre>
$ sudo ./ps3sed print_acl_entry 3 4
1070000002000001                  rw
              0                none
              0                none
              0                none
              0                none
              0                none
              0                none
              0                none
</pre>


=Create New Region=
=Create New Region=


=Delete Region=
=Delete Region=
{{Linux}}<noinclude>[[Category:Main]]</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)