How to set ext. /dev/sr0 read-write?
From: Ulrich Mueller (umu_at_hrz.tu-chemnitz.de)
Date: 10/10/05
- Previous message: Gordon Friend: "Bus master DMA and cache coherency"
- Next in thread: Dances With Crows: "Re: How to set ext. /dev/sr0 read-write?"
- Reply: Dances With Crows: "Re: How to set ext. /dev/sr0 read-write?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 10 Oct 2005 01:10:26 +0200
Hello world,
unfortunately it's not just a chmod 777 /dev/sr0 :(
my problem is:
hal:/ # mount -o rw,noatime /dev/sr0 /mnt
mount: block device /dev/sr0 ist write-protected, mounting read-only
I can mount it read-only, but I want write access!!!
/dev/sr0 is an external DVD writer connected via USB
with a DVD+RW with a ext2 file system on it created by:
hal:/ # mke2fs -b 2048 -i 32768 /dev/dvd
I wonder, how /dev/sr0 is writeable for
hal:/ # growisofs -Z /dev/sr0=image.iso
with builtin_dd for instance, but not for
hal:/ # dd if=image.iso of=/dev/sr0 bs=32k
dd: /dev/sr0: Read-only file sytem
(this last works for /dev/dvd instead of /dev/sr0, too)
now how can I make /dev/sr0 writeable for mount as well???
thanks a lot for your help,
umu
-------------------------
P.S. So why I don't always use /dev/dvd?
I need the external writer as device
for my old PII with no DVD but USB,
it's just the same problem there,
but I don't want to bother you with two configs,
if you are interested, here are some more details:
hal:/ # mke2fs -b 2048 -i 32768 /dev/dvd
mke2fs 1.26 (3-Feb-2002)
Filesystem label=
OS type: Linux
Block size=2048 (log=1)
Fragment size=2048 (log=1)
144384 inodes, 2295104 blocks
114755 blocks (5.00%) reserved for the super user
First data block=0
141 block groups
16384 blocks per group, 16384 fragments per group
1024 inodes per group
Superblock backups stored on blocks:
16384, 49152, 81920, 114688, 147456, 409600, 442368, 802816,
1327104,
2048000
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
hal:/ # mount /dev/dvd /mnt
hal:/ # ls -l > /mnt/ls-l
hal:/ # umount /mnt
hal:/ # mount /dev/sr0 /mnt
mount: block device /dev/sr0 ist write-protected, mounting read-only
hal:/ # ls /mnt
. .. lost+found ls-l
hal:/ # umount /dev/sr0
hal:/ # ls -l /dev/dvd /dev/sr0 /dev/hdc
lrwxrwxrwx 1 root root 8 Oct 10 22:34 /dev/dvd -> /dev/hdc
brwxrwxrwx 1 root disk 22, 0 Mar 23 2002 /dev/hdc
brwxrwxrwx 1 root disk 11, 0 Mar 23 2002 /dev/sr0
hal:/ # cat /etc/fstab
/dev/hda6 / ext3 defaults 1 2
/dev/cdrom /media/cdrom auto noatime,noauto,user,exec 0 0
/dev/dvd /media/dvd auto noatime,noauto,user,exec 0 0
devpts /dev/pts devpts defaults 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/hda5 swap swap pri=42 0 0
/dev/sr0 /media/sr0 auto noatime,noauto,user,exec 0 0 #HOTPLUG B3Fu.BH1IYfRUmyB
hal:/ # lsmod
Module Size Used by Tainted: P
vfat 9244 0 (autoclean)
fat 28984 0 (autoclean) [vfat]
st 25844 0 (autoclean) (unused)
sg 23620 0 (autoclean)
usb-storage 48640 0
ipv6 123424 -1 (autoclean)
ds 6368 1
yenta_socket 8384 1
pcmcia_core 37984 0 [ds yenta_socket]
isa-pnp 27816 0 (unused)
joydev 5728 0 (unused)
evdev 3904 0 (unused)
input 3072 0 [joydev evdev]
usb-uhci 20996 0 (unused)
usbcore 55136 1 [usb-storage usb-uhci]
e100 69272 0 (unused)
ext3 60160 1
jbd 42196 1 [ext3]
hal:/ # uname -a
Linux hal 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i686 unknown
I'd appreciate your help.
- Previous message: Gordon Friend: "Bus master DMA and cache coherency"
- Next in thread: Dances With Crows: "Re: How to set ext. /dev/sr0 read-write?"
- Reply: Dances With Crows: "Re: How to set ext. /dev/sr0 read-write?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|