[Toybox] new toy : mount command

Gaurang Shastri gmshastri at gmail.com
Tue Oct 30 12:42:56 PDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20121031/a8a291c8/attachment-0004.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mount.patch
Type: application/octet-stream
Size: 3277 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20121031/a8a291c8/attachment-0006.obj>


More information about the Toybox mailing list