linux:/home/cje # dmesg | tail
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5
Attached scsi generic sg1 at scsi0, channel 0, id 0, lun 1, type 0
Device not ready. Make sure there is a disc in the drive.
subfs 0.9
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
linux:/home/cje # dd if=/dev/zero of=/dev/sda bs=1M count=1
dd: writing `/dev/sda': No space left on device
1+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000412 seconds, 0.0 kB/s
linux:/home/cje # /sbin/fdisk /dev/sda
Unable to read /dev/sda
linux:/home/cje # /sbin/mkfs.ext3 /dev/sda1
mke2fs 1.38 (30-Jun-2005)
Could not stat /dev/sda1 --- No such file or directory
The device apparently does not exist; did you specify it correctly?
linux:/home/cje #
linux:/home/cje # cd /media/
linux:/media # ls
. .. CD_PART dvdrecorder videostore xmms_audio_cd
linux:/media # /sbin/fdisk /media/sda
Unable to open /media/sda
linux:/media # /sbin/fdisk /media/CD_PART/
You will not be able to write the partition table.
Unable to read /media/CD_PART/
linux:/media # dd if=/dev/zero of=/media/CD_PART/ bs=1M count=1
dd: opening `/media/CD_PART/': Is a directory
linux:/media #