Showing newly created partition without reboot/partprobe.
Hello!
I've edited a partition table on a HDD, how can I make newly created partitions appear in /dev without rebooting or using partprobe? Thanks. |
Sorry about my questions, but did you create a new file system on the new partition and did you create a mount point for the new partition?
|
Quote:
After that I've deleted all partitions once again, and made a copy from another drive using "dd if=/dev/hdc of=/dev/hdd bs=10M" this created valid filesystem on the drive /dev/hdd (partitions hdd1..hdd5) but new partitions didn't appear until reboot. So I'm just curios - how can I "tell" a kernel that partition table has changed and corresponding /dev/hd* nodes must be recreated? |
"man partprobe" - very first line.
Quote:
|
Quote:
hdparm -z /dev/hdd does what I was looking for. Problem solved. |
All times are GMT -5. The time now is 08:44 PM. |