Talk:Forth Lesson 13: Difference between revisions
Jump to navigation
Jump to search
PeasthopeOld (talk | contribs) m (→Perusing a file system: Removed unecessary blather and added comment about ext2.) |
No edit summary |
||
Line 16: | Line 16: | ||
... in a FAT32 file system. Will try ext2 next week, --[[User:Peasthope|Peasthope]] 04:06, 31 August 2013 (UTC) |
... in a FAT32 file system. Will try ext2 next week, --[[User:Peasthope|Peasthope]] 04:06, 31 August 2013 (UTC) |
||
:Thanks. None of the lessons gave any clear guidance on filesystem commands. [[Forth Lesson 13]] has been edited to show some. Please review and try again. |
|||
:(although if you are upgrading firmware please use [[upgrading firmware|the instructions]], which do ''not'' need these commands, and certainly won't work with a .rom file in the boot directory ... follow the instructions exactly, and ask any questions on the [[talk:upgrading firmware|talk page]] ... if there's a problem with the instructions we ''really'' want to know). |
|||
:{{Code|ls}} is a command for navigating the device tree structure, not a filesystem command, and you can find more about the device tree in [[Forth Lesson 9]]. The consequences you observed after using {{Code|ls}} and {{Code|dev}} are correct. The filesystem used is immaterial, and I don't understand why you mentioned it; the commands will work on many different filesystems. --[[User:Quozl|Quozl]] 09:07, 31 August 2013 (UTC). |
Revision as of 09:07, 31 August 2013
Perusing a file system
From the page.
ok more u:\boot\olpc.fth
Before seeing the contents of a file I want to see what is in the folder.
ok ls ext:\ Not at a device tree node. Use 'dev <device-pathname>'. ext:\ ? ok dev ext:\ ok ls ok
The operating system shows that \boot\q3c16.rom is on the external SD card ..., --Peasthope 14:57, 30 August 2013 (UTC)
... in a FAT32 file system. Will try ext2 next week, --Peasthope 04:06, 31 August 2013 (UTC)
- Thanks. None of the lessons gave any clear guidance on filesystem commands. Forth Lesson 13 has been edited to show some. Please review and try again.
- (although if you are upgrading firmware please use the instructions, which do not need these commands, and certainly won't work with a .rom file in the boot directory ... follow the instructions exactly, and ask any questions on the talk page ... if there's a problem with the instructions we really want to know).
- ls is a command for navigating the device tree structure, not a filesystem command, and you can find more about the device tree in Forth Lesson 9. The consequences you observed after using ls and dev are correct. The filesystem used is immaterial, and I don't understand why you mentioned it; the commands will work on many different filesystems. --Quozl 09:07, 31 August 2013 (UTC).