Growlight: Difference between revisions

No edit summary
Line 7: Line 7:
<html><a href='http://www.pledgie.com/campaigns/18116'><img alt='Click here to lend your support to: Growlight - Total disk management and make a donation at www.pledgie.com !' src='http://www.pledgie.com/campaigns/18116.png?skin_name=chrome' border='0' /></a></html>
<html><a href='http://www.pledgie.com/campaigns/18116'><img alt='Click here to lend your support to: Growlight - Total disk management and make a donation at www.pledgie.com !' src='http://www.pledgie.com/campaigns/18116.png?skin_name=chrome' border='0' /></a></html>
==Partitions and the [[Linux]] kernel==
==Partitions and the [[Linux]] kernel==
When a disk's partitioning is changed, the kernel must be notified via an explicit ioctl() or [[sysfs]] operation.
* From the command line: echo 1 | sudo tee -a /sys/block/<device>/device/rescan
* From C: use the BLKRRPART or BLKPG ioctls


==Identifying Block Devices==
==Identifying Block Devices==