Friends will come back in this lesson.
We're going to talk about Mount human and Polmar mountain in Linux.
OK.
In our previous lesson we learn how to create partition and how to install a file system on it.
But creating partitions and installing the file system is not enough.
You need to mount those devices for or partition somewhere.
OK on your Linux system and only after that you can access that for creating file or storing any data.
Soft unmounting these devices are partitions.
You can easily access them for storing the data.
OK so let's see here practically how to do this.
OK.
In the Linux environment there are two folders which are dedicated for mounting.
OK so let's get inside room and Alice.
And here you can see mehndi is a folder or directory which is generally used for mounting any type of
device.
OK you can mount here inside this directory and media is reserved for mounting the CD or DVD type of
devices.
OK so here we have created the partitions.
OK let's get to this.
OK we are hiring as TB One two three and five.
OK here I want to mount as D-B one device good directory student.
OK Rich I'm going to create a now inside the empty directory.
OK so what you need to do to mount on this partition or this device.
So first of all let's get inside Amanti OK here there is no file folder present here.
So create a directory regear student.
Suppose I have some student data and I want to store that data on this as DBI one.
OK so it says a permission denied.
Sudol know Alice OK first of all good inside the student Alice OK here you can see there is no file
or for the present.
OK.
So you mount over as D-B one do this directly what you need to do is go slow one called pseudo then
type the command mount.
Ok then here you need to Florida twice that is do as we want.
And here you need to provide very one command.
So here I want to in Amandeep student.
Get Hit enter.
OK this come on executor's successfully.
Now let's get inside.
And then the student and Alice.
And here you can see after mounting the device or partition here the last phone folder is get graded
ecumenically.
OK.
Now we can't access or now we are accessing actually on that device so I want to create the directory
here the SuBo access.
OK now all these directories get created or you can create a file like this.
In this way you can mount a device OK to store the data.
OK.
And you can create different partitions according to a need.
That means I suppose you want to store all your audio files on a particular partition then you can name
it as.
Or do you read you like that or particularly does it's depend on your requirement.
OK.
So there are some situations where you need to unmount the device.
So we currently monitor the device to this directly steward.
So Hoku an mounted device and monitor device you need to type you.
And I say name has to be one and hit enter.
OK.
Now let's get inside this and then directly student Alice and here you can see we can order one for
you.
And one final word there is no file and folder is present here.
That means there do I see them successfully.
OK.
You can mount and mount the devices in the Linux environment but there is a problem in this technique.
The problem is that when you restart your system then the machine to do this or get unmounted or go
magically.
OK.
So how to avoid this problem.
OK.
So there is over two hours this problem the raise permanent mounting.
So to permanently mounted device what you need to do is unique plus add some information inside the
f stop file which is present in the EDC directory.
OK.
So let's see that break here.
And you need to have root access to that file.
So switches are the root now.
So let's see the contents of that file which is present in the EDC of a step.
So for exercising that stuff.
Why didn't we see a step Okay now we are inside this fine.
OK.
This file contains the information about the devices and the different devices.
So let's see what information presented here.
So let's talk about these columns which are present here one by one.
OK the first column represents the device the device that you want to mount.
OK.
Here you can mount the devices with the device ID that is you ID OK or the part that is forwards less
deal or will slash as did one as Dibbell do like that.
OK.
There are two ways to mount the device.
And the next column here is talk about the mount point.
You need to specify where you want to mount that device so here you can see the boot option is displayed
here.
For this you ID it be too easy.
OK.
And after that the next thing you type here you need to specify the file system type ok that you already
created for that device or the device is already harrying.
You need to specify that type here.
And after that there is no option.
OK.
Here in this column we need to specify the options so there are different kinds of options like seeing
things.
Ok but here I would like to suggest that you need to set this default so it takes the right choice OK
for your device.
So set it to default the next column.
Talks about the dumb support.
So what is dumb support.
When you said this to one so it will automatically back up your device.
OK.
So that is the dumb support.
So when you said to do one that means it is true and it will back up the device.
And when you set it to zero that means this device does not want the don't support and the last column
talks about the first seek support.
OK so what does support is.
So it will check the file system at boot time for any errors if it found the error then it will automatically
repair from that era.
OK.
So here one is reserved for a root file system and for other file systems you need to specify a number
two.
OK.
And if you don't want this support then you can set it by zero.
OK.
So in this way this information is present here and you need to specify.
So here first of all this fine.
And I want to mount is the big one.
OK.
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.
They show us all the eyes and their needs.
So this did this data argufying
student.
Now this is why Ed..
OK.
So we need as D-B one device ID.
OK.
So gresse control V and then with arrow keys you can select these ID cannot press y y on your keyboard.
OK then could this file now open the stuff file.
Why didn't you see this.
OK.
At this point Chris we now getting insert more so press I remove this code.
OK.
Now the how.
Specify here this device ID then you specify the mount point.
So I want to mount it inside and then student.
OK.
And this device is having the file system the XTi for and this option set to defaults the of the yes
defaults.
And I wanted the don't support so it to one and I don't want any of this to give said zero.
OK.
In this way you can add this information a permanently mounted device or you can also mount the device
with this real life.
There is TV too.
OK.
It is.
What do I do instead of this idea of we can use this technique so now I write this content.
OK.
The data is returned to these files so you can take it with CAD.
If you see that.
OK.
Here you can see our data is added inside this file.
So Oscar adding this you need to upgrade this stuff file.
OK.
So for that this type mountain a will at pneumatically mount the devices under this fight.
OK.
So now we have mounted the STV One permanently means when our computer really starts Dooku this file
our device is set to do more.
OK.
So it is monitored or not get inside a CD.
Mandy to Alice.
And here you can see we got our files back here.
So in this way you can go the mounted device with the help of this technique.