???? ??? - (11) Ramdisk, NFS - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

???? ??? - (11) Ramdisk, NFS

Description:

- (11) Ramdisk, NFS Konkuk Univ. VLSI Design Lab. Konkuk Univ. Dept. of Electronics – PowerPoint PPT presentation

Number of Views:102
Avg rating:3.0/5.0
Slides: 23
Provided by: Phill205
Category:
Tags: nfs | halite | ramdisk

less

Transcript and Presenter's Notes

Title: ???? ??? - (11) Ramdisk, NFS


1
???? ???- (11) Ramdisk, NFS

Konkuk Univ. VLSI Design Lab.
Konkuk Univ. Dept. of Electronics
2

File System Application
  • ????? ( FileSystem ) ???
  • ???? ??? ?? ??? ??? ?? ????? ???? ???, ??(Block)
    ??? ?? ?? ????? ???.
  • ?????? ??

Konkuk Univ. Dept. of Electronics
3
FileSystem ??

/ ?? ???? /boot ?? ??? ??? ?? ?? ???? ????
?? /bin ?? ??? ?? ?? ls, cp, mv, rm, mount,
mkdir, vi ?? /sbin ??? ??? ?? ?? ???? ??
ifconfig, halt, shutdown, mkfs, fsck ?? /dev
???? ????? ???? ?? ???? ?????? ?? /dev/cdrom,
/dev/hda0, /dev/null ?? /etc ??? ??? ??? ?? ??
? ??? ???? ?? ?? /etc/passwd ??? ??? ????
?? /etc/fstab mount a???? ????? ?????? ??
?? /etc/profile ?? ?? ??? ? ? ???? ??
/home ???? ? ???? /lib ?? ????? ?? ?? /root
??? ???? root? ? ???? /usr ?? ??? ???? ???? ??
/usr/local 3rd party ???? /usr/src ???
?? ?? /var ??? ?? ? ?? ?? /var/mail
e-mail ?? /var/log ??? ?? ?? /var/run
?? ?? ????? PID /tmp ?? ?? ????
Konkuk Univ. Dept. of Electronics
4
About Ramdisk
  • Ramdisk??
  • ??? ??? ???? ?? ???? ? ??? ???? ???? ?? ????? ??
    ????? ? ???.
  • Ramdisk? ??
  • ?? ??? ????.
  • ??? ???? ?? ???? ??? ?? ??.
  • ?? ??(gzip)? ????? ??? ????? ??? ? ??.

Konkuk Univ. Dept. of Electronics
5
Ramdisk ??? ???(Mount)

dd if /dev/zero of./ramdisk_img bs1k
count8192 mkfs t ext2 ramdisk_img
?????? 1K(1024)? ??.
16384? ???? ????
dd? ??? ????? ramdisk_img? 0?? ???
??? ? ???? ext2 ??????? ???.
mount t ext2 o loop ramdisk_img
/mnt/ramdisk -- ?? ?? ?? ? -- umount
/mnt/ramdisk gzip ramdisk_img
Konkuk Univ. Dept. of Electronics
6
Ramdisk ??
  • Ramdisk ??
  • - CD ? ???? Ramdisk ???? ???.
  • ?? ???? ???

Konkuk Univ. Dept. of Electronics
7
Ramdisk ??
  • Ramdisk ????
  • Ramdisk ?? ??

Konkuk Univ. Dept. of Electronics
8
Ramdisk ??
  • Ramdisk ? mount ? ???? ??
  • ?? ???? Ramdisk ????

Konkuk Univ. Dept. of Electronics
9
Ramdisk ??
  • Ramdisk Mount
  • Ramdisk Mount ????

Konkuk Univ. Dept. of Electronics
10
Ramdisk ??
  • Ramdisk Mount
  • - root_at_localhost ramdisk mount o loop
    ramdisk ./tmp
  • tmp ????? ???? ????
  • - root_at_localhost ramdisk cd tmp

Konkuk Univ. Dept. of Electronics
11
Ramdisk ??
  • ???? ??
  • ??? ??? ??
  • ???? ??
  • file ???? ???? ??? ??? ????.

Konkuk Univ. Dept. of Electronics
12
Ramdisk ??
  • Cross Compiler ???
  • ???? ??
  • hello.c
  • ??? ??? ??
  • ?? gcc ??? ??? ???? ???
  • ?? ARM??? ??? ?? ??.
  • ???? ??
  • ?? ??? ?????? ????.
  • ???? ????.
  • file ???? ???? ??? ???
  • ????.

Konkuk Univ. Dept. of Electronics
13
Ramdisk ??
  • ARM Compile
  • - Cross Compiler ? ???? Target board ??
    ???? ???
  • hello.c file ? compile ??.
  • root_at_localhost ramdisk arm-linux-gcc
    -o hello-arm hello.c

Konkuk Univ. Dept. of Electronics
14
Ramdisk ??
  • Add File
  • - Compile ??? file ??

Konkuk Univ. Dept. of Electronics
15
Ramdisk ??
  • Unmount Ramdisk
  • - ??? ??? Ramdisk ? ??
  • root_at_localhost ramdisk umount ./tmp
  • Unmount ?? ( df ??? ?? )

??) ???? unmount ? ??? umount ??.
Konkuk Univ. Dept. of Electronics
16
Ramdisk ??
  • gzip ?? ????
  • tftp ??? ??? ??

Konkuk Univ. Dept. of Electronics
17
Ramdisk Download
  • Ramdisk Download ( minicom ? ???? )

minicom
18
Ramdisk Download
  • Minicom ? ???? ????

minicom
Konkuk Univ. Dept. of Electronics
19
NFS ????
  • IP Address ??
  • - ifconfig ??? ???? IP? ????.

minicom
Konkuk Univ. Dept. of Electronics
20

NFS ????
  • Server ? Target Board ? IP ??? ????.
  • - root_at_linux / ifconfig eth0
    192.168.1.10 up

minicom
Konkuk Univ. Dept. of Electronics
21

NFS ????
  • NFS ? ??? ????
  • - root_at_linux / mount -t nfs -o nolock
    192.168.1.1/nfs /mnt/nfs
  • NFS ?? ??? ??? hello-arm file ??

minicom
22

NFS ????
  • NFS ? ??? ????
  • - File ?? ? Target Board ?? Server ? File
    ? ???? ??.
  • root_at_linux nfs ./hello-arm

minicom
Konkuk Univ. Dept. of Electronics
Write a Comment
User Comments (0)
About PowerShow.com