Hi All,

Please find attached the initial implementation of "mount [-a]" command.

This is basic version which ,
1) Reads entry from the "/etc/mtab" file (if exists)
2) If "/etc/mtab" is not present, then read entries from "/proc/mounts"
3) mount -a, tries to mount everything present in "/etc/fstab". [only root
user can do that]

Other options implementation is in progress. I will keep you posted.

Dear Rob, let me know your comments if any.

Thanks & Regards,
Gaurang Shastri

Attachment: mount.patch
Description: Binary data

_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to