8.1 Linux Θ(ͧΒřƨ

Total Page:16

File Type:pdf, Size:1020Kb

8.1 Linux Θ(ͧΒřƨ ˊ੥֜ޅ^ৰ 8 ত âிඣ ˆ ˤ 8 ϑ(ͧβȳƈ̎ ƨতᡅͥ ext2 ʐ ext3 âிඣ4 /proc3sysfs3swap âிඣ4 ¤ṁ3Ŧṁ^żṁ4 džाⒸՈūϬ4 ľՈūϬ4 ඗Ȁʐ֜ܰ QՈϬͩ4‑֜ޅ ƿ└᪂าՈ5ͩ4 8.1 Linux ϑ(ͧβŘƨ ̱ňிඣȑǎ5ǎ4âՈƌʔʐ੥ˊ ẝ£࿁ɥ«̱ňிඣՈâ੥ˊிඣ ੄ࢴ ◄ˊ੥ˊ4â੥֜ޅâிඣ4ƅâՈƌʔ3ᪿ΅਍̱ňՈƌń ɥPǎ5ǎ4ǪP£࿁ŷ ᡅY5☦ՈΓťâ੥ˊḳâ3ᝯ੥ˊâʐ੥ˊǍʻϔǒß4â੥ˊǒ┉Zɥ«ிඣȭ ੥ˊ5śƅ͢ư֜ޅ‑ʐඈඋ1ň4Linux Ոâ੥ˊʐ ƌʔ᪂̣͟zâ੥ˊ◄˖ՈाⒸ ੥ˊK«ϬΙ Linux ՈżȖƨՈ࿁ᡅ˖4֜ޅc˕â੥ˊʐ 47̠ 8.1.1 Linux ՈâிඣିƧ 1Mext2 ˼ ext3 ɻˊȌ ¤᫗Ո ext ிඣ« Extended File System Ո෭΅ ƷĉŐ ext13ext2 ʐ ext3 Y࢑4ext ி c& Linux ᪂ᩥՈ ͣƅѐՈ UNIX ĽǍ4Ʒ₋ϬrY൫௦š඗Ȁʐֲơʍ඗Ȁ4Ǹ» ̲PǔĽ/ՈŌ5« ext ிඣȺȈ࢑᪂̣῁Ɵtâǡ੥ˊ4ext2 ிâ੥ˊிඣ£࿁ ᩨՈâڌNŖ K«̶̓ϔ Linux ிඣ Ɔ̓3ƚϬ ֲQŤǒ Linux ிඣՈ̓ᾬ ੥ˊிඣ4 ext2 âிඣϬՈ௦šᅆͥ£࿁ିĨ Windows Ոâ ‑ᜬFAT ϬǡᩴơâǍʻ4 ņrⒸ3ǚΝrⒸ3ƿ└3¤ʒdzÑȺ௦šᅆͥ׏tPϔǒ඗Ȁ ͢ĉȯrâ⑃ò3 ி3ƌ΢Ჳǐ਍â੥ˊ¤◄Ոּ͟Ǎʻ4P௦šᅆͥɥ«Pϔඈ ̳PȭàP͟ ‑P௦šᅆͥǻ Ϭǡ̳Pʃ᪊ẝ âzֲơ4&rƫz੥ˊ ிඣႮ¬ඝɣ௦šᅆͥ ᅆͥ4ɣ௦šᅆͥǻʐ͢ȭàâՈâȑᝯȐrljƌńֲơ4ֲơɥ«Ⱥâȑǎ͢ȭ àՈ௦šᅆͥǻּ༘͟Ոᜬ4ֲơՈɣPȭ༘͟ᝯࢴ&P8Ảȉ94◄ᡅͼ͛Ո« ௦š ᅆͥǻʐâȑ« 1:n Ո͟ி PâՈ௦šᅆͥǻ«̳PՈ IJP௦šᅆͥdzÑȭà̶ 126 Linux ̱ňிඣ‑า^੥ˊ ZՈȐPâ4֜ޅâȑ4ẝ4᪂ᩥՈƣü«&ǒɴỞẋ]ȐՈᲳǐƿ᪃⒲ ᩨ̑Ρ[ Linux ūϬՈâிඣ« ext2 ͢Ľͥ«Ẕᜐࣷǎ3̠ˊʌά4IJƟ Linux ிڌ ඣᝯŰ̶ŌàϬ4ǔ̶ǽ͢ₑᡅՈᜐʐɳʟȒ ext2 Ո෾ͥKɥİ◶\Ἓ ext2 «☢aȣ âிඣNLFS 4êỞՈàϬ]ƌń͆̓Ո⒲L IJȭzὧǽ͢ₑᡅՈᜐɥ«PႸʁ ՈŽͥ4ẝK«&¬4ᡅǕʉ ext3 ிඣՈƣü4 ext3 º ext2 âிඣǕʉ໐ǡ « ext2 Ո¤ƆČ ȭaȣ£࿁¤ÑƆĚ4ƟQՈ ext3 ி ඣඓẋ⑃rⒸՈàϬʐΝẟ>ඓ☢tcࣷǎdz☤ Âúǀ͔ͨǭ ext2 ிඣ4ext2 ϬdzÑ ݑŌūϬ ext3 ிඣ \◄ƚLʐȕᩱẋ࣏4╠\ ext3 ிඣͣƅÑ[Ľͥ ʌࣷǎɳ4ext3 ிඣࣷǎɳǽΙ ǭ⏝࿁☢Ɔ4ń ext3 ிඣᝯ☢ͩ͟ƶΞॅϢ) Ϲ਍̑Ρ Ȓ ிඣ]◄ᡅ̼ɡâிඣ4໐ ext3 ிඣʮ̩ՈrⒸǮ◄̓Ņό࢖4 ϔǒǀϘɳljĈ£࿁4ext3 ிඣǽ̓ŌȴʌrâிඣՈǀϘɳ ࿁ὃ̹☢ͩ͟ƶȭ âிඣỤtՈ۸ū4ńϔǒǀϘɳljĈ£࿁Z ext3 ȴƇr࢑µśƇϬọō4 żϬKżǛƶẒՈɥ«8ȐrljťâிඣǎϔǒՈPႸɳ9µś4ẝ࢑µś[ ZՈ râ3âݒċ਍ƟŚ4֜ޅȺˌẠǘඡϵz☢ͩ͟ƶ໐ƊН ṇʌՈẔᜐợò4ext3 ńợòẝPɳ࿁Zȭɨ JFS2 ਍ிඣÂ]ŤĄÃ ໐ú ext3 ń ƌʔϔǒrƅdz࿁ẜ◄ᡅẟᜐ̶Ƶ΅ϔǒ̱ň4IJ͢වȌɳ࿁\ѕ«żΙՈ4ɘ͢« ext3 Γťº ext2 ிඣŋ൫ ໐\◄̣éʐʮ̩ϔǒ4Ǫ̲ ext3 ּɨ ReiserFS ʐ XFS Ոȥ֜ޅ῁«ü& ext3 Ոaȣ£࿁ȭ ਍ʌợிඣ ʼnƅŰĺՈ CPU ūϬɋ4ẝP ¬ᪿ΅͐ẟᜐrĄĚ ᪂ᩥTń᪂ᩥỿṕਜ਼ͩrɥ>ඓͨ2rȈ5☦Ո໇ₓ4 ΓťϔǒḰdž£࿁4º ext2 Ḱt ext3 ☢5ƫ ˊ᩾ZǮ◄⏲͑੄řʁÐŷdzǀt ϘḰdž1ň ú]ϬȴQɆ̣é3ʮ̩3ʸśĚ ľ਍1ň4ẝǔỆȌP᯳ūϬ ext ிிඣՈϬ Kͨ2r,ϬՈĿɀ4ext3 ẜȴƇrPɃ1ͣ tune2fs dzϬz Ⱥ ext2 ǔ5ƫŌḰdž& ext34Ǒẋǡ ext3 KdzÑ]ඓçŁŰΝ ໐ָȉ¤ṁt& ext2 âிඣ Ɇ4rᄳΙՈȕ[ͨǭ4 Γť̶࢑aȣµś4ext3 Γť̶࢑aȣµś P࢑aȣµś[data=journal µś ext3 Ⱥȭ¤ƅՈâϔǒǎ metadataǎ5âிඣϔǒՈϔǒ ŷϔǒՈϔǒ ẟᜐ aȣᩴơǪP࢑aȣµśdata=ordered z້ data=writeback µś [Ǯȭ metadata ᩴơaȣ ໐]ȭϔǒẟᜐaȣᩴơ4ிඣ੥ˊɜdzÑʵǒிඣՈǒ┉1ň◄ᡅ ń ிඣՈ1ňợò^âϔǒՈPႸɳ7ⒸɆϦọō4 Ⱥ ext2 âிඣḰdž& ext3 âிඣՈ̱ňǔ੄ř Ǯ◄ᡅṗ͑Ñ[ʁÐ tune2fs -j /dev/hda9 Ḱdž඗ȘΞĚ 8.1 ¤߾4 Ě 8.1 ext2 t£Ḱdž& ext3 ੥ˊ 127֜ޅ^ৰ 8 ত âிඣ ͼ͛ ext2 ɻˊȌLJ͈ɡ ext3 ɻˊȌðK^h˝̩ÛǫÜLJ͈KŰ4ģn tune2fs ʑLJΟæĄϙβƾÝɃfLJ͈ɵȔ̢Kşϙ /etc/fstab ƏƖƋKǫĝɻˊȌn°įĝ ext2 ɯȷɡ ext3 ᩨՈƌʔ᪂̣Z Ξ/dev/hda8 4ΞȘXƗńڌ☢ext3 aȣâdzÑƌ΢ńǪP /dev/hda8 ZņP ext3 âிඣ ÂȺaȣƌ΢ńǪP̲ᾬ᪂̣/dev/hda2 Z dzÑỞẋ ṗ͑Ñ[ʁÐǒɴ mke2fs -J device=/dev/hda8 /dev/hda2 Ո e2fsprogs Ո e2fsck Γť ext3 âிඣ4ƟP ext3 âிඣᝯ۸ūr ̴żṁ᪩, ᪂̣ ͹Ϭ e2fsck ǚ̩45ͩǔ੄ř Ǯ◄ᡅṗ͑Ñ[ʁÐŷdz umount /dev/hda8 e2fsck -fy /dev/hda8 වZ¤Ẵ tune2fs «ֲQ Linux ிඣϵ ext2 âிඣḰdž& ext3 âிඣՈż੄řúͨ ǭɳżΙՈỘǐ ͢ǒɴ¯ɉäƫ⒬ożĺ4njü& ext3 «ָȉº ext2 Ǖʉ໐ǡ âிඣ ẋÍŋ൫ẋ࣏ż&¿Ž ẝ 4 ɆdzÑż̓└òŌlj᪅ிඣϔǒՈƽ͔ɳ4¤ÑƟQ Linux ிඣ ᡅūϬaȣâிඣ żlj┭Ո5śɥ«ọōŋ൫4 ext34 2M/proc ɻˊȌ /proc âிඣ«PĖâிඣ ƷÑâிඣՈ5ś&Ϭ᪃⒲ிඣͱʴϔǒȴƇȉ »ǧ4¤᫗8Ėâிඣ9«ū/proc «ᔞŃՈ ƌńzͱƌ໐]«ܰ֜Z4/proc âிඣ P࢑ͱʴʐͱʴµųȕẟ࣏process ǕễǍʻՈƶ: ẝK«/proc ՈǣȑǡƊ4ẝĖ âிඣūϬ࿁^ƌńzͱʴͱᾬՈₑᡅϔǒ඗Ȁẟᜐ~ º໐ቻǚƅ͟ẟ࣏ՈƅϬǍʻ ÂńẔᜐỞẋΝǜͱʴdžϔǡΝǜிඣ᪂า4ϬʐàϬ࣏Û῁dzÑỞẋ/proc âிඣǣ 4ிඣǍʻ Â࿁Ởẋ/proc ΝǜͱʴՈɌǍʻ4◄ᡅͼ͛Ո« Ƿϵzẝ«PᔞŃՈி ņՈ ƷǮƌńzͱƌƟ4ǒƌńՈ /proc Ոͱǭ῁«¬ɍף»[῁ඣ üǸₐ☦Ոâ ŌǕ/proc Ո!᜻«&rȴƇPᩭϬቻǚிඣẟ࣏ǍʻՈ5ƫÌ἗ ඗ȘńūϬẋ࣏ ǕɴƷ☢ƅϬ ᱉Ϧr8ƛՈᡅ˖4z«¾࿊ᩭͱʴՈǔ̶̯௤KϬƷǡĉɎǍʻ z ȳϬ¬ɍẔᜐr‑า4 /proc «ϵͱʴȋ:Ո Â̵ƅPĭˊZãṁ/proc Ո᪂̣4ẝ«ü&/proc 'ᡅϬzƌ΢ ϵͱʴȋ:ՈிඣźɍǍʻ ໐̓ᾬ ẝǍʻՈỿṕĹาńϵͱʴȋ:Ոͱƌ4üǸΞȘ ȭ/proc ɆΞ[̱ň ls -l âՈ⑃ò῁« 0 IJΞȘȐrɡ׏ẝâՈͱǭ Ćǔ̖ͣŌ׏4Pɴᬥ ̓ᾬ ₐ☦ŸnjǒǒńńՈƅǔ̶Ǎʻ4ẝ«ü&/proc ʐ͢ÂᢈՈâிඣPʳ῁ȺႮ=ͼ͸4 ᔞŃâிඣVFS 4IJƷɩণǮ«PᔞŃՈâிඣ üǸń VFS ᡅ᫇ϬƷ᪻˖ »â3ֲơՈ i-node r /proc ±ĆʵǒͱʴՈǍʻńͱƌņএּàՈâʐֲơ4ẝK 4ὧâ¿r׏ʇ«& 0 Ոƣü4¬& ϬdzÑỞẋṗ͑Ñ[ʁÐǡ¤ṁ/proc âிඣ mount -t proc proc /proc ̵ƅ⒲LՈ̑Ρ[ɥĆt£¤ṁ/proc âிඣ4ϬƶZ4 proc âdzϬzቻǚƅ͟ͱʴźɍ3ᩥ ਜ਼ƶʒɳ3ǷńẔᜐՈẟ࣏źɍ਍ּ͟Ǎʻ4໐/ /proc ՈâʐֲơẜȴƇிඣĭˊɳʟż,ՈǍʻ4ΞZ¤Ẵ /proc Ոâ ú̓ᾬ 128 Linux ̱ňிඣ‑า^੥ˊ Ƿƌńzܰ֜Z IJϬẜ«dzÑʻūϬçŁǷâPʳ Ϭâේṕף[ᔞŃՈ » zିĨ more3less3cat ਍ʁÐɡ׏ƷØ4Ξƅේṕ࣏Û᪙Ě·ŌPᔞŃâ /proc Ć ņẝâ4ቻǚͱʴՈּàǍʻ ϢȒ8ϙा9̴ ᜬ 8.1 ᪸rPₑᡅՈᪿǚிඣǍʻՈ/proc â῁«ǮᪿՈ ǎͣ͢ĿňϬ4 ᜬ 8.1 ᪿǚிඣǍʻՈ/proc âǎͣ͢ĿňϬ âȑ ňϬ᪸ Cmdline ͱʴȳ¬džϔ Cpuinfo CPU Ǎʻ Iomem IO ᪂̣ՈͱƌūϬǍʻ Interrupts º߾ᝯŤϬՈ)ǍʻʐŤϬ້ՈǍʻ Ioports I/O ঳ǧՈūϬ Kcore ிඣĭˊͱƌʻ ]dzᪿǚ Loadavg ிඣ¿ţᯣṁ Meminfo ĭˊͱƌʐdž ľūϬǍʻ Modules ¤ṁµųᜬ Mounts ŦṁՈâிඣ Partitions ிඣ᪊/Ո ľᜬ Swaps džाⒸՈ-Ϭ̑Ρ Version ͱʴČƨǍʻ Uptime ிඣẔᜐrⒸ ń/proc ֲơ[¤ƅÑϔƋʁȑՈƄֲơ῁Ϭzƌʔẟּ࣏͟Ǎʻ ໐ɣƄֲơՈϔƋ ơȑɥ«͢ȭàՈẟ࣏ PID ẝâK«Ǯᪿʒɳ4Ǹ̲ẜƅPĽȞՈ/proc/self ֲơֲ ƷūȕƟQǷńËᜐẟ࣏Ո৪ǻẢȉ4ŷΞƟϬËᜐ cat/proc/self/cmdline r ĆẘúʁÐƨ ᵯ4ẟּ࣏͟ǍʻΞᜬ 8.2 ¤߾4 ᜬ 8.2 ẟּ࣏͟ǍʻâȳẴ â ȳẴ Cmdline ẟ࣏ȳ¬džϔ Environ ɳʟǜₓ Limits ẟ࣏└:Ǎʻ Status ẟ࣏źɍ Maps ẟ࣏ūϬՈ¬ɍ⏂ȉßâ ᜬ 8.13ᜬ 8.2 Ǯ«Ϧrżᢅ3żƅϬՈ/proc â ǒ┉ZՈ/proc âᡅẠẠ̶zẝ ϔₓ4ΞȘ້ᪿ̿ẟPǹrᢧႮ=ͫ͠ᱧՈâ dzÑȭּà/proc âūϬ more ʁÐ K ϣtՈâ̓Ƀکdzńඃቻǚּ͟Ǎʻ47¤ÑūϬ more ʁÐ໐☢ cat ʁÐ «ü&\ͩ8 ੥ˊ 129֜ޅ^ৰ 8 ত âிඣ ໐ƅâΞ kcore ɥƅdz࿁☢⑃4ẝʳՈ᪡Ϭ cat ºϢ«]ȌỆՈ4 3Msysfs ɻˊȌ sysfs âிඣିĨ/proc K«ĽȞՈâிඣ4ƷՈňϬńzȺிඣՈ᪂̣ඈඋt ɶƵ඗Ȁ ϢȒȕϬzƅ◄ᡅՈ࣏ÛȴƇͱʴՈϔǒ඗ȀǍʻ4ẝâிඣ΢ń/sys ֲơ 4ᜬ 8.3 «͢Ƅֲơǎ͢¤ȯͱǭ᪸4] ᜬ 8.3 sysfs âிඣՈƄֲơǎňϬ Ƅֲơ ňϬ Block ¤ƅՈų᪂̣ Bus ிඣ¤ƅՈʇඃିƧ Class ிඣՈ᪂̣ିƧ Ξ̌ť3ตť਍ Devices ிඣ¤ƅՈ᪂̣ _Ñ᪂̣ŦṁՈʇඃିƧඈඋtɶƵ඗Ȁ 4Mtmpfs ɻˊȌG͜˕ˍáɻˊȌH Linux ՈᔞŃͱƌʐ Windows Ոඈt5ś]Ȑ Linux ՈᔞŃͱƌϵᾬ ඈtĭˊͱ ƌʐdž ľ4tmpfs Ոż̓ǭₓɥ«ẝᾬ Ոʐ4tmpfs ǔ̡Ϗ ^dzÑūϬĭˊͱƌ KdzÑūϬdž ľ4໐úƷՈ̓Ƀdzʵǒ◄˖¬ɍ ‑ üǸ]ĆỤtᰈļ᯽4Ǹ̲ƷՈ ᪿ΅ợòǔȷ PჰƉ¥῁ϬƷǡȴŋɳ࿁4 5Mswap ɻˊȌ ʐ tmpfs ]Ȑ swap ǮϬzdž ľ4Linux ƅPĽͥ ŷdž ľՈ̓Ƀ«ிඣĭˊ ͱƌՈǹ ໐dž ľ« Linux ẔᜐՈȑ/ ľ4Ởîdž ľǯň swap ľ«ü& ƷǮňϬzdž ľ údž ľǮ࿁ūϬ swap âிඣ4swap ]ϵϬȋ: ໐« Linux ੥ˊՈȭᬥ4 6MΓƘƖŦsĝɻˊȌ ᔞŃâிඣ«PǔƅϬՈɁ dzÑǒɴȭ̶࢑âிඣՈΓť4Ǹ̲ ᔞŃâி ]ȐՈâிඣ4ẝʳ^ȴʌr Linux Ո̡Ϗɳ njǒɴr Z֜ޅඣẜ̭᩼ϬńȐPų ]Ṟ̏ňிඣ3ɳʟⒸՈᰈļ͝4┨rZ☦¤ẴՈ࢑ Linux âிඣ̲ Linux ẜΓťǔ ̶âிඣ Ξ FAT163FAT323sysV3nfs3iso9660 ਍4ƅPͥᡅ᪸Ո« ᰯᰯƅȑՈ NTFS Â]ᝯ RHEL 5 Sever ָȉΓť ◄ᡅƽញּàՈ RMP ĉÂŦṁ±dzÑūϬ4 8.1.2 ņ Linux âிඣ Ɵ◄ᡅ¤ṁP ľŷPâிඣ r Ŋ̴ᡅɆՈɥ«ܲᩨẝ ľՈâிඣି Ƨŷ ľʸśĚ ϢȒ±࿁ŦṁūϬ4ŦṁՈ5ͩƅǔ̶ ŷΞ mount z ້ǚΝ /etc/fstab ¤§ľ1ͣǡ ľ z«¤Pų,Ոܰ֜r ɥ◄ᡅϬ ǒɴŌƶႮ¬¤ṁ4Ɵ,ʺP,Ո ľ ϢȒ±࿁ņ ľՈâிඣ żȒ±«Ŧṁâிඣ4 1Mǫ ¬ľ«ȭƌʔ᪂̣໐ᣄՈ żᢅՈɥ«ƨŌܰ֜zࢿ¬ܰ֜ƟϢKĉŐ U ֜਍ࢿ ƌʔ᪂̣ 4 ľ«&rȺPųṇ̓ՈƌʔाⒸ tᆩ¾ṇɃՈľǻÑƍᱷūϬ◄˖4ń ḻ̌ňՈ1ͣƅ fdisk3parted3cfdisk ਍ ᕁϢȒ້ńɌ5☦ƅĄͥ Linux ẟᜐܰ֜ 130 Linux ̱ňிඣ‑า^੥ˊ IJɥֲQàϬ̑Ρǡ׏żΙϬՈẜ« fdisk4 Ξ parted Ոϔọ̌é£࿁ 2Mɤü̼ ʸśĚ࿁̻ᩭ ľt&Ɍ࢑ͣĿՈâிඣ ΞZ☦᩶4ẋՈ sysfs ਍4ϬՈʸśĚ1 ͣƅ mkfs3mkfs.ext33mkfs.reiserfs3mkfs.ext23mkfs.msdos3mkfs.vfat3mkswap ਍4◄ᡅͼ ͛Ո« ƅՈƶĆńʸśĚt reiserfs rȴ߾]࿁ņ reiserfs âிඣ ẝ«ü&᪩ƶZ ̵ƅ mkfs.reiserfs z້ mkreiserfs ºตZ[ṁPŷdzᢧΟẝ࢑⒲L4 mkfs ՈūϬ5ͩ ʁÐʸśmkfs -t filesystem device ʁÐ᪸ẝₐՈ filesystemâிඣ ȑ/ᡅūǎ Ξ ext33reiserfs3ext23fat323 ľ3ḳ֜3̵ȥ਍4◄ᡅͼ͛Ո ɥ«ƌʔ᪂̣ ΞPܰ֜Ո msdos ਍4໐ device᪂̣ ľ̑Ρ º໐lj᪅«ƅ⍌ȭɳՈʸśĚ4ūϬ fdisk-l ľ7QPǎᡅɡ׏ܰ֜ ńʸśĚ » ľ ľ̑Ρ4ẝǍʻǔₑᡅ ŷΞƅPϬ̿ʸśĚP U ֜ sda ՈP ǡɡ׏ à᪩ṗ͑ fdisk -l /dev/sda IJΞȘXƗȺ sda ʸśĚt ext3 à᪩ūϬΞ[ʁÐ mkfs -t ext3 /dev/sda ľr4 t£7ȒɥdzÑָȉŦṁẝ ͢Âό࢑Ϭͩ mkfs.ext3 /dev/sda6 Ⱥ ľʸśĚt ext3 âிඣ mke2fs -j /dev/sda6 Ⱥ ľʸśĚt ext3 âிඣ mkfs.ext2 /dev/sda6 Ⱥ ľʸśĚt ext2 âிඣ mke2fs /dev/sda6 Ⱥ ľʸśĚt ext2 âிඣ mkfs.reiserfs /dev/sda6 Ⱥ ľʸśĚt reiserfs âிඣ mkfs.vfat /dev/sda6 Ⱥ ľʸśĚt fat32 âிඣ mkfs.msdos /dev/sda6 Ⱥ ľʸśĚt fat16 âிඣ msdos âிඣɥ« fat16 mkdosfs /dev/sda6 Ⱥ ľʸśĚt fat16 âிඣ Ȑ mkfs.msdos mkswap ՈϬͩ mkswap /dev/sda6 ņǸ ľ& swap dž ľ swapon /dev/sda6 ¤ṁdž ľ swapoff /dev/sda6 ͟⒱dž ľ ľՈ5ś ɡ׏ swap swapon /dev/sda6 ¤ṁdž ľ ľ swapon -s ɡ׏ swap 8.1.3 Ŧṁʐżṁâிඣ ʐ Windows ]Ȑ Linux ¤ƅƌʔ᪂̣῁ᡅඓẋŦṁ̱ň±࿁ūϬ4ɘ͢«ϬՈܰ 3U ֜3̵ȥ਍᪂̣ !ƚ້ǔǭȤᩴŦṁ z«ūϬǀɩ7ȒՈżṁ̱ň ẝPͥȨ֜ ǣₑᢊ4 ᫗Ŧṁ ɥ«Ⱥƌʔ·ᯬՈͱǭɆPȸ ΢4PūǎՈֲơƿ4ẝֲơɥ¤ ੥ˊ 131֜ޅ^ৰ 8 ত âிඣ tr¤᫗ՈŦṁͥ4ẝʳPǡ ȭƌʔ·ᯬՈ᪃⒲ɥḰĚtrȭŦṁͥՈ᪃⒲4njü&ẝ ȸ«PȭP͟ி üǸPŦṁͥȐrǮΓťPƌʔ᪂̣4 ᩨ᪂า4ΞȘ]ūŦṁͥɥϵƷǡūǎŦṁֲơڌľՈ ֜ޅetc/fstab [Ոâ«Ȉ/ úǒɴ͟ƶrႮ¬żṁ̱ň4Ǹ̲ ࢿ¬ƌʔ᪂̣Ξ̵ȥ3U ֜3ࢿ¬ܰ֜਍^dzÑ᪂า&ȳ ¬Ⴎ¬Ŧṁ KdzÑń͢Ârȅʵǒ◄ᡅ¯¬Ŧṁzżṁ4ͼ͛ Ɵࢿ¬·ᯬūϬǀɩ7Ȓ Pǎᡅżṁ±࿁ǚϦ ȪĆϦɴ⏝᪳4 1MʣÛʑLJ mount ʁÐʸśmount [-t vfstype] [-o options] device dir ʁÐ᪸mount ʁÐdzÑȺūǎՈ᪂̣Ŧṁ4>ƌńՈֲơ ƟâிඣŦṁǀtȒ ϬdzỞẋȭ᪩ֲơ̱ňǡǒɴȭūǎ᪂̣Ոâᪿ΅Ո̱ň4 džϔ᪸ -aŦṁ fstab ĉȯՈ¤ƅâிඣ4 -fµŃϘŦṁՈẋ࣏ Â]ǒ┉Ŧṁ᪂̣4 -Fʐ-a džϔP᰻ūϬÑÂᜐ.ÛŦṁɣ᪂̣4 -lº߾¤ƅ>ŦṁՈிඣ ĉŐŻʃੂ4 -L<ʃੂ>ǮŦṁ৪ȌūǎʃੂՈ ľ4 -nńŦṁẋ࣏]ȕ/etc/mtab ΅͑ᰈ4 -o᪂าâிඣŦṁrՈ̱ňdžϔ4 -rÑǮᪿµśŦṁ᪂̣4 -tūǎᡅŦṁՈâିƧ4 -wÑᪿ΅µśŦṁ᪂̣4 bindₑ,ŦṁP᪂̣4,ֲơńŦṁͥ[᪂̣῁dzÑϬ4-- moveîŦṁ᪂̣Ŧṁ4,Ոֲơ[4-- ͼ͛mount ʑLJ^ˏ ŻʣÛļKƖjˌȶʣÛļ^áÝõKȶ˝ ŻȶʣÛļKɃ fʣÛ̢æhʣÛļʲdzįô˫Ƌʳ"ĝŸ̧Ȕ 2M̩ÛʑLJ umount ʁÐʸśumount [-ahnrvV][-t <filesystem type>][filesystem] ʁÐ᪸umount ʁÐdzÑżṁâிඣ4 džϔ᪸ -ażṁ/etc/mtab ᩴơՈ¤ƅâிඣ4 -hº߾z­4 -nżṁr]ᡅȺǍʻƌ͑/etc/mtab â4 -rᆩ\ͩt£żṁ ɑ᪙ÑǮᪿՈ5śₑ,Ŧ͑âிඣ4 -t<filesystem type>±żṁọ-¤ūǎՈâிඣ4 -vËᜐrº߾᪪ඊՈǍʻ4 -Vº߾ČƨǍʻ4 filesystem]┨rָȉūǎâிඣ̲ KdzÑϬ᪂̣ȑࢴzŦṁͥǡᜬ߾âிඣ4] ͼ͛Ɓ>ŶhÉaʐͿʣÛļųˏ umount ɻˊȌK^ˎȋ˲͆ĆȁˎʣÛļ̩ÛK ɷøh>şʣÛGɩÉaKƗɩʣÛļHð9Û͹ȉ 132 Linux ̱ňிඣ‑า^੥ˊ 8.2 ÙX̡ʧ͞ 8.2.1 §¤džाⒸ ᩨՈ swapڌľ Pჰ« swap ʸśՈ4ǔ̶rȅϬĆǕɴ džाⒸŷ 8.1 ᅆ¤᩶Ոdž džाⒸ\ͩƍᱷɌḳâՈżĺƽញᡅ˖4ŷΞ Linux [Ո Oracle ƟƅPϬ ‑Ոĭ ᩨՈdžाⒸǮƅ 1G ɥ◄ᡅȭ͢ẟڌ»ẜ◄ᡅ 2G Ո swap džाⒸ dz ͱƌ& 1Gˊ ᜐÍʉ4§¤ swap džाⒸՈǹɘΞ[4 üǸᡅܲljƅᱷ̻ՈाⒸǡϬň ֜ޅľᡅϬ4 ZՈmŅाⒸ dž֜ޅɡ̼ 1 swap džाⒸ4ȌሔūϬ KVM 1ͣ4̼ɡΙȒdzÑẟ͑[Pǹ4 ńPưএՈâிඣ§¤P swap džâ Âúń/opt/image ֲơ§¤ 2G 2 Ո swap džâ4§¤džâՈʁÐΞ[ dd if=/dev/zero of=/opt/image/swap bs=1024 count=2048000 ⍣Ȓ׏4º߾ZẘúΞ[඗Ș ⍣4Ņό ΞȘt£ PჰĆńό 2048000+0 records in 2048000+0 records out 2097152000 bytes (2.1 GB) copied, 272.867 seconds, 7.7 MB/s 3 ņÂ᪂าdž ľ ʁÐ& mkswap ūϬ5ͩΞ[ mkswap /opt/image/swap ΞȘt£ º߾ZĆẘúΞ[඗Ș Setting up swapspace version 1, size = 2097147 kB 4 ̼ɡɴƅՈdžाⒸ̓Ƀ ʁÐ& free free -m ΞȘt£ º߾ZĆẘúΞ[඗Ș Total used free shared buffers cached Mem: 1011 989 21 0 1 875 -/+ buffers/cache: 112 898 Swap: 1027 0 1027 KdzÑỞẋ̼ɡ meminfo âǡǒɴ 5ͩΞ[ grep SwapTotal /proc/meminfo 5 ȳ¬,ʺ¤Ո 2G swap džाⒸ ʁÐ& swapon swapon /opt/image/swap 6 ܲᩨ,ʺ¤Ո 2G džाⒸ>ඓϣά ʁÐ& free -m Total used free shared buffers cached Mem: 1011 995 15 0 4 877 -/+ buffers/cache: 113 897 Swap: 3027 0 3027 KdzÑỞẋ̼ɡ meminfo âǡǒɴ 5ͩΞ[ grep SwapTotal /proc/meminfo ੥ˊ 133֜ޅ^ৰ 8 ত âிඣ 7 ǚ Ν /etc/fstab â ū,§¤Ո swap džľȳ¬Ⴎ¬Ẕᜐ 5ͩ«ńâՈżȒ¤ ͑Ξ[Ƌ৪ /opt/image/swap swap swap defaults 0 0 ႷǸǀt§¤ swap dž ľՈ1ň4 8.2.2 $┨džाⒸ Ɵdžľ]͹ᝯ◄ᡅ ɥᡅǎr$┨dž ľÑ₎΢ᝯŤϬՈाⒸ4džâPჰ῁ͣƅ Ɵ̓ՈĿࢳ4ǎ r ₎΢ƷØȭȴʌிඣɳ࿁3ʺ¤ᰈļ-Ϭɋƅǔₑ̓Ո͛54IJ « $┨7ּ QPǎᡅܲᩨ᪩ाⒸ]͹ᝯ◄ᡅ4$┨Ոẋ࣏Ξ[¤߾ ľ]࿁ᝯȳϬ4 ľ]࿁ᝯŦṁ dž ȑ/̴ᩭܰ֜ȥ¬]࿁ණනᝯūϬ ŷ 1 ż੄řՈ¢ͩ«ńεɘµś[ȳ¬ிඣ4ΞȘȥ¬]ĉȯçŁᝯūϬՈ ľ dzÑūϬ ǡ͟⒱ܰ֜ȥ¬ZՈ¤ƅdžाⒸ4 ľՈʁЫ¬4 swapoff ʁÐúȒP[ȳ¬dž 2 Ñ root ᵯéẟ͑ிඣ ṗ͑Ñ[ʁÐǡܲǎdž ľ>ᝯࡅϬ ẝ ₐՈ/dev/hdb2 « dž ľ swapoff /dev/hdb2 º/etc/fstab $┨᪩-ֲ4 3 4 ūϬ parted ʁÐǡ$┨ ľ parted /dev/hdb ͼ͛ŃŪĝ/dev/hdb ĆϙáÝΓƏĝ swap ͈ĝW̝"ŦΦĝÉaʐKh̴ æɬ͛ϙ͈fDZΥĝÉaʐ ľÂ(ǎ ËᜐZPǹȒĆẟ͑ parted ȴ߾ ńẝȴ߾[ṗ͑ print ɡ׏ɴƌՈ 5 ̿$┨Ոdž ľՈƵ᪂̣ǻ ϢȒṗ͑ rm MINOR ẝ ₐՈ MINOR «Ϭ̿$┨Ո ľՈ Ƶ᪂̣ǻ4ẝPͥǔₑᡅ ü&ȭிඣՈΝǜĆএŷϣά ẝẋ࣏«]dzỊՈ üǸȑ/P Ƶɳ⏲͑ǷܲՈƵ᪂̣ǻ4 6 ⏲͑ quit ỄϦ parted ȴ߾৪4 7Z֜ޅľ IJdžâ¹Ϣƌńz ZẴǹɘ͔ᾬǀtȒɥ>ඓńிඣ$┨rdž úŤϬ؄̓ₓՈाⒸ üǸẜᡅËᜐΞ[̱ň$┨džâ 1 Ñ root ᵯéẟ͑ிඣ ࡅϬdžâ ʁÐΞ[ swapoff /swapfile Ǹ̠Ո swapfile ɥ«džâ ɣிඣ3ɣdžâՈȑࢴ῁Ć]Ȑ Ϭà᪩Żdž tႮ=Ոdžâȑ4 º/etc/fstab $┨᪩-ֲ4 2 3 $┨â ʁÐΞ[ rm /swapfile ႷǸ PdžाⒸɥǀ͔ᝯ$┨r ाⒸǣÑ₎΢4 8.3 Ν .
Recommended publications
  • CST8207 – Linux O/S I
    Mounting a Filesystem Directory Structure Fstab Mount command CST8207 - Algonquin College 2 Chapter 12: page 467 - 496 CST8207 - Algonquin College 3 The mount utility connects filesystems to the Linux directory hierarchy. The mount point is a directory in the local filesystem where you can access mounted filesystem. This directory must exist before you can mount a filesystem. All filesystems visible on the system exist as a mounted filesystem someplace below the root (/) directory CST8207 - Algonquin College 4 can be mounted manually ◦ can be listed in /etc/fstab, but not necessary ◦ all mounting information supplied manually at command line by user or administrator can be mounted automatically on startup ◦ must be listed /etc/fstab, with all appropriate information and options required Every filesystem, drive, storage device is listed as a mounted filesystem associated to a directory someplace under the root (/) directory CST8207 - Algonquin College 5 CST8207 - Algonquin College 6 Benefits Scalable ◦ As new drives are added and new partitions are created, further filesystems can be mounted at various mount points as required. ◦ This means a Linux system does not need to worry about running out of disk space. Transparent ◦ No application would stop working if transferred to a different partition, because access to data is done via the mount point. ◦ Also transparent to user CST8207 - Algonquin College 7 All known filesystems volumes are typically listed in the /etc/fstab (static information about filesystem) file to help automate the mounting process If it is not listed in the /etc/fstab file, then all appropriate information about the filesystem needs to be listed manually at the command line.
    [Show full text]
  • Practice Test Version 1.8 LPI 117-101: Practice Exam QUESTION NO: 1 CORRECT TEXT
    LPI 117-101 117-101 LPI 101 General Linux, Part I Practice Test Version 1.8 LPI 117-101: Practice Exam QUESTION NO: 1 CORRECT TEXT You suspect that a new ethernet card might be conflicting with another device. Which file should you check within the /proc tree to learn which IRQs are being used by which kernel drives? Answer: interrupts QUESTION NO: 2 How many SCSI ids for peripherals can SCSI-1 support? A. 5 B. 6 C. 7 D. 8 Answer: C Explanation: SCSI-1 support total 7 peripherals. There are several different types of SCSI devices. The original SCSI specification is commonly referred to as SCSI-1. The newer specification, SCSI-2, offers increased speed and performance, as well as new commands. Fast SCSI increases throughput to more than 10MB per second. Fast-Wide SCSI provides a wider data path and throughput of up to 40MB per second and up to 15 devices. There there are Ultra-SCSI and Ultra-Wide-SCSI QUESTION NO: 3 You need to install a fax server. Which type of fax/modem should you install to insure Linux compatibility? Test-King.com A. External Serial Fax/modem B. External USB Fax/modem C. Internal ISA Fax/modem D. Internal PCI Fax/modem Answer: A QUESTION NO: 4 You are running Linux 2.0.36 and you need to add a USB mouse to your system. Which of the following statements is true? "Welcome to Certification's Main Event" - www.test-king.com 2 LPI 117-101: Practice Exam A. You need to rebuild the kernel.
    [Show full text]
  • Control of Protein Orientation on Gold Nanoparticles † ∥ † § † ∥ ⊥ Wayne Lin, Thomas Insley, Marcus D
    Article pubs.acs.org/JPCC Control of Protein Orientation on Gold Nanoparticles † ∥ † § † ∥ ⊥ Wayne Lin, Thomas Insley, Marcus D. Tuttle, Lingyang Zhu, Deborah A. Berthold, Petr Kral,́, † ‡ # † Chad M. Rienstra,*, , , and Catherine J. Murphy*, † ‡ Department of Chemistry and Department of Biochemistry, University of Illinois at Urbana−Champaign, 600 South Matthews Avenue, Urbana, Illinois 61801, United States § School of Chemical Sciences, University of Illinois at Urbana−Champaign, 505 South Matthews Avenue, Urbana, Illinois 61801, United States ∥ ⊥ Department of Chemistry and Department of Physics, University of Illinois at Chicago, 845 West Taylor Street, Chicago, Illinois 60607, United States # Center for Biophysics and Computational Biology, University of Illinois at Urbana−Champaign, 607 South Matthews Avenue, Urbana, Illinois 61801, United States *S Supporting Information ABSTRACT: Gold nanoparticles (Au NPs) have attracted much attention due to their potential applications in nanomedicine. While numerous studies have quantified biomolecular adsorption to Au NPs in terms of equilibrium binding constants, far less is known about biomolecular orientation on nanoparticle surfaces. In this study, the binding of the protein α-synuclein to citrate and (16- mercaptohexadecyl)trimethylammonium bromide (MTAB)-coated 12 nm Au NPs is examined by heteronuclear single quantum coherence NMR spectroscopy to provide site-specific measurements of protein−nanoparticle binding. Molecular dynamics simulations support the orientation assignments, which
    [Show full text]
  • File System, Files, and *Tab /Etc/Fstab
    File system, files, and *tab File system files directories volumes, file systems mounting points local versus networked file systems 1 /etc/fstab Specifies what is to be mounted where and how fs_spec: describes block special device for remote filesystem to be mounted fs_file: describes the mount point fs_vfstype: describes the type of file system fs_mntops: describes the mount options associated with the filesystem 2 /etc/fstab cont. fs_freq: used by the dump command fs_passno: used by fsck to determine the order in which checks are done at boot time. Root file systems should be specified as 1, others should be 2. Value 0 means that file system does not need to be checked 3 /etc/fstab 4 from blocks to mounting points metadata inodes directories superblocks 5 mounting file systems mounting e.g., mount -a unmounting manually or during shutdown umount 6 /etc/mtab see what is mounted 7 Network File System Access file system (FS) over a network looks like a local file system to user e.g. mount user FS rather than duplicating it (which would be a disaster) Developed by Sun Microsystems (mid 80s) history for NFS: NFS, NFSv2, NFSv3, NFSv4 RFC 3530 (from 2003) take a look to see what these RFCs are like!) 8 Network File System How does this actually work? server needs to export the system client needs to mount the system server: /etc/exports file client: /etc/fstab file 9 Network File System Security concerns UID GID What problems could arise? 10 Network File System example from our raid system (what is a RAID again?) Example of exports file from
    [Show full text]
  • The Linux Command Line
    The Linux Command Line Fifth Internet Edition William Shotts A LinuxCommand.org Book Copyright ©2008-2019, William E. Shotts, Jr. This work is licensed under the Creative Commons Attribution-Noncommercial-No De- rivative Works 3.0 United States License. To view a copy of this license, visit the link above or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042. A version of this book is also available in printed form, published by No Starch Press. Copies may be purchased wherever fine books are sold. No Starch Press also offers elec- tronic formats for popular e-readers. They can be reached at: https://www.nostarch.com. Linux® is the registered trademark of Linus Torvalds. All other trademarks belong to their respective owners. This book is part of the LinuxCommand.org project, a site for Linux education and advo- cacy devoted to helping users of legacy operating systems migrate into the future. You may contact the LinuxCommand.org project at http://linuxcommand.org. Release History Version Date Description 19.01A January 28, 2019 Fifth Internet Edition (Corrected TOC) 19.01 January 17, 2019 Fifth Internet Edition. 17.10 October 19, 2017 Fourth Internet Edition. 16.07 July 28, 2016 Third Internet Edition. 13.07 July 6, 2013 Second Internet Edition. 09.12 December 14, 2009 First Internet Edition. Table of Contents Introduction....................................................................................................xvi Why Use the Command Line?......................................................................................xvi
    [Show full text]
  • Filesystem Hierarchy Standard
    Filesystem Hierarchy Standard LSB Workgroup, The Linux Foundation Filesystem Hierarchy Standard LSB Workgroup, The Linux Foundation Version 3.0 Publication date March 19, 2015 Copyright © 2015 The Linux Foundation Copyright © 1994-2004 Daniel Quinlan Copyright © 2001-2004 Paul 'Rusty' Russell Copyright © 2003-2004 Christopher Yeoh Abstract This standard consists of a set of requirements and guidelines for file and directory placement under UNIX-like operating systems. The guidelines are intended to support interoperability of applications, system administration tools, development tools, and scripts as well as greater uniformity of documentation for these systems. All trademarks and copyrights are owned by their owners, unless specifically noted otherwise. Use of a term in this document should not be regarded as affecting the validity of any trademark or service mark. Permission is granted to make and distribute verbatim copies of this standard provided the copyright and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this standard under the conditions for verbatim copying, provided also that the title page is labeled as modified including a reference to the original standard, provided that information on retrieving the original standard is included, and provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this standard into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the copyright holder. Dedication This release is dedicated to the memory of Christopher Yeoh, a long-time friend and colleague, and one of the original editors of the FHS.
    [Show full text]
  • Advanced Bash-Scripting Guide
    Advanced Bash−Scripting Guide An in−depth exploration of the art of shell scripting Mendel Cooper <[email protected]> 2.2 31 October 2003 Revision History Revision 0.1 14 June 2000 Revised by: mc Initial release. Revision 0.2 30 October 2000 Revised by: mc Bugs fixed, plus much additional material and more example scripts. Revision 0.3 12 February 2001 Revised by: mc Another major update. Revision 0.4 08 July 2001 Revised by: mc More bugfixes, much more material, more scripts − a complete revision and expansion of the book. Revision 0.5 03 September 2001 Revised by: mc Major update. Bugfixes, material added, chapters and sections reorganized. Revision 1.0 14 October 2001 Revised by: mc Bugfixes, reorganization, material added. Stable release. Revision 1.1 06 January 2002 Revised by: mc Bugfixes, material and scripts added. Revision 1.2 31 March 2002 Revised by: mc Bugfixes, material and scripts added. Revision 1.3 02 June 2002 Revised by: mc 'TANGERINE' release: A few bugfixes, much more material and scripts added. Revision 1.4 16 June 2002 Revised by: mc 'MANGO' release: Quite a number of typos fixed, more material and scripts added. Revision 1.5 13 July 2002 Revised by: mc 'PAPAYA' release: A few bugfixes, much more material and scripts added. Revision 1.6 29 September 2002 Revised by: mc 'POMEGRANATE' release: some bugfixes, more material, one more script added. Revision 1.7 05 January 2003 Revised by: mc 'COCONUT' release: a couple of bugfixes, more material, one more script. Revision 1.8 10 May 2003 Revised by: mc 'BREADFRUIT' release: a number of bugfixes, more scripts and material.
    [Show full text]
  • CIS 191 Linux Lab Exercise
    CIS 191 Linux Lab Exercise Lab 9: Backup and Restore Fall 2008 Lab 9: Backup and Restore The purpose of this lab is to explore the different types of backups and methods of restoring them. We will look at three utilities often used for backups and learn the advantages and disadvantages of each. Supplies • VMWare Server 1.05 or higher • Benji VM Preconfiguration • Labs 6 and Labs 7 completed on a pristine Benji VM [root@benji /]# fdisk -l Disk /dev/sda: 5368 MB, 5368709120 bytes 255 heads, 63 sectors/track, 652 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 382 3068383+ 83 Linux /dev/sda2 383 447 522112+ 82 Linux swap / Solaris /dev/sda3 448 511 514080 83 Linux /dev/sda4 512 652 1132582+ 5 Extended /dev/sda5 512 549 305203+ 83 Linux /dev/sda6 550 556 56196 83 Linux /dev/sda7 557 581 200781 83 Linux [root@benji /]# [root@benji /]# mount /dev/sda1 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) /dev/sda5 on /opt type ext3 (rw) /dev/sda3 on /var type ext3 (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) /dev/sda7 on /home type ext3 (rw,usrquota) [root@benji /]# cat /etc/fstab LABEL=/1 / ext3 defaults 1 1 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults 0 0 LABEL=/opt /opt ext3 defaults 1 2 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 LABEL=/var /var ext3 defaults 1 2 LABEL=SWAP-sda2 swap swap defaults 0 0 LABEL=/home /home ext3 usrquota,defaults 1 2 [root@benji /]# Forum If you get stuck on one of the steps below don’t beat your head against the wall.
    [Show full text]
  • BSD UNIX Toolbox 1000+ Commands for Freebsd, Openbsd
    76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page iii BSD UNIX® TOOLBOX 1000+ Commands for FreeBSD®, OpenBSD, and NetBSD®Power Users Christopher Negus François Caen 76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page ii 76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page i BSD UNIX® TOOLBOX 76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page ii 76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page iii BSD UNIX® TOOLBOX 1000+ Commands for FreeBSD®, OpenBSD, and NetBSD®Power Users Christopher Negus François Caen 76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page iv BSD UNIX® Toolbox: 1000+ Commands for FreeBSD®, OpenBSD, and NetBSD® Power Users Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2008 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: 978-0-470-37603-4 Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 Library of Congress Cataloging-in-Publication Data is available from the publisher. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permis- sion should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, or online at http://www.wiley.com/go/permissions.
    [Show full text]
  • Connecting the Storage System to the Solaris Host
    Configuration Guide for Solaris™ Host Attachment Hitachi Virtual Storage Platform Hitachi Universal Storage Platform V/VM FASTFIND LINKS Document Organization Product Version Getting Help Contents MK-96RD632-05 Copyright © 2010 Hitachi, Ltd., all rights reserved. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, or stored in a database or retrieval system for any purpose without the express written permission of Hitachi, Ltd. (hereinafter referred to as “Hitachi”) and Hitachi Data Systems Corporation (hereinafter referred to as “Hitachi Data Systems”). Hitachi Data Systems reserves the right to make changes to this document at any time without notice and assumes no responsibility for its use. This document contains the most current information available at the time of publication. When new and/or revised information becomes available, this entire document will be updated and distributed to all registered users. All of the features described in this document may not be currently available. Refer to the most recent product announcement or contact your local Hitachi Data Systems sales office for information about feature and product availability. Notice: Hitachi Data Systems products and services can be ordered only under the terms and conditions of the applicable Hitachi Data Systems agreement(s). The use of Hitachi Data Systems products is governed by the terms of your agreement(s) with Hitachi Data Systems. Hitachi is a registered trademark of Hitachi, Ltd. in the United States and other countries. Hitachi Data Systems is a registered trademark and service mark of Hitachi, Ltd.
    [Show full text]
  • Oracle® Linux 7 Managing File Systems
    Oracle® Linux 7 Managing File Systems F32760-07 August 2021 Oracle Legal Notices Copyright © 2020, 2021, Oracle and/or its affiliates. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are "commercial computer software" or "commercial computer software documentation" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, reproduction, duplication, release, display, disclosure, modification, preparation of derivative works, and/or adaptation of i) Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs), ii) Oracle computer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in the license contained in the applicable contract.
    [Show full text]
  • Filesystem Considerations for Embedded Devices ELC2015 03/25/15
    Filesystem considerations for embedded devices ELC2015 03/25/15 Tristan Lelong Senior embedded software engineer Filesystem considerations ABSTRACT The goal of this presentation is to answer a question asked by several customers: which filesystem should you use within your embedded design’s eMMC/SDCard? These storage devices use a standard block interface, compatible with traditional filesystems, but constraints are not those of desktop PC environments. EXT2/3/4, BTRFS, F2FS are the first of many solutions which come to mind, but how do they all compare? Typical queries include performance, longevity, tools availability, support, and power loss robustness. This presentation will not dive into implementation details but will instead summarize provided answers with the help of various figures and meaningful test results. 2 TABLE OF CONTENTS 1. Introduction 2. Block devices 3. Available filesystems 4. Performances 5. Tools 6. Reliability 7. Conclusion Filesystem considerations ABOUT THE AUTHOR • Tristan Lelong • Embedded software engineer @ Adeneo Embedded • French, living in the Pacific northwest • Embedded software, free software, and Linux kernel enthusiast. 4 Introduction Filesystem considerations Introduction INTRODUCTION More and more embedded designs rely on smart memory chips rather than bare NAND or NOR. This presentation will start by describing: • Some context to help understand the differences between NAND and MMC • Some typical requirements found in embedded devices designs • Potential filesystems to use on MMC devices 6 Filesystem considerations Introduction INTRODUCTION Focus will then move to block filesystems. How they are supported, what feature do they advertise. To help understand how they compare, we will present some benchmarks and comparisons regarding: • Tools • Reliability • Performances 7 Block devices Filesystem considerations Block devices MMC, EMMC, SD CARD Vocabulary: • MMC: MultiMediaCard is a memory card unveiled in 1997 by SanDisk and Siemens based on NAND flash memory.
    [Show full text]