lkml.org 
[lkml]   [2002]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.5.34-bk floppy weirdness
The following appeared with the latest bk updated kernel.  It was not 
present with the 2.5.33 version, nor with a 2.4 kernel version.

I cannot dd to the floppy until either it has been mounted, or until the
superuser has dd'd to the floppy. The following is from a fresh boot:

[tmolina@dad testfloppystable]$ ls
floppy floppyimage
[tmolina@dad testfloppystable]$ ls -l /dev/fd0
brw-rw---- 1 tmolina floppy 2, 0 Apr 11 09:25 /dev/fd0
[tmolina@dad testfloppystable]$ ls -l
total 1448
drwxr-xr-x 2 tmolina tmolina 4096 Dec 31 1969 floppy
-rw-rw-r-- 1 tmolina tmolina 1474560 Sep 1 09:49 floppyimage
[tmolina@dad testfloppystable]$ dd if=floppyimage of=/dev/fd0
dd: opening `/dev/fd0': No such device or address
[tmolina@dad testfloppystable]$ su
Password:
[root@dad testfloppystable]# dd if=floppyimage of=/dev/fd0
2880+0 records in
2880+0 records out
[root@dad testfloppystable]# exit
exit
[tmolina@dad testfloppystable]$ dd if=floppyimage of=/dev/fd0
2880+0 records in
2880+0 records out
[tmolina@dad testfloppystable]$ ls -l /dev/fd0
brw-rw---- 1 tmolina floppy 2, 0 Apr 11 09:25 /dev/fd0
[tmolina@dad testfloppystable]$

From a subsequent fresh boot I get:

[tmolina@dad testfloppystable]$ dd if=floppyimage of=/dev/fd0
dd: opening `/dev/fd0': No such device or address
[tmolina@dad testfloppystable]$ mount /dev/fd0
FAT: Using codepage iso8859-1
FAT: Using IO charset iso8859-1
[tmolina@dad testfloppystable]$ ls -l /mnt/floppy
total 1418
-rwxrwxr-x 1 tmolina tmolina 124623 Sep 1 09:32 current
-rwxrwxr-x 1 tmolina tmolina 187 Sep 1 09:29 fetchmailrc
-rwxrwxr-x 1 tmolina tmolina 95508 Sep 1 09:32 kernelstable
-rwxrwxr-x 1 tmolina tmolina 1221 Sep 1 09:28 lynx_bookmarks.html
-rwxrwxr-x 1 tmolina tmolina 390 Jun 15 12:12 mirror.defaults
-r-xr-xr-x 1 tmolina tmolina 4489 Jun 19 20:56 monster.com resume.txt
-rwxrwxr-x 1 tmolina tmolina 13735 Aug 29 14:37 msgs.txt
-rwxrwxr-x 1 tmolina tmolina 787 Sep 1 09:28 procmailrc
-r-xr-xr-x 1 tmolina tmolina 29184 Jun 19 20:56 resume 2000.06.21.doc
-rwxrwxr-x 1 tmolina tmolina 15360 May 20 06:49 Resume.doc
-rwxrwxr-x 1 tmolina tmolina 798026 Sep 1 09:31 saved-messages
-rwxrwxr-x 1 tmolina tmolina 4287 Sep 1 09:26 test.txt
-rwxrwxr-x 1 tmolina tmolina 37376 Aug 31 07:43 tomresume.doc
-rwxrwxr-x 1 tmolina tmolina 4068 Aug 31 07:27 tomresume.txt
-rwxrwxr-x 1 tmolina tmolina 45330 Sep 1 09:29 upgrade.log
-rwxrwxr-x 1 tmolina tmolina 274292 Sep 1 09:32 valhalla
[tmolina@dad testfloppystable]$ umount /dev/fd0
[tmolina@dad testfloppystable]$ dd if=floppyimage of=/dev/fd0
2880+0 records in
2880+0 records out
[tmolina@dad testfloppystable]$


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.225 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site