Package: pmount Version: 0.9.20-2
A call to pmount -r /dev/dvd results in a long wait (>3mins) before it exits with 'no medium found' error. The expected behaviour is that it exits with 'no medium found' error without delay. Invoking pmount -rd /dev/dvd shows that pmount calls mount multiple (30) times with different parameters as shown below: spawnv(): executing /bin/mount '/bin/mount' '-t' 'udf' '-o' 'nosuid,nodev,user,async,atime,noexec,ro,uid=0,gid=0,umask=000,iocharset=utf8' '/dev/sr0' '/media/dvd' spawn(): /bin/mount terminated with status 32 spawnv(): executing /bin/mount '/bin/mount' '-t' 'udf' '-o' 'nosuid,nodev,user,async,atime,noexec,ro,uid=0,gid=0,umask=000' '/dev/sr0' '/media/dvd' spawn(): /bin/mount terminated with status 32 spawnv(): executing /bin/mount '/bin/mount' '-t' 'iso9660' '-o' 'nosuid,nodev,user,async,atime,noexec,ro,uid=0,gid=0,iocharset=utf8' '/dev/sr0' '/media/dvd' spawn(): /bin/mount terminated with status 32 spawnv(): executing /bin/mount '/bin/mount' '-t' 'iso9660' '-o' 'nosuid,nodev,user,async,atime,noexec,ro,uid=0,gid=0' '/dev/sr0' '/media/dvd' spawn(): /bin/mount terminated with status 32 VFAT in a UTF-8 locale: using option utf8 filesystem is vfat and charset is utf-8: using iso8859-1 You can change with the -c optionspawnv(): executing /bin/mount '/bin/mount' '-t' 'vfat' '-o' 'nosuid,nodev,user,quiet,shortname=mixed,async,atime,noexec,ro,uid=0,gid=0,umask=077,fmask=0177,dmask=0077,utf8,iocharset=iso8859-1' '/dev/sr0' '/media/dvd' spawn(): /bin/mount terminated with status 32 spawnv(): executing /bin/mount '/bin/mount' '-t' 'vfat' '-o' 'nosuid,nodev,user,quiet,shortname=mixed,async,atime,noexec,ro,uid=0,gid=0,umask=077,fmask=0177,dmask=0077,iocharset=iso8859-1' '/dev/sr0' '/media/dvd' spawn(): /bin/mount terminated with status 32 ...and so on. Each mount takes ~15secs to return 32 (mount failure) since mount tries 5 times ,with a sleep of 3 seconds between retries, when no medium is found. (see mount.c:1605) Hence, I think, the long wait. I am using mount 2.17.2. -- Sundararaj -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org