Skip to content

csplit: seq 10 | csplit - 1 silently ignores EIO (tests/csplit/csplit-io-err.sh?) #9853

@oech3

Description

@oech3

As similar with #9832 ,

$ run0 dmsetup create ioerr --table "0 8 error"
$ chmod 777 /dev/mapper/ioerr
$ ln -sf /dev/mapper/ioerr xx01
$ seq 10 | uu-csplit - 1 # success
$ file xx01
xx01: symbolic link to /dev/mapper/ioerr
$ seq 10 | gnu-csplit - 1
0
csplit: write error for 'xx01': Input/output error
$ file xx01
xx01: cannot open `xx01' (No such file or directory)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions