[Bug 1517] mount does not use the provided filesystem handler table functions
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Tue May 18 04:30:50 UTC 2010
https://www.rtems.org/bugzilla/show_bug.cgi?id=1517
--- Comment #6 from Chris Johns <chrisj at rtems.org> 2010-05-17 23:30:48 ---
A possible mount command is:
int mount(rtems_filesystem_mount_table_entry_t **mt_entry,
const char *type,
rtems_filesystem_options_t options,
const char *device,
const char *mount_point);
This is the simplest change but I am not sure if it is the best. The Linux
mount call is:
int mount(const char *source,
const char *target,
const char *filesystemtype,
unsigned long mountflags,
const void *data);
The FreeBSD one is:
int mount(const char *type, const char *dir, int flags, void *data);
I like the Linux one over the FreeBSD one. Note, both these calls do not return
the mount table struct. This is hidden from the user. I think this is
acceptable if we provide a call or set of calls to return the mount table.
FreeBSD has a lsvfs call. We should have a way to iterate over the mount table.
Comments ?
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list