WEBVTT

00:09.500 --> 00:11.830
Friends will come back in this lesson.

00:11.840 --> 00:16.540
We're going to talk about Mount human and Polmar mountain in Linux.

00:16.570 --> 00:17.140
OK.

00:17.210 --> 00:24.070
In our previous lesson we learn how to create partition and how to install a file system on it.

00:24.260 --> 00:28.830
But creating partitions and installing the file system is not enough.

00:28.850 --> 00:32.840
You need to mount those devices for or partition somewhere.

00:32.900 --> 00:41.370
OK on your Linux system and only after that you can access that for creating file or storing any data.

00:41.700 --> 00:44.460
Soft unmounting these devices are partitions.

00:44.480 --> 00:47.950
You can easily access them for storing the data.

00:48.130 --> 00:52.340
OK so let's see here practically how to do this.

00:52.680 --> 00:53.280
OK.

00:53.390 --> 00:58.710
In the Linux environment there are two folders which are dedicated for mounting.

00:58.730 --> 01:01.890
OK so let's get inside room and Alice.

01:01.940 --> 01:08.900
And here you can see mehndi is a folder or directory which is generally used for mounting any type of

01:08.900 --> 01:09.540
device.

01:09.560 --> 01:17.210
OK you can mount here inside this directory and media is reserved for mounting the CD or DVD type of

01:17.210 --> 01:18.250
devices.

01:18.310 --> 01:22.730
OK so here we have created the partitions.

01:22.750 --> 01:28.270
OK let's get to this.

01:28.950 --> 01:32.920
OK we are hiring as TB One two three and five.

01:33.340 --> 01:39.020
OK here I want to mount as D-B one device good directory student.

01:39.220 --> 01:43.090
OK Rich I'm going to create a now inside the empty directory.

01:43.270 --> 01:48.760
OK so what you need to do to mount on this partition or this device.

01:49.060 --> 01:57.210
So first of all let's get inside Amanti OK here there is no file folder present here.

01:57.220 --> 02:01.340
So create a directory regear student.

02:01.360 --> 02:08.420
Suppose I have some student data and I want to store that data on this as DBI one.

02:08.500 --> 02:12.230
OK so it says a permission denied.

02:14.120 --> 02:24.110
Sudol know Alice OK first of all good inside the student Alice OK here you can see there is no file

02:24.240 --> 02:25.780
or for the present.

02:25.990 --> 02:26.710
OK.

02:27.290 --> 02:35.840
So you mount over as D-B one do this directly what you need to do is go slow one called pseudo then

02:35.870 --> 02:37.460
type the command mount.

02:37.730 --> 02:43.790
Ok then here you need to Florida twice that is do as we want.

02:44.150 --> 02:47.440
And here you need to provide very one command.

02:47.450 --> 02:51.750
So here I want to in Amandeep student.

02:51.860 --> 02:53.220
Get Hit enter.

02:53.450 --> 02:55.580
OK this come on executor's successfully.

02:55.580 --> 02:57.540
Now let's get inside.

02:57.860 --> 03:01.330
And then the student and Alice.

03:01.370 --> 03:09.230
And here you can see after mounting the device or partition here the last phone folder is get graded

03:09.230 --> 03:10.270
ecumenically.

03:10.450 --> 03:10.940
OK.

03:11.030 --> 03:18.020
Now we can't access or now we are accessing actually on that device so I want to create the directory

03:18.020 --> 03:23.440
here the SuBo access.

03:24.040 --> 03:30.980
OK now all these directories get created or you can create a file like this.

03:33.640 --> 03:39.350
In this way you can mount a device OK to store the data.

03:39.400 --> 03:39.880
OK.

03:39.990 --> 03:43.220
And you can create different partitions according to a need.

03:43.260 --> 03:50.010
That means I suppose you want to store all your audio files on a particular partition then you can name

03:50.010 --> 03:50.570
it as.

03:50.580 --> 03:56.550
Or do you read you like that or particularly does it's depend on your requirement.

03:56.550 --> 03:57.130
OK.

03:57.570 --> 04:02.220
So there are some situations where you need to unmount the device.

04:02.280 --> 04:06.800
So we currently monitor the device to this directly steward.

04:06.960 --> 04:12.240
So Hoku an mounted device and monitor device you need to type you.

04:13.040 --> 04:17.600
And I say name has to be one and hit enter.

04:18.030 --> 04:18.530
OK.

04:18.540 --> 04:28.960
Now let's get inside this and then directly student Alice and here you can see we can order one for

04:28.960 --> 04:29.100
you.

04:29.110 --> 04:33.400
And one final word there is no file and folder is present here.

04:33.400 --> 04:36.350
That means there do I see them successfully.

04:36.490 --> 04:37.190
OK.

04:37.750 --> 04:44.410
You can mount and mount the devices in the Linux environment but there is a problem in this technique.

04:44.410 --> 04:50.700
The problem is that when you restart your system then the machine to do this or get unmounted or go

04:50.720 --> 04:51.470
magically.

04:51.700 --> 04:52.150
OK.

04:52.360 --> 04:54.350
So how to avoid this problem.

04:54.480 --> 04:54.810
OK.

04:54.820 --> 04:59.490
So there is over two hours this problem the raise permanent mounting.

04:59.650 --> 05:06.730
So to permanently mounted device what you need to do is unique plus add some information inside the

05:06.730 --> 05:10.720
f stop file which is present in the EDC directory.

05:10.790 --> 05:11.280
OK.

05:11.440 --> 05:13.730
So let's see that break here.

05:13.780 --> 05:17.650
And you need to have root access to that file.

05:17.710 --> 05:21.550
So switches are the root now.

05:22.130 --> 05:27.880
So let's see the contents of that file which is present in the EDC of a step.

05:27.880 --> 05:30.570
So for exercising that stuff.

05:30.580 --> 05:39.460
Why didn't we see a step Okay now we are inside this fine.

05:39.730 --> 05:40.510
OK.

05:40.570 --> 05:46.860
This file contains the information about the devices and the different devices.

05:46.930 --> 05:49.090
So let's see what information presented here.

05:49.090 --> 05:53.310
So let's talk about these columns which are present here one by one.

05:53.370 --> 05:58.540
OK the first column represents the device the device that you want to mount.

05:58.710 --> 05:59.130
OK.

05:59.230 --> 06:08.830
Here you can mount the devices with the device ID that is you ID OK or the part that is forwards less

06:08.880 --> 06:12.980
deal or will slash as did one as Dibbell do like that.

06:13.000 --> 06:13.380
OK.

06:13.390 --> 06:16.210
There are two ways to mount the device.

06:16.540 --> 06:20.540
And the next column here is talk about the mount point.

06:20.590 --> 06:27.880
You need to specify where you want to mount that device so here you can see the boot option is displayed

06:27.880 --> 06:28.340
here.

06:28.390 --> 06:32.050
For this you ID it be too easy.

06:32.080 --> 06:32.600
OK.

06:32.710 --> 06:41.200
And after that the next thing you type here you need to specify the file system type ok that you already

06:41.320 --> 06:44.970
created for that device or the device is already harrying.

06:45.100 --> 06:47.440
You need to specify that type here.

06:47.580 --> 06:49.600
And after that there is no option.

06:49.750 --> 06:50.170
OK.

06:50.260 --> 06:55.980
Here in this column we need to specify the options so there are different kinds of options like seeing

06:56.250 --> 06:56.820
things.

06:56.930 --> 07:07.120
Ok but here I would like to suggest that you need to set this default so it takes the right choice OK

07:07.300 --> 07:08.660
for your device.

07:08.920 --> 07:11.970
So set it to default the next column.

07:11.980 --> 07:13.890
Talks about the dumb support.

07:14.140 --> 07:15.660
So what is dumb support.

07:15.760 --> 07:22.390
When you said this to one so it will automatically back up your device.

07:22.390 --> 07:22.910
OK.

07:23.020 --> 07:25.360
So that is the dumb support.

07:25.570 --> 07:30.260
So when you said to do one that means it is true and it will back up the device.

07:30.280 --> 07:36.730
And when you set it to zero that means this device does not want the don't support and the last column

07:36.770 --> 07:39.840
talks about the first seek support.

07:40.000 --> 07:42.250
OK so what does support is.

07:42.260 --> 07:49.870
So it will check the file system at boot time for any errors if it found the error then it will automatically

07:49.870 --> 07:51.800
repair from that era.

07:52.000 --> 07:52.340
OK.

07:52.360 --> 07:59.680
So here one is reserved for a root file system and for other file systems you need to specify a number

07:59.680 --> 08:00.130
two.

08:00.200 --> 08:00.700
OK.

08:00.910 --> 08:05.220
And if you don't want this support then you can set it by zero.

08:05.410 --> 08:06.080
OK.

08:06.280 --> 08:10.920
So in this way this information is present here and you need to specify.

08:11.320 --> 08:14.690
So here first of all this fine.

08:15.220 --> 08:17.310
And I want to mount is the big one.

08:17.380 --> 08:17.900
OK.

08:17.980 --> 08:28.260
So first of all we need these you I.D. So how to get that get the you Id just type Id come on now.

08:28.360 --> 08:31.420
They show us all the eyes and their needs.

08:31.420 --> 08:34.370
So this did this data argufying

08:36.860 --> 08:38.380
student.

08:38.950 --> 08:43.380
Now this is why Ed..

08:44.340 --> 08:44.890
OK.

08:45.250 --> 08:48.700
So we need as D-B one device ID.

08:48.760 --> 08:49.130
OK.

08:49.150 --> 08:57.470
So gresse control V and then with arrow keys you can select these ID cannot press y y on your keyboard.

08:57.640 --> 09:04.370
OK then could this file now open the stuff file.

09:04.650 --> 09:09.020
Why didn't you see this.

09:10.540 --> 09:11.250
OK.

09:11.640 --> 09:20.080
At this point Chris we now getting insert more so press I remove this code.

09:20.950 --> 09:21.520
OK.

09:21.630 --> 09:22.800
Now the how.

09:23.030 --> 09:28.230
Specify here this device ID then you specify the mount point.

09:28.260 --> 09:32.240
So I want to mount it inside and then student.

09:32.720 --> 09:33.400
OK.

09:33.450 --> 09:42.460
And this device is having the file system the XTi for and this option set to defaults the of the yes

09:42.600 --> 09:43.980
defaults.

09:44.400 --> 09:50.760
And I wanted the don't support so it to one and I don't want any of this to give said zero.

09:50.850 --> 09:51.390
OK.

09:51.630 --> 09:58.080
In this way you can add this information a permanently mounted device or you can also mount the device

09:58.140 --> 09:59.440
with this real life.

09:59.530 --> 10:01.170
There is TV too.

10:01.280 --> 10:01.830
OK.

10:01.980 --> 10:02.400
It is.

10:02.400 --> 10:11.600
What do I do instead of this idea of we can use this technique so now I write this content.

10:12.600 --> 10:13.000
OK.

10:13.020 --> 10:17.170
The data is returned to these files so you can take it with CAD.

10:17.550 --> 10:20.030
If you see that.

10:20.620 --> 10:20.970
OK.

10:20.970 --> 10:24.650
Here you can see our data is added inside this file.

10:24.930 --> 10:29.760
So Oscar adding this you need to upgrade this stuff file.

10:29.880 --> 10:30.490
OK.

10:30.660 --> 10:38.500
So for that this type mountain a will at pneumatically mount the devices under this fight.

10:38.580 --> 10:39.050
OK.

10:39.240 --> 10:46.710
So now we have mounted the STV One permanently means when our computer really starts Dooku this file

10:46.740 --> 10:49.410
our device is set to do more.

10:49.600 --> 10:50.020
OK.

10:50.090 --> 10:55.290
So it is monitored or not get inside a CD.

10:55.540 --> 10:58.550
Mandy to Alice.

10:58.710 --> 11:02.760
And here you can see we got our files back here.

11:02.940 --> 11:08.680
So in this way you can go the mounted device with the help of this technique.
