On Tue, May 13, 2008 15:23, maximilian attems wrote:
> for the auto/noauto mount options mount would need to fstype aka probe
> the fs and thus mount it. i prefer to have that in klibc mount than
> a workaround in initramfs-tools, will see to realize that.

What I meant was that if the bug is fixed, a short and simple solution to
auto fstype detection in klibc mount would be to initialize the type array
to something like "ext3,ext2,reiserfs,xfs...etc" in the mount binary
itself and then override that value if the option parsing detects that "-t
something" has been passed.

The advantage is that it's simple and avoids relying on fstype. The
disadvantage is that it would cause lots of modules to be loaded.

-- 
David Härdeman




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to