1 00:00:00,330 --> 00:00:06,170 You know, structure where we add a new command list, a directory which will list all the files and 2 00:00:06,180 --> 00:00:11,700 a root directory, to do that, we need the data in the root directory section in the system. 3 00:00:12,540 --> 00:00:14,040 So in the file module. 4 00:00:22,310 --> 00:00:27,860 As you can see, we added a new function rate at Rootie Directorate in this function. 5 00:00:27,890 --> 00:00:33,500 All we need to do is copy the data introductory section to the buffer provided by the user program. 6 00:00:34,500 --> 00:00:40,560 So we get a route to actory and second of the route through acquisitions, then we copy the data in 7 00:00:40,560 --> 00:00:42,200 the route directly section to the buffer. 8 00:00:42,720 --> 00:00:46,890 So the side here is that the number of untraced temps to countrysides. 9 00:00:48,280 --> 00:00:54,130 In the end, we reached into control of the countries being covid into the buffer, OK, to make the 10 00:00:54,130 --> 00:00:58,090 function accessible by the of the programs we add and use uses called function. 11 00:01:04,010 --> 00:01:09,360 Saturated root directory, you can see in this function, which is to call readthrough trajectory and 12 00:01:09,360 --> 00:01:13,400 the return to argument is a buffer provided by the other program. 13 00:01:15,270 --> 00:01:18,180 We're changing the checks in the system function and we are done. 14 00:01:19,060 --> 00:01:23,110 Next, we have a function into that profile, so interlibrary Fauja. 15 00:01:24,950 --> 00:01:26,660 We added Interstate's Khurmatu. 16 00:01:27,990 --> 00:01:33,780 As you see, we have arranged the function rerouted to actory, it takes one parameter just as function 17 00:01:33,810 --> 00:01:34,590 as it does. 18 00:01:34,950 --> 00:01:36,840 So Dakota here is pretty much the same. 19 00:01:37,860 --> 00:01:41,600 So that's for this function is tough, OK, that's it. 20 00:01:43,170 --> 00:01:48,360 In the terminal, we go to the library, Fauja A.M. bulldozes commu. 21 00:01:51,880 --> 00:01:54,490 Crowded into labor, Rafael. 22 00:01:57,040 --> 00:01:59,350 OK, now we copy the laboratory file. 23 00:02:01,500 --> 00:02:06,480 To the list directory folder, I have created the list to actually product. 24 00:02:10,419 --> 00:02:11,740 Interlibrary had to file. 25 00:02:12,940 --> 00:02:17,950 That the Iraqi infrastructure is already here because we will pass the directory structure. 26 00:02:20,090 --> 00:02:23,320 We also at a rate of growth trajectory function, OK? 27 00:02:24,630 --> 00:02:26,880 Let's see what we have in terms of function. 28 00:02:29,370 --> 00:02:35,200 First off, we define Buffer to start the road to accurate data, and it's the main function, we're 29 00:02:35,400 --> 00:02:38,310 ready to rotate factory and save the return value to the client. 30 00:02:39,030 --> 00:02:42,760 Then we check the return value if the return value is not zero. 31 00:02:43,290 --> 00:02:46,970 We will pass the data into Buffer before we get started. 32 00:02:47,010 --> 00:02:50,420 We printed the name to type and file size. 33 00:02:51,090 --> 00:02:56,010 So in the console the name is in the first column, then the top of the file. 34 00:02:56,610 --> 00:02:58,600 So file size is in the last column. 35 00:02:59,220 --> 00:03:02,070 Next, we printed the dotted line to separate the result. 36 00:03:02,760 --> 00:03:04,470 After we printed those captor's. 37 00:03:04,740 --> 00:03:07,210 We use follow up to each of the entries. 38 00:03:08,100 --> 00:03:12,040 So first, if statement, we will make sure that the file is the one we support. 39 00:03:12,930 --> 00:03:20,410 So if it's an entry or deleted one, a long filename entry or label name entry, which as you can olgun 40 00:03:20,430 --> 00:03:21,420 and continue to look. 41 00:03:23,210 --> 00:03:29,060 After the checks passed, we copy the name to the buffer and print the name here, we check the file 42 00:03:29,060 --> 00:03:29,490 type. 43 00:03:30,140 --> 00:03:35,450 Remember, we talk about the attributes of liberal democracy and entry when they inspire the fastest 44 00:03:35,780 --> 00:03:40,670 might not be so pitfall of the attributes indicates a subfolder. 45 00:03:41,060 --> 00:03:43,760 So here we check if the paid for is such. 46 00:03:44,120 --> 00:03:51,590 In this case, which has decimal number 10, if its side then is a directory where Bernie is in the 47 00:03:51,590 --> 00:03:52,300 second column. 48 00:03:52,740 --> 00:03:53,820 Otherwise we're printing. 49 00:03:53,820 --> 00:03:54,050 No. 50 00:03:55,140 --> 00:03:57,420 OK, that's it for the list derogatory project. 51 00:03:58,810 --> 00:04:03,100 In your script, the name of the file is ours. 52 00:04:03,910 --> 00:04:07,960 So in the system, we can use command to find this file. 53 00:04:08,860 --> 00:04:10,150 OK, let's build a product. 54 00:04:16,620 --> 00:04:19,620 Then they monzer Fettucini image, just as they did before. 55 00:04:30,090 --> 00:04:31,350 My corpus is. 56 00:04:37,720 --> 00:04:39,160 And the colonel thought, meanwhile. 57 00:04:46,220 --> 00:04:47,450 This a partition. 58 00:04:48,870 --> 00:04:49,890 And Unbox. 59 00:04:56,020 --> 00:04:59,260 First, let's test Total Medicament. 60 00:05:01,970 --> 00:05:04,910 And it's working now let's test is. 61 00:05:06,700 --> 00:05:16,970 OK, as you can see, we have five files, the user, the kernel test, total man and all of our files 62 00:05:17,660 --> 00:05:20,940 and you can see all the file size are listed in the third column. 63 00:05:21,630 --> 00:05:27,260 Next, we add to the directories into OS image to see what we get into our much. 64 00:05:32,400 --> 00:05:36,330 So we Cubase Ollaberry folder to the partition. 65 00:05:41,910 --> 00:05:42,680 Let's check it out. 66 00:05:48,840 --> 00:05:50,710 We have our press center. 67 00:05:51,530 --> 00:05:58,530 OK, you can see this time we got six files and the last file is Lepp, which is a directory. 68 00:06:01,480 --> 00:06:04,030 Here is testing our system in the real machine. 69 00:06:04,950 --> 00:06:06,840 Listed the USB flash drive. 70 00:06:07,860 --> 00:06:08,910 And both the computer. 71 00:06:11,550 --> 00:06:14,430 OK, OK, exhilarates Nazaryan, some commands. 72 00:06:16,290 --> 00:06:20,130 So we tip toe to a man and a presenter. 73 00:06:21,280 --> 00:06:24,220 You can see we've got roughly 14 gigs of free memory. 74 00:06:26,850 --> 00:06:31,260 Not as they started with the drug trace, so we tap yes, and present your. 75 00:06:32,240 --> 00:06:42,860 As you'll see, we have a user colonel cast Total Amam led system folder and the label on the system, 76 00:06:42,860 --> 00:06:43,730 all the folders. 77 00:06:44,210 --> 00:06:46,850 So system folder should be the Windows system folder. 78 00:06:48,140 --> 00:06:49,670 OK, that's it for this video.