문제

I am asking this question after searching a lot on Internet.

I am using linux on my PC. It has a disk which has 3 partitions. sda1, sda2, sda3. sda3 contains linux, sda2 is swap and sda1 is FAT.

My question is that "sda3" is a partition which contains whole when linux than I don't understand what do you mean by mounting it on /dev/sda3?

/home, /usr, /var everything is inside sda3 then why are we saying that we are mounting sda3 on /dev while /dev and all the other filesystems are in sda3?

도움이 되었습니까?

해결책

/dev is a directory containing ''pointers'' (in the form of block/character special files) that give the user/programs access to special devices that only the kernel has access to normally.

sda3 isn't actually mounted on /dev/sda3, that's just the block special file that lets us manipulate sda3. The real ''mount point'' is /.

다른 팁

I found my answer after reading http://en.wikipedia.org/wiki/Device_file

/dev/sda3 is actually a device file.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top