goya
July 27, 2011, 8:29pm
1
hello i’m working on adding all the builtin functions to my benchmark suite today and i came across FormatDrive(drive as String, fs_type As String)
to save me time and stress and because im testing on xd without usb drive can someone in the know please post example for the parameters
i’m interested in fs_type
is drive like
“ext0:”
is fs_type it like
“FAT16”
“FAT32”
“NTFS”
thanks in advance…
As far as benchmarks go, would it not take the same amount of time to format a drive on a roku with USB 2.0 port, as it would on a computer with a USB 2.0 port?
Format isn’t listed as a valid method in the roku component reference, but you might be able to delete files.
Boolean Delete(String path)
Recursively deletes all contents under the specified path.
Returns true if successful.
goya
July 27, 2011, 9:35pm
3
did i miss something again
it’s in pg 39 brightscript reference manual
i would think they would want a way for us to format usb
i like it
7.14 FormatDrive(drive As String , fs_type As String) As Boolean
Formats a specified drive using the specified filesystem.
delete != format
but thanks
i just dont have usb on this thing to play with it. i can hook up my new roku 2 xs, but that is pain…
im not sure if its same time… i would think it depends on their hardware/software…
also, i’m trying to benchmark my old roku xd with my new roku 2 xs.
good way to learn the language and apis
FormatDrive is not implemented on the Roku player.
–Mark
goya
July 27, 2011, 10:29pm
5
“RokuMarkn” wrote:
FormatDrive is not implemented on the Roku player.
–Mark
oh ok thx i was just going a-z in built in functions api ref 3.0, my bad… again thanks…