Red Hat Bugzilla – Bug 48241
can't use created devices on floppy disks
Last modified: 2007-04-18 12:34:36 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Description of problem:
Access to device nodes stored on a floppy disk fails. I've reproduced this
on three seperate redhat systems (only 2 of which installed by me). Debian
was also tested, using kernel 2.2, it did not appear to be affected.
I tried to build a stock 2.2 kernel, and that also appeared to fail, but
that is a seperate unrelated matter.
Steps to Reproduce:
note: I tried making a minix filesystem as well, the results did
4.cp -R /dev/null .
<this should fail>
<this should not fail>
If this is tried on other block devices (tried ide drives, scsi drives,
even a ramdisk) it works as one would expect.
Actual Results: cat of the version of null on floppy:
cat: null: Permission Denied
cat of the version of null in /dev:
<just another prompt, as expected>
Expected Results: the two cat commands should produce identical results.
according to strace, the error recieved is EACCESS. As I mentioned, this
only occurs on floppy disks. I can't reproduce it on any other block
operator error. I did not notice that fstab has nodev for /mnt/floppy. doh.