Your message dated Sat, 26 Apr 2008 21:44:58 -0300
with message-id <[EMAIL PROTECTED]>
and subject line This is not a bug
has caused the Debian Bug report #477378,
regarding parted: Can't open ramdisk
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
477378: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477378
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
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.



--- End Message ---
--- Begin Message ---
This is not a bug and is being done since 2006 (1.8.0). I see the
motivation to use ramdisk for testing but it doesn't behave exactly
like a disk. Please use loopback devices for those tests.

I'm closing this bug.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: [EMAIL PROTECTED]      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."


--- End Message ---

Reply via email to