国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 學(xué)院 > 開發(fā)設(shè)計(jì) > 正文

sun Technical Training NOTE

2019-11-18 13:30:21
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

  drwxrxrx 2 root bin 512 APR 3 10: 45 apache
  -rwxrr 1 root sys 360 Apr 3 10: 45 asppp. cf
  
  第一位-指正式的文件
  c 指字符設(shè)備,每個(gè)磁盤的塊大小為512個(gè)字節(jié)
  b 指塊設(shè)備,每個(gè)塊設(shè)備的塊的大小隨著分區(qū)的大小變化,但是UFS文件系統(tǒng)的每個(gè)塊是8k
  
  Logical Disk Device Names
  
  /dev/[ r] dsk/ c# t# d# s#
  c#控制器號(hào)
  t#通道號(hào)
  d#驅(qū)動(dòng)器號(hào)
  s#分片號(hào),見下面的描述
  0-7 Partition or (slice number) Valid numbersare 0-7
  Tag 0= UNASSIGNED 4= USR Describes the file system
  1= BOOT 5= BACKUP mounted on this partition
  2= ROOT 7= VAR
  3= SWAP 8= HOME
  
  /etc/path_ to_ inst記錄著啟動(dòng)時(shí)每個(gè)設(shè)備的實(shí)例名,物理名
  只在啟動(dòng)時(shí)讀一下,并被內(nèi)核治理。
  prtconf
  顯示系統(tǒng)配置
  系統(tǒng)文件的層次及含義
  
  / The root of the overall file system name space
  /bin The Directory location for standard system commands or binary files
  /dev The primary location for logical device names
  /devices The primary location for physical device names
  /etc Host specific system administrative configuration files and databases
  /eXPort The default directory for commonly shared file systems
  /home The default directory or mount point for users home directories
  /kernel The directory of platform independent loadable kernel modules
  required as part of the boot process
  /opt The default directory or mount point for addon application packages
  /platform The directory of platform dependent loadable kernel modules
  /sbin Essential executables used in the booting process and in manual system
  failure recovery
  /tmp Temporary files; cleared during the boot sequence
  /usr The directory for programs, scripts, and libraries used by all system users
  /var The directory for varying files, which usually includes temporary, logging,
  or status files
  /mnt A convenient, temporary mount point for file systems
  
  幾種文件系統(tǒng)的含義及歷史
  UFS
  " UNIX file system based on the BSD Fast File system is the default disk-based file
  system for the Solaris Operating environment.
  
  ?HSFS
  " High Sierra, Rock Ridge, and ISO 9660 file system. Solaris HSFS is used on CD-ROMs,
  and provide all UFS file system features and file types
  
  ?PCFS
  " PC file system, which allows read/ write access to data and programs on DOS-formatted
  disks written for DOS-based personalcomputers.
  
  ?UDF
  " The UDF file system, the industry-standard format for storing information on the optical
  media technology called DVD (Digital Versatile Disc or Digital Video Disc).
  
  
  Network-Based File Systems
  ?Network-based file systems can be accessed over the network. NFS is
  the only available network-based or distributed computing file system.
  
  " Virtual File Systems
  ?Virtual file systems are memory-based file systems that provide access
  to special kernel information and facilities.
  " The Cache File System
  
  ?The Cache File System (CacheFS) can be used to improve performance
  of remote file systems or slow devices sUCh as CD-ROM drives. When a
  file system is cached, the data read from the remote file system or CD-
  ROM is stored in a cache on the local system.
  
  " The Temporary File System
  ?The Temporary File System (TMPFS) uses local memory for file system
  reads and writes, which is typically much faster than a UFS file system.
  ?TMPFS use the swap space on a disk.
  
  The Process File System
  ?The Process File System (PROCFS) resides in memory. It contains a list
  of active processes, by process number, in the /proc directory.
  
  " The Loopback File System
  ?The Loopback File System (LOFS) lets you create a new virtual file
  system, so you can access files by using an alternative path name.
  
  磁盤基本概念
  Lable( VTOC)
  ?Volume Table of Content, No. 1 disk sector( 512B)
  
  " Boot block
  ?Stores the procedures used in booting the system
  ?The boot block is left blank if a file system not to be used for booting
  ?In the next 15 disk sectors
  
  " Superblock
  ?Detailed information ablout the file system
  ?Size and status of file system
  ?Date and time of the last update
  ?Cylinder group size
  ?Number of date blocks in cylinder group
  ?Path name and last mount point
  ?In the next 16 disk sectors
  
  Inode
  ?All information about a file except its name which is kept in a directory
  ?An inode is 128 byte
  " Type of the file ( File/ Directory/ Block special/ Character special/ Symbolic link/ pipe/ Socket)
  " The mode of the file( read-write-execute permissions)
  
  
  
  讀磁盤的 VTOC 信息
  
  # prtvtoc /dev/ rdsk/ c1t3d0s2
  
  PROM的概念
  " PROM
  ?Each Sun system has a boot PROM chip. This 8KB chip is typically located
  on the same board as the CPU
  ?The main functions of the boot PROM are to test the system hardware and
  boot the operating system
  " Number of hard link
  " User ID and group ID
  " Number of bytes of the file
  " An array of 15 data block address
  " The date and time of the file
  
  " Data block
  ?The rest of the space allocated to the file system
  ?By default, 8-KB block size, 1- KB fragment size
  
  NVRAM的概念
  
  ?The NVRAM is 8KB of nonvolatile random access memory. This is a
  pluggable chip that is often located on the main system board
  ?The NVRAM stores the Ethernet address, host ID, and the TOD clock. A
  single lithium battery within the NVRAM module provides battery backup
  for the NVRAM and clock
  ?The NVRAM module also contains the EEPROM for the parameters that
  have been changed or customized from the boot PROMdefault parameters
  settings
  ?The user-interface commands and device aliases are stored in the NVRAM
  
  sun 機(jī)器的啟動(dòng)過程
  Prom--->Run Post--->Prom Load bootblk--->Bootblk Load ufsBoot--->ufsboot loads 32/ 64bit kernel
  --->Kernel initializes Load modules start init process --->start run rc scripts
  
  32 bit kernel
  /platform/ ’uname m’/ kernel/ genunix
  /platform/ ’uname m’/ kernel/ unix
  
  64 bit kernel
  /platform/ ’uname m’/ kernel/ sparcv9/ genunix
  /platform/ ’uname m’/ kernel/ sparcv9/ unix
  
  Module directories
  /kernel
  /usr/ kernel
  /platform/ ’uname m’/ kernel
  /platform/ ’uname i’/ kernel
  
  sun 的運(yùn)行級(jí)別
  Level 0 Powerdown state
  Level S or s Singleuser state 單用戶狀態(tài),掛上所有的文件系統(tǒng)
  Level 1 Administrative state 治理員狀態(tài)
  Level 2 Multiuser state 多用戶狀態(tài),運(yùn)行大部分服務(wù),不運(yùn)行NFS服務(wù)
  Level 3 Multiuser state with NFS resources shared 多用戶狀態(tài),運(yùn)行全部服務(wù)。
  Level 4 Alternative multiuser state 通常不支持
  Level 5 Powerdown state
  Level 6 Reboot state
  
  看當(dāng)前的運(yùn)行級(jí)別
  who -r
  
  The /etc/inittab 記錄了啟動(dòng)的級(jí)別
  內(nèi)容格式
  id: rstate: action: process
  s3: 3: wait:/ sbin/ rc3 >/ dev/ msglog 2<> /dev/ msglog   
  _____________ Run levels to which this entry applies
  
  ______運(yùn)行腳本
  
  啟動(dòng)運(yùn)行腳本:
  所有的運(yùn)行腳本在/sbin下的rc0, rc1, rc2, rc3, rc5, rc6, rc等目錄下,每個(gè)腳本目錄針

發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 额尔古纳市| 博爱县| 临猗县| 建昌县| 仲巴县| 富川| 梅河口市| 视频| 白沙| 古丈县| 翼城县| 南华县| 义马市| 洛川县| 宝坻区| 东乌珠穆沁旗| 宜春市| 开封市| 平潭县| 仙桃市| 岳西县| 家居| 共和县| 麻栗坡县| 金昌市| 土默特左旗| 东至县| 稻城县| 阿克苏市| 六盘水市| 宜阳县| 辛集市| 馆陶县| 镶黄旗| 闻喜县| 息烽县| 松溪县| 梁河县| 肥乡县| 乐清市| 蓬安县|