GuidesTech

Remount all read-only usb mounts as read-write

Some of you may have realized that USB mass storage devices attached to the PlayOn!HD are automatically mounted as read-only. In a read-only mount, you cannot write files to the drive.

The following script will remount all available USB mass storage devices (mounted in read-only mode) as read-write!

The down side is that you got to execute the script every time you plug in a new device. The script work best with View USB storage attached to A.C.Ryan PlayOn!HD over network.

Creating the script

  1. Telnet and login to your A.C.Ryan PlayOn!HD
  2. In the command prompt window, enter “vi /tmp/hdd/root/script/remount.sh
  3. In the vi window, press “i” to start edit mode
  4. Paste the content of the above script
  5. Press “<ESC>” to exit out of edit mode
  6. Enter “:wq” to save the script
  7. Enter “ls /tmp/hdd/root/script
    remount.sh should be listed as one of the files

Executing the script

  1. In the command window, enter “sh /tmp/hdd/root/script/remount.sh
    The script would remount existing read-only USB drives as read-write

 

Treat shadowandy!

If these step-by-step guides have been very helpful to you and saved you a lot of time, please consider treating shadowandy to a cup of Starbucks.  

This site contains links to Amazon. These links will take you to some of the products mentioned in today’s article. As an Amazon Associate, I earn from qualifying purchases.
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments