Package: parted
Version: 1.8.8.git.2008.03.24-3
Forwarded: http://parted.alioth.debian.org/cgi-bin/trac.cgi/ticket/192
Tags: upstream

Hi,

This is a duplicate of a genuine GNU Parted ticket, as per fjp's
request on debian-boot.  The version is somewhat fake, this issue was
found in a fresh pull on 2008.04.22, but I wanted to target the
current experimental version.  Here we go:

Seems like 1.8.8 can't open ramdisks anymore, probably due to the use
of O_DIRECT. Not doing make install but running from the build tree:

    # strace -eopen ~/installcd/parted/parted/parted /dev/ram1 print
    [...]
    open("/dev/ram1", O_RDONLY|O_DIRECT|O_LARGEFILE) = -1 EINVAL (Invalid 
argument)
    Error: Error opening /dev/ram1: Invalid argument                          
    Retry/Cancel?

Version 1.7.1 has no problem opening this device. Strace shows:

    open("/dev/ram1", O_RDONLY|O_LARGEFILE) = 3

Working with a ramdisk would be useful for testing.

The above happens under Linux 2.6.24.2, but an otherwise rather stock
Etch system.
-- 
Thanks,
Feri.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to