This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mount()/umount() prototypes


Savin Zlobec <savin@torina.fe.uni-lj.si> writes:

> 
> Since we are on the topic - I really miss flags field in (u)mount.
> Especially to umount, when I need to do a forced umount (in case
> the CF gets disconnected and then connected back again).
> Both BSD and Linux have this (well in Linux you have umount2).

Given that these functions are not used extensively at present, and
there are relatively few calls to them, we probably have some
flexibility in re-defining them. Maybe we should add at least a flags
parameter to each, and maybe an additional data parameter to
mount(). This would bring then roughly in to line with the Linux
functions.

These extra parameters would also need to be propagated down into the
underlying filesystem calls.

If you would like to work up a patch to do this then I'm fairly sure
it would be accepted.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com      The eCos and RedBoot experts


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]