ผลต่างระหว่างรุ่นของ "เคล็ดไม่ลับกับอูบุนตู"

เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Ans (คุย | ส่วนร่วม)
Ans (คุย | ส่วนร่วม)
→‎partprobe: +fdisk warning
บรรทัดที่ 100:
 
== partprobe ==
บางครั้ง หลังจาก แก้ไข และ save partition table ด้วยคำสั่ง fdisk แล้ว จะพบข้อความเตือนว่า,
ในกรณีที่ต้องการให้ kernel อ่านค่า partition table ใหม่แบบ on-the-fly โดยไม่ต้อง reboot หรือ unmount filesystem บน disk ลูกนั้น, ให้ใช้คำสั่ง partprobe.
<pre>
Calling ioctl() to re-read partition table.
 
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
</pre>
 
ในจากกรณีที่ดังกล่าว, ถ้าต้องการให้ kernel อ่านค่า partition table ใหม่ แบบ on-the-fly โดยไม่ต้อง reboot หรือ unmount filesystem บน disk ลูกนั้น, ให้ใช้ run คำสั่ง <pre>$ partprobe</pre>.
 
== ubuntu repository ==