00:00:00 --- log: started forth/17.11.25 00:17:00 --- join: dys (~dys@tmo-112-12.customers.d1-online.com) joined #forth 01:12:15 --- quit: proteusguy (Ping timeout: 250 seconds) 01:28:57 --- join: proteusguy (~proteus-g@184.22.249.78) joined #forth 01:28:57 --- mode: ChanServ set +v proteusguy 01:32:01 --- quit: mnemnion (Remote host closed the connection) 01:34:13 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:25d3:9372:f43d:6d82) joined #forth 01:38:40 --- quit: mnemnion (Ping timeout: 258 seconds) 02:51:17 --- join: Labu (~mik@mvice.pck.nerim.net) joined #forth 06:22:41 --- quit: cheater (Quit: leaving) 06:44:21 --- join: cheater (~cheater@unaffiliated/cheater) joined #forth 07:51:07 --- join: tomberek (640fa329@gateway/web/freenode/ip.100.15.163.41) joined #forth 08:33:08 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:25d3:9372:f43d:6d82) joined #forth 08:35:40 --- join: cybrNaut (cybrNaut@unaffiliated/cybrnaut) joined #forth 08:36:26 is there a forth command to format a drive? 08:37:17 --- quit: mnemnion (Ping timeout: 250 seconds) 09:00:41 cheater: A piece of memory has only two ends. Adding more stacks makes for fragmentation. Although I've experimented with using disposable, short-lived dictionaries/stacks in a similar manner to counted strings. 09:00:48 The string count would be the dictionary pointer or stack pointer. 09:03:09 you can use dictionary words (commas, here, dictionary search, etc) on these counted strings 09:11:38 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:25d3:9372:f43d:6d82) joined #forth 09:17:04 cybrNaut: Which system? Is this a microcontroller? 09:20:10 If there's a filesystem then we'd need to know more about that. 09:21:29 If you just want to zero a memory region you can use ERASE ( addr u -- ) 09:22:01 : ERASE 0 FILL ; 09:23:40 A flash chip will likely have a command to erase blocks and you should use that. 09:28:10 pointfree: it's an olpc openfirmware 09:29:08 as far as filesytem goes, i'd like to know how to format for vfat and also ext2 09:30:31 i've been using a linux fdisk and mkfs.* to format, but was told that what fdisk produces may be incompatible, and to use the firmware to do the formatting since the firmware is what is using the disk 09:39:56 cybrNaut: Have you tried switching to the HDD's device node and entering the word "words" to list available words for that device node? http://wiki.laptop.org/go/Forth_Lesson_9#Browsing_Device_Nodes 09:41:56 there may be a word for formatting that device to a filesystem 09:42:34 (I don't have an olpc on me) 09:45:10 --- join: karswell (~user@183.91.199.146.dyn.plus.net) joined #forth 09:52:52 pointfree: no, that's quite foreign to me. If i understand correctly, you're saying run "dev /pci/mydrive" then entering "words" 09:53:04 i'll give that a try, if I can work out which device it is 09:56:12 yep. 09:57:03 You can of course use show-devs to list devices. 09:58:58 cybrNaut: Using .properties may give you the size of the device, etc. which could help. 10:05:34 pointfree: i did a show-devs \sd\ and got a list of sd card slots.. then did a "dev \sd\yadayada", .properties, which showed me that i'm dealing with the external SD card 10:05:40 so i know I have the right device 10:06:00 but entering "words" gives quite low-level commands, read, write, seek 10:06:10 nothing related to filesystems 10:13:32 cybrNaut: Try "sifting filesystem" "sifting fat" "sifting fatfs" etc etc. http://wiki.laptop.org/go/Forth_Lesson_5#Wordfinder 10:17:53 it finds "fat32-partition" 10:20:59 so then i search on that, and find it in the bottom of this page http://wiki.laptop.org/go/Firmware/Storage/Formats 10:21:20 pointfree: thanks.. i think i have my answer 10:21:40 cybrNaut: Great! 10:23:28 cybrNaut: maybe also interesting to you http://wiki.laptop.org/go/Firmware/Storage 10:26:12 pointfree: those are the commands that caused me trouble. I did a "fs-save" with a vfat target (which i formatted in the OS), and the save got cut off after 3.4gb when it was expected to save 8gb 10:26:35 i was told not to trust the OS-formatted volumes.. to use the firmware to do the formatting 10:26:43 so i'll try that 10:27:19 makes sense 10:27:33 I know vfat has a 4gb filesize limit, and i thought that was my problem (even though i'm still 0.6 gb short of that) 10:28:10 but this firmware may have been hacked to break that limit.. although I'm skeptical about that. I'll just have to test it 10:29:51 the fat format command begins with "d#".. what exactly does that mean? Can i find out the ext2 format command from that? 10:31:13 pointfree: memory is not my main concern - this is for systems that have gigabytes of memory, executing tasks that only need to take bytes of memory. 10:31:17 i just did a "sifting partition" and nothing apparently for ext partitions emerged 10:52:04 cybrNaut: "sifting ext2-file-system" 10:53:31 that comes up empty.. i also tried ext2-filesystem, since filesystem is actually one word.. also no hit 10:54:25 cybrNaut: " ext2-file-system" find-package ( with quotes and space between " and e) 10:55:26 Then enter .s 10:56:28 seems to have done nothing 10:56:37 should i still do .s? 10:57:04 .s returns 0 10:58:28 okay so that means it doesn't exist 11:24:51 cybrNaut: does hd-init exist? 11:33:13 no 11:44:53 Unfortunately the openfirmware olpc maintainer is not in this channel at the moment. He would know. https://github.com/MitchBradley 12:13:42 pointfree: when is fragmentation most important? 12:21:22 --- quit: karswell (Remote host closed the connection) 12:23:44 --- quit: dys (Ping timeout: 260 seconds) 12:36:33 --- join: gravicappa (~gravicapp@ppp83-237-163-86.pppoe.mtu-net.ru) joined #forth 12:40:48 --- join: dys (~dys@tmo-099-49.customers.d1-online.com) joined #forth 14:10:50 --- quit: gravicappa (Ping timeout: 240 seconds) 14:13:47 --- quit: tomberek (Ping timeout: 260 seconds) 15:10:53 --- quit: mnemnion (Remote host closed the connection) 15:11:15 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:c1e4:aca5:f0ff:4d11) joined #forth 15:15:49 --- quit: Labu (Ping timeout: 260 seconds) 18:34:13 --- join: Gromboli (~Gromboli@static-72-88-80-103.bflony.fios.verizon.net) joined #forth 23:21:24 --- quit: Gromboli (Quit: Leaving) 23:54:33 --- join: proteus-guy (~proteusgu@180.183.139.174) joined #forth 23:59:59 --- log: ended forth/17.11.25