Lines Matching refs:pszCmd
656 sal_Char pszCmd[512] = ""; in osl_mountFloppy() local
665 snprintf(pszCmd, sizeof(pszCmd), "eject -q %s > /dev/null 2>&1", pHandle->pszDevice); in osl_mountFloppy()
667 nRet = system( pszCmd ); in osl_mountFloppy()
713 sal_Char pszCmd[512] = ""; in osl_unmountFloppy() local
722 snprintf(pszCmd, sizeof(pszCmd), "eject %s > /dev/null 2>&1", pHandle->pszDevice); in osl_unmountFloppy()
724 nRet = system( pszCmd ); in osl_unmountFloppy()
796 sal_Char pszCmd[PATH_MAX]; in osl_mountFloppy() local
801 pszCmd[0] = '\0'; in osl_mountFloppy()
864 …snprintf(pszCmd, sizeof(pszCmd), "%s %s %s %s",pszSuDo,pszMountProg,pItem->pszDevice,pItem->pszMou… in osl_mountFloppy()
868 snprintf(pszCmd, sizeof(pszCmd), "%s %s",pszMountProg,pItem->pszMountPoint); in osl_mountFloppy()
873 fprintf(stderr,"executing '%s'\n",pszCmd); in osl_mountFloppy()
876 nRet = system(pszCmd); in osl_mountFloppy()
929 sal_Char pszCmd[PATH_MAX]; in osl_unmountFloppy() local
934 pszCmd[0] = '\0'; in osl_unmountFloppy()
989 … snprintf(pszCmd, sizeof(pszCmd), "%s %s %s",pszSuDo,pszUmountProg,pItem->pszMountPoint); in osl_unmountFloppy()
993 snprintf(pszCmd, sizeof(pszCmd), "%s %s",pszUmountProg,pItem->pszMountPoint); in osl_unmountFloppy()
998 fprintf(stderr,"executing '%s'\n",pszCmd); in osl_unmountFloppy()
1001 nRet = system(pszCmd); in osl_unmountFloppy()