Tag: fdisk
How to automate fdisk (how to partition a lot of disks quickly)
February 12, 2008 Leave a comment
Imagine you need to create say 10 disks with predefined partitions loaded with some software. The ideal solution would be automatic disk partitioning and copying the software to it. While copying files is an easy-to-do everyday procedure partitioning is a bit more tricky (really, just a little bit). Here is…
How to disable automount in linux (Re-reading the partition table failed with error 16)
February 7, 2008 1 Comment
Imagine you’re repartitioning a disk and when you quit fdisk writing the new partition table automount tries to mount new partitions. So instead of refreshed disk ready for newfs you get this warning:
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old…