Changeset 27828 for titan


Ignore:
Timestamp:
03/22/14 13:03:15 (8 years ago)
Author:
obi
Message:

mc umount udf

Location:
titan/plugins/mc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/mc/mc_main.h

    r27664 r27828  
    155155        debug(50, "[mc_main] umounting: fuse, (rarfs,isofs,imgfs)");
    156156        system("/bin/umount -fl `mount | grep fuse | grep rarfs | grep -v '/dev/' | cut -d ' ' -f3`; killall -9 rarfs");
    157         system("/bin/umount -fl `mount | grep fuse | grep -v '/dev/' | cut -d ' ' -f3`; /bin/umount -fl `mount | grep iso9660 | cut -d ' ' -f3`; killall -9 rarfs fusesmb curlftpfs");
    158         system("umount -a -f -t fuse.rarfs,iso9660,fuse.djmount,fuse.fusesmb,fuse.curlftpfs");
     157        system("/bin/umount -fl `mount | grep fuse | grep -v '/dev/' | cut -d ' ' -f3`; /bin/umount -fl `mount | grep iso9660 | cut -d ' ' -f3` `mount | grep udf | cut -d ' ' -f3`; killall -9 rarfs fusesmb curlftpfs");
     158        system("umount -a -f -t fuse.rarfs,iso9660,udf,fuse.djmount,fuse.fusesmb,fuse.curlftpfs");
    159159
    160160        char* tmpstr = NULL;
  • titan/plugins/mc/mc_mounter.h

    r18869 r27828  
    2222        if(isoFS == 1)
    2323        {
    24                 cmd = ostrcat(cmd, "/bin/umount -fl `mount | grep iso9660 | cut -d ' ' -f3`", 1, 0);
     24                cmd = ostrcat(cmd, "/bin/umount -fl `mount | grep iso9660 | cut -d ' ' -f3` `mount | grep udf | cut -d ' ' -f3`", 1, 0);
    2525                debug(50, "cmd: %s", cmd);
    2626                system(cmd);
     
    3131        else if(imgFS == 1)
    3232        {
    33                 cmd = ostrcat(cmd, "/bin/umount -fl `mount | grep iso9660 | cut -d ' ' -f3`", 1, 0);
     33                cmd = ostrcat(cmd, "/bin/umount -fl `mount | grep iso9660 | cut -d ' ' -f3` `mount | grep udf | cut -d ' ' -f3`", 1, 0);
    3434                debug(50, "cmd: %s", cmd);
    3535                system(cmd);
  • titan/plugins/mc/mc_videoplayer.h

    r27463 r27828  
    10021002
    10031003        system("/bin/umount -fl `mount | grep fuse | grep rarfs | grep -v '/dev/' | cut -d ' ' -f3`; killall -9 rarfs");
    1004         system("/bin/umount -fl `mount | grep fuse | grep -v '/dev/' | cut -d ' ' -f3`; /bin/umount -fl `mount | grep iso9660 | cut -d ' ' -f3`; killall -9 rarfs fusesmb curlftpfs");
    1005         system("umount -a -f -t fuse.rarfs,iso9660,fuse.djmount,fuse.fusesmb,fuse.curlftpfs");
     1004        system("/bin/umount -fl `mount | grep fuse | grep -v '/dev/' | cut -d ' ' -f3`; /bin/umount -fl `mount | grep iso9660 | cut -d ' ' -f3`  `mount | grep udf | cut -d ' ' -f3`; killall -9 rarfs fusesmb curlftpfs");
     1005        system("umount -a -f -t fuse.rarfs,iso9660,udf,fuse.djmount,fuse.fusesmb,fuse.curlftpfs");
    10061006
    10071007        free(defaultmvi), defaultmvi = NULL;
Note: See TracChangeset for help on using the changeset viewer.