User Tools

Site Tools


haas:spring2018:unix:projects:bdp0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
haas:spring2018:unix:projects:bdp0 [2018/03/05 19:32] – [Background] wedgehaas:spring2018:unix:projects:bdp0 [2018/03/05 19:47] (current) – [Forbidden tools] wedge
Line 39: Line 39:
  
 =====Obtain the file===== =====Obtain the file=====
-This week's project is located in the **udr0/** subdirectory of the UNIX Public Directory, in a file called: **memdump.ram**+This week's project is located in the **bdp0/** subdirectory of the UNIX Public Directory, in files called: **memdump.ram** and **memdump.status**, both located in a directory by the name of your lab46 username.
  
 There is a companion file called **dectohex.c**, which may be of some value, directly or indirectly. There is a companion file called **dectohex.c**, which may be of some value, directly or indirectly.
Line 74: Line 74:
 Additionally, looking through any companion files provided in this project may offer you some unique value. Additionally, looking through any companion files provided in this project may offer you some unique value.
  
-====Forbidden tools==== 
  
-For the purposes of this project, you are not permitted to use any hex editing tools (hexdump, bvi, etc.) to assist you in producing the solution. Any steps relying in any part on the use of these tools will see credit lost. The aim of this project is to test your low-level data manipulation and calculation skills. 
- 
-You are also forbidden from using any external-to-the-system translation tools (like hex/dec/oct calculators on the web). You must perform any and all calculations using tools on lab46 (and explain your usage of them in your list of instructions!). 
- 
-You can certainly use other tools to help you in better determining your steps to solution. 
 ====quick dd primer==== ====quick dd primer====
 Those with little patience and low observation skills are often quick to label **dd** a difficult or weird tool. While it is true that **dd** is no **ls**, it is a powerful tool, quite useful in its particular domain. Those with little patience and low observation skills are often quick to label **dd** a difficult or weird tool. While it is true that **dd** is no **ls**, it is a powerful tool, quite useful in its particular domain.
Line 96: Line 90:
  
 <cli> <cli>
-lab46:~/src/unix/udr0$ dd if=/dev/motd of=thing+lab46:~/src/unix/bdp0$ dd if=/dev/motd of=thing
 1+1 records in 1+1 records in
 1+1 records out 1+1 records out
 859 bytes (859 B) copied, 0.000149696 s, 5.7 MB/s 859 bytes (859 B) copied, 0.000149696 s, 5.7 MB/s
-lab46:~/src/unix/udr0+lab46:~/src/unix/bdp0
 </cli> </cli>
  
Line 118: Line 112:
  
 <cli> <cli>
-lab46:~/src/unix/udr0$ dd if=/etc/motd of=thing bs=1+lab46:~/src/unix/bdp0$ dd if=/etc/motd of=thing bs=1
 859+0 records in 859+0 records in
 859+0 records out 859+0 records out
 859 bytes (859 B) copied, 0.00400408 s, 215 kB/s 859 bytes (859 B) copied, 0.00400408 s, 215 kB/s
-lab46:~/src/unix/udr0+lab46:~/src/unix/bdp0
 </cli> </cli>
  
Line 133: Line 127:
  
 <cli> <cli>
-lab46:~/src/unix/udr0$ dd if=/etc/motd of=/dev/tty+lab46:~/src/unix/bdp0$ dd if=/etc/motd of=/dev/tty
 ############################################################################## ##############################################################################
 ##  __             _ _   __ ##  __             _ _   __
Line 156: Line 150:
 1+0 records out 1+0 records out
 859 bytes (859 B) copied, 0.000158424 s, 5.4 MB/s 859 bytes (859 B) copied, 0.000158424 s, 5.4 MB/s
-lab46:~/src/unix/udr0+lab46:~/src/unix/bdp0
 </cli> </cli>
  
Line 184: Line 178:
  
 <cli> <cli>
-lab46:~/src/unix/udr0$ dd if=/etc/motd of=/dev/tty skip=659+lab46:~/src/unix/bdp0$ dd if=/etc/motd of=/dev/tty skip=659
 dd: ‘/etc/motd’: cannot skip to specified offset dd: ‘/etc/motd’: cannot skip to specified offset
 0+0 records in 0+0 records in
 0+0 records out 0+0 records out
 0 bytes (0 B) copied, 0.000252174 s, 0.0 kB/s 0 bytes (0 B) copied, 0.000252174 s, 0.0 kB/s
-lab46:~/src/unix/udr0+lab46:~/src/unix/bdp0
 </cli> </cli>
  
Line 199: Line 193:
  
 <cli> <cli>
-lab46:~/src/unix/udr0$ dd if=/etc/motd of=/dev/tty bs=1 skip=659+lab46:~/src/unix/bdp0$ dd if=/etc/motd of=/dev/tty bs=1 skip=659
 s@corning-cc.edu or wedge@lab46.corning-cc.edu s@corning-cc.edu or wedge@lab46.corning-cc.edu
 ## ##
Line 209: Line 203:
 200+0 records out 200+0 records out
 200 bytes (200 B) copied, 0.00165582 s, 121 kB/s 200 bytes (200 B) copied, 0.00165582 s, 121 kB/s
-lab46:~/src/unix/udr0+lab46:~/src/unix/bdp0
 </cli> </cli>
 =====Submission===== =====Submission=====
Line 216: Line 210:
   * Resulting image has been scaled approximately 2x to a resolution of 414x418   * Resulting image has been scaled approximately 2x to a resolution of 414x418
   * Image has been converted to **PNG** format and named **meme0531.png**   * Image has been converted to **PNG** format and named **meme0531.png**
-  * Image has been placed in your Lab46 webspace, in a **unix/udr0/** directory which is searchable to the web server (world search); image is world readable.+  * Image has been placed in your Lab46 webspace, in a **unix/bdp0/** directory which is searchable to the web server (world search); image is world readable.
     * No superfluous permissions should be present for group/other. User obviously needs adequate permissions for you to manipulate it.     * No superfluous permissions should be present for group/other. User obviously needs adequate permissions for you to manipulate it.
     * All parent directories need to also be world searchable in order to function     * All parent directories need to also be world searchable in order to function
Line 235: Line 229:
  
 <cli> <cli>
-lab46:~/src/unix/bdp0$ submit unix bdp0 bdp0steps meme0531.png http://lab46.corning-cc.edu/~USERNAME/unix/udr0/meme0531.png+lab46:~/src/unix/bdp0$ submit unix bdp0 bdp0steps meme0531.png http://lab46.corning-cc.edu/~USERNAME/unix/bdp0/meme0531.png
 Submitting unix project "bdp0": Submitting unix project "bdp0":
     -> bdp0steps(OK)     -> bdp0steps(OK)
     -> meme0531.png(OK)      -> meme0531.png(OK) 
-    -> http://lab46.corning-cc.edu/~USERNAME/unix/udr0/meme0531.png(OK)+    -> http://lab46.corning-cc.edu/~USERNAME/unix/bdp0/meme0531.png(OK)
  
 SUCCESSFULLY SUBMITTED SUCCESSFULLY SUBMITTED
 lab46:~/src/unix/bdp0$  lab46:~/src/unix/bdp0$ 
 </cli> </cli>
haas/spring2018/unix/projects/bdp0.1520278352.txt.gz · Last modified: 2018/03/05 19:32 by wedge