[wellylug] Re: CDRW & DVD Mount Conflict?
Adam Bogacki
afb at paradise.net.nz
Sat Jun 26 20:35:20 NZST 2004
Thanks again Edouard.
>Did you modify /etc/fstab ? my /etc/fstab shows :
>/mnt/cdrom2 /mnt/cdrom2 supermount\
>dev=/dev/scd0,fs=iso9660,--,user,iocharset=iso8859-15,noatime 0 0
>
>
Yes, my current /etc/fstab is below ..
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options>
<dump> <pass>
/dev/hda1 /mnt/WinXP vfat rw,user,noexec,auto 0 0
/dev/hdb5 / ext3 defaults,errors=remount-ro
0 1
/dev/hdb10 none swap sw 0 0
proc /proc proc defaults
0 0
/dev/fd0 /floppy auto defaults,user,noauto
0 0
/dev/hdd /mnt/cdrw /mnt/cdrw supermount \
dev=/dev/scd0,fs=iso9660,rw,--,iocharset=iso8859-15 0 0
/dev/hdc /mnt/dvd /mnt/dvd supermount \
dev=/dev/scd0,fs=iso9660,ro,--,iocharset=iso8859-15 0 0
/dev/hdb2 /boot ext3 defaults 0 2
/dev/hdb9 /home ext3 defaults 0 2
/dev/hdb6 /usr ext3 defaults 0 2
/dev/hdb7 /usr/local ext3 defaults
0 2
/dev/hdb8 /var ext3 defaults 0 2
/dev/hde5 /home/cyberia ext2 defaults
0 2
/dev/hde6 /usr/cyberia ext2 defaults
0 2
~
~
I've adapted it to 'dvd' and 'cdrw', and given the cdrw read and write
privileges.
[I'm not sure if it is correct to include '/mnt/cdrw' or '/mnt/dvd' twice.]
Devices /dev/hdd and /dev/hdc are from dmesg output.
>And
>what does /dev/sc* gives you ??
>As for me I have here (but may not be of interest with 2.6):
>/dev/scd0 -> scsi/host0/bus0/target0/lun0/cd (root)
>
>
Tux:~# /dev/sc*
bash: /dev/scd0: Permission denied
>But this is ide-scsi related.
>May be the modules for ide-scsi emulation is a problem
>
># /etc/modules: kernel modules to load at boot time.
>#
># This file should contain the names of kernel modules that are
># to be loaded at boot time, one per line. Comments begin with
># a `#', and everything on the line after them are ignored.
>
>scsi_hostadapter
>bttv
>video1394
>
>
I did that ...
>And
>
>more /etc/modules.conf
>
>#probeall scsi_hostadapter dc395x_trm
>options ide-cd
>pre-install sg modprobe ide-scsi
>
>
.. and that too..
Tux:/etc# vi mtab
gives me ...
/dev/hdb5 / unknown rw,errors=remount-ro 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/hda1 /mnt/WinXP vfat rw,noexec,nosuid,nodev 0 0
/dev/hdb2 /boot ext3 rw 0 0
/dev/hdb9 /home ext3 rw 0 0
/dev/hdb6 /usr ext3 rw 0 0
/dev/hdb7 /usr/local ext3 rw 0 0
/dev/hdb8 /var ext3 rw 0 0
/dev/hde5 /home/cyberia ext2 rw 0 0
/dev/hde6 /usr/cyberia ext2 rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
... which suggests to me that they are not mounted after reboot.
I have included your all lines in lilo.conf,
I have also included
>options ide-cd
>pre-install sg modprobe ide-scsi
>
in /etc/modules.conf, even though it says
> ### This file is automatically generated by update-modules"
> #
> # Please do not edit this file directly. If you want to change or add
> # anything please take a look at the files in /etc/modutils and read
> # the manpage for update-modules.
> #
> ### update-modules: start processing /etc/modutils/0keep
> # DO NOT MODIFY THIS FILE!
After this, I have rebooted and still get
> x:~# cdrecord -scanbus
> <snip>
> cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot
> open SCSI driver.
> cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
> are root.
> cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
> cdrecord:
> cdrecord: For more information, install the cdrtools-doc
> cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .
> Tux:~#
I'm not sure if modifying /etc/modules.conf and repeating the /mnt/*
arguments in fstab are correct.
> Tux:~# mount -t iso9660 /dev/hdd /mnt/cdrw
> mount: block device /dev/hdd is write-protected, mounting read-only
> mount: wrong fs type, bad option, bad superblock on /dev/hdd,
> or too many mounted file systems
> Tux:~# mount -t iso9660 /dev/hdc /mnt/dvd
> mount: block device /dev/hdc is write-protected, mounting read-only
> mount: wrong fs type, bad option, bad superblock on /dev/hdc,
> or too many mounted file systems
... changes nothing.
I'd be interested in any constructive comments.
Adam.
afb at paradise.net.nz
More information about the wellylug
mailing list