On Mit, 2014-05-14 at 21:27 +0530, Saket Sinha wrote:
[...]
> I wanted to isolate the problem hence did not give the full context.
> Actually I have written a file-system utility which mounts my
> filesystem on a specific path and update it in /etc/fstab. When I
> umount it, I delete the path from the /etc/fstab.
I don't know if you want to do that - /etc/mtab is (historically?) used
to record actually mounted filesystems.
(At least) in the Linux world, there is /proc/mounts where the kernel
tells you exactly that.
Bernd
--
Bernd Petrovitsch Email : [email protected]
LUGA : http://www.luga.at
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies