[oe] machine-specific udev packages
Richard Purdie
rpurdie at rpsys.net
Wed Sep 13 14:51:13 UTC 2006
On Wed, 2006-09-13 at 12:52 +0200, pHilipp Zabel wrote:
> > We also
> > need to be more intelligent about automounting eg, not mounting /dev/hda
> > when its partitioned and hda1, hda2 are present etc.
>
> Definitely. As mount.sh grows in size and functionality, aren't we
> starting to duplicate pmount?
Yes. I looked at pmount and its remarkably stupid though and designed
for desktops. The problems that come back to mind are:
1. Incompatible with busybox
2. Only works for removable media devices. Note that MMC/SD cards are
not removable media devices in the kernel sense. CF cards no longer are
either since I had that fixed in mainline. (removable media is where the
controller stays present but the media doesn't - a CF/MMC/SD card
contains the controller.)
3. Partly related to 1), it doesn't use mount but uses syscalls
directly. This means it has its own parsing of fstab implementation and
mounted systems don't show in mtab.
I tried to explain 2) to the author/maintainer but they basically didn't
want to know. Since pmount relies on the removable flag "not
mounting /dev/hda when its partitioned" logic is not present in pmount.
In summary, we might be better off writing something ourselves :-(. At
the very least, we'd have to heavily patch it.
Richard
More information about the Openembedded-devel
mailing list