How mount works in barebox

Mounting a filesystem ontop of a device is working like devices and drivers are finding together.

The mount command creates a new device with the filesystem name as the driver for this "device". So the framework is able to merge both parts together.

By the way: With this feature its impossible to accidentely remove partitions in use. A partition is internally also a device. If its mounted it will be marked as busy, so an delpart command fails, until the filesystem has been unmounted.


Generated on Fri Dec 25 14:13:15 2009 for barebox by  doxygen 1.5.6