Quite often parted hangs after the \'quit\' command (before this,the command sequence for parted was: print mkpart logical ext2 14000 15000 print quit). SIGQUIT makes it stop. --- --- parted-1.5.6-alt2 kernel24-up-2.4.19-alt0.2 Here is what strace attached to the hanging process reports: close(3) = 0 open(\"/dev/sdb6\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb7\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb8\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb9\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb10\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb11\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb12\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb13\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb14\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb15\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) ioctl(3, BLKFLSBUF, 0) = -1 EBADF (Bad file descriptor) open(\"/dev/sdb0\", O_WRONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open(\"/dev/sdb1\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb2\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb3\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb4\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb5\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb6\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb7\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb8\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb9\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb10\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb11\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb12\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb13\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb14\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb15\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) ioctl(3, BLKFLSBUF, 0) = -1 EBADF (Bad file descriptor) open(\"/dev/sdb0\", O_WRONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open(\"/dev/sdb1\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb2\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb3\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb4\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb5\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb6\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb7\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb8\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb9\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb10\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb11\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb12\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb13\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb14\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb15\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) ioctl(3, BLKFLSBUF, 0) = -1 EBADF (Bad file descriptor) open(\"/dev/sdb0\", O_WRONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open(\"/dev/sdb1\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb2\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb3\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb4\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb5\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb6\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb7\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb8\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb9\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb10\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb11\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb12\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb13\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb14\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb15\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) ioctl(3, BLKFLSBUF, 0) = -1 EBADF (Bad file descriptor) open(\"/dev/sdb0\", O_WRONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open(\"/dev/sdb1\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb2\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) ..... ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb7\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb8\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb9\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb10\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb11\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb12\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb13\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb14\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb15\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) ioctl(3, BLKFLSBUF, 0) = -1 EBADF (Bad file descriptor) open(\"/dev/sdb0\", O_WRONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open(\"/dev/sdb1\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb2\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb3\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb4\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb5\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb6\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb7\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb8\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb9\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb10\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb11\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb12\", O_WRONLY|O_LARGEFILE) = 3 ioctl(3, BLKFLSBUF, 0) = 0 close(3) = 0 open(\"/dev/sdb13\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb14\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb15\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) ioctl(3, BLKFLSBUF, 0) = -1 EBADF (Bad file descriptor) open(\"/dev/sdb0\", O_WRONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open(\"/dev/sdb1\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb2\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb3\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb4\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address) open(\"/dev/sdb5\", O_WRONLY|O_LARGEFILE) = 3 --- SIGQUIT (Quit) ---
на последнем не воспроизводится