What is the Linux mount() function command for command line mount ... "errors=continue" ?
Hi everybody.
I hope you can help me. :-) I have the Linux command line: mount -t vfat /dev/mmcblk0p1 /mnt/mmc This translates to the C Mount() function: mount("/dev/mmcblk0p1","/mnt/mmc","vfat",0,(void*)0); No problem... ----------------- Now I want to add "-o error=continue" to my Linux command line: mount -t vfat /dev/mmcblk0p1 /mnt/mmc -o error=continue How to convert the "-o error=continue" to the C Mount() funktion: mount("/dev/mmcblk0p1","/mnt/mmc","vfat",0,(void*)0); Best regards Soren, Denmark. |
This doesn't answer your question but just a heads-up that, as far as I am aware, errors=continue (note the s on errors) is not a mount option for vfat, just extn and jfs.
|
Quote:
|
No problem soebo. Welcome to LinuxQuestions by the way. :)
If you run man mount then this will show you a list of common and filesystem-specific options for the mount command. |
All times are GMT -5. The time now is 10:03 PM. |