cdrom device is write-protected

cdrom device is write-protected

Post by NG_lurke » Tue, 26 Jun 2001 14:48:53



hi ...
im trying to downgrade my XF86 server from RH7 version to 6.2 to try to fix
my corruption display. i found XFree86-SVGA-3.3.6-33.i386.rpm in cd 1 of
RH7, under /RedHat/RPMS
directory. I mounted to this device using "mount /dev/cdrom /mnt/cdrom" but
unfortunately it says "mount: block device /dev/cdrom is write-protected,
mounting read-only". permission is -rw-r--r--. i wonder why like this? have
logged in
as root, btw. how do i get around with this?
 
 
 

cdrom device is write-protected

Post by Ken MacInn » Tue, 26 Jun 2001 14:54:20



>my corruption display. i found XFree86-SVGA-3.3.6-33.i386.rpm in cd 1 of
>RH7, under /RedHat/RPMS
>directory. I mounted to this device using "mount /dev/cdrom /mnt/cdrom" but
>unfortunately it says "mount: block device /dev/cdrom is write-protected,
>mounting read-only". permission is -rw-r--r--. i wonder why like this? have

How do you propose to write to a CD-ROM?  This is normal.

Quote:>logged in
>as root, btw. how do i get around with this?

su(do) is your friend.

--

        "Don't culture my inbox with your commie propaganda."
                                                -- Bill Gray

 
 
 

cdrom device is write-protected

Post by NG_lurke » Tue, 26 Jun 2001 15:03:36


sorry for the dumb question kenn. i just a newbie still learning my way in
Linux/Unix. su is superuser. may i ask what is (do)? please no flame.



> >my corruption display. i found XFree86-SVGA-3.3.6-33.i386.rpm in cd 1 of
> >RH7, under /RedHat/RPMS
> >directory. I mounted to this device using "mount /dev/cdrom /mnt/cdrom"
but
> >unfortunately it says "mount: block device /dev/cdrom is write-protected,
> >mounting read-only". permission is -rw-r--r--. i wonder why like this?
have

> How do you propose to write to a CD-ROM?  This is normal.

> >logged in
> >as root, btw. how do i get around with this?

> su(do) is your friend.

> --

> "Don't culture my inbox with your commie propaganda."
> -- Bill Gray

 
 
 

cdrom device is write-protected

Post by gkrpa » Wed, 27 Jun 2001 03:47:15



> sorry for the dumb question kenn. i just a newbie still learning my way in
> Linux/Unix. su is superuser. may i ask what is (do)? please no flame.

Actually, 'su' is 'switch user'.  "sudo" is a package that will allow a regular
user to run command as root, without needing root access.  It is available for
all common variants of UNIX/Linux.




> > >my corruption display. i found XFree86-SVGA-3.3.6-33.i386.rpm in cd 1 of
> > >RH7, under /RedHat/RPMS
> > >directory. I mounted to this device using "mount /dev/cdrom /mnt/cdrom"
> but
> > >unfortunately it says "mount: block device /dev/cdrom is write-protected,
> > >mounting read-only". permission is -rw-r--r--. i wonder why like this?
> have

> > How do you propose to write to a CD-ROM?  This is normal.

To eliminate the error on mounting, your best bet would be to use the command
"mount -r /dev/cdrom /mnt/cdrom" or "mount -o ro /dev/cdrom /mnt/cdrom", as a
standard CD can only be mounted in read-only form.

> > >logged in
> > >as root, btw. how do i get around with this?

> > su(do) is your friend.

> > --

> > "Don't culture my inbox with your commie propaganda."
> > -- Bill Gray

Hope this helps.

Greg

--
Greg Krpan                   || Some days are good,

Anti-spam: Remove 'do-you-'  ||But Sundays are NASCAR!

 
 
 

cdrom device is write-protected

Post by Nick Bachman » Wed, 27 Jun 2001 03:54:48


Quote:> To eliminate the error on mounting, your best bet would be to use the command
> "mount -r /dev/cdrom /mnt/cdrom" or "mount -o ro /dev/cdrom /mnt/cdrom", as a
> standard CD can only be mounted in read-only form.

I think it would be even easier to add an entry to /etc/fstab:

/dev/cdrom   /mnt/cdrom      iso9660 noauto,owner,kudzu,ro 0

(If its not already there, it probably is.  RH 7.1 installer put that
line in.)

Then just type mount /mnt/cdrom.

Just a note to the origional poster:
Grammer is your friend.  Use capital letters.  Use paragraphing.  Make
sentences. Your postings will be much easier to read, and you will get
more responses.

--
                Regards,
                N
-----------------------------------
Nicholas Bachmann

"To Boldly Go Where Angels Fear To Tread"
        -From the Infocom Game "Stationfall"
----------------------------------

 
 
 

cdrom device is write-protected

Post by Ken MacInn » Wed, 27 Jun 2001 04:33:01



> Just a note to the origional poster:
> Grammer is your friend.  Use capital letters.  Use paragraphing.  Make
> sentences. Your postings will be much easier to read, and you will get
> more responses.

And always, always spell "grammar" with two "a"s. :)

--

  "Factorials were someone's attempt to make math seem exciting."
                                                        -- Steven Wright

 
 
 

cdrom device is write-protected

Post by Paul Hughet » Wed, 27 Jun 2001 05:13:19


: Just a note to the origional poster:
                     ^^^^^^^^^
: Grammer is your friend.  Use capital letters.  Use paragraphing.  Make
  ^^^^^^^
: sentences. Your postings will be much easier to read, and you will get
: more responses.

Spelling is nice, too.  (Now, if I can only keep this short enough to avoid
making any spelling errrors of my own.  ;-)  )

Paul Hughett

 
 
 

cdrom device is write-protected

Post by Nick Bachman » Wed, 27 Jun 2001 06:13:47




> : Just a note to the origional poster:
>                      ^^^^^^^^^
> : Grammer is your friend.  Use capital letters.  Use paragraphing.  Make
>   ^^^^^^^
> : sentences. Your postings will be much easier to read, and you will get
> : more responses.

> Spelling is nice, too.  (Now, if I can only keep this short enough to avoid
> making any spelling errrors of my own.  ;-)  )

> Paul Hughett

He He, got me there :-)

I wish Mozilla .7 came with a spell check :-)

Normally, I copy my text into pico and run ispell.  I just forgot this
time.  Whoops.  Maybe I should just get the newest version of Mozilla :-)

--
                Regards,
                N
-----------------------------------
Nicholas Bachmann

"To Boldly Go Where Angels Fear To Tread"
        -From the Infocom Game "Stationfall"
----------------------------------

 
 
 

cdrom device is write-protected

Post by Juergen Pfan » Wed, 27 Jun 2001 14:48:55





> > : Just a note to the origional poster:
> >                      ^^^^^^^^^
> > : Grammer is your friend.  Use capital letters.  Use paragraphing.  Make
> >   ^^^^^^^
> > : sentences. Your postings will be much easier to read, and you will get
> > : more responses.

> > Spelling is nice, too.  (Now, if I can only keep this short enough to avoid
> > making any spelling errrors of my own.  ;-)  )

> > Paul Hughett

> He He, got me there :-)

> I wish Mozilla .7 came with a spell check :-)

> Normally, I copy my text into pico and run ispell.  I just forgot this
> time.  Whoops.  Maybe I should just get the newest version of Mozilla :-)

How about getting a pair of eyes instead - assuming the correct
american.hash
is installed in /brain ? ;-)).
Completely OT, sorry, but just CNR.

Juergen

 
 
 

cdrom device is write-protected

Post by NG_lurke » Wed, 27 Jun 2001 17:02:20


Thank you Nick and everyone. Promise to use Grammer next time. Tata now!!


> > To eliminate the error on mounting, your best bet would be to use the
command
> > "mount -r /dev/cdrom /mnt/cdrom" or "mount -o ro /dev/cdrom /mnt/cdrom",
as a
> > standard CD can only be mounted in read-only form.

> I think it would be even easier to add an entry to /etc/fstab:

> /dev/cdrom   /mnt/cdrom      iso9660 noauto,owner,kudzu,ro 0

> (If its not already there, it probably is.  RH 7.1 installer put that
> line in.)

> Then just type mount /mnt/cdrom.

> Just a note to the origional poster:
> Grammer is your friend.  Use capital letters.  Use paragraphing.  Make
> sentences. Your postings will be much easier to read, and you will get
> more responses.

> --
> Regards,
> N
> -----------------------------------
> Nicholas Bachmann

> "To Boldly Go Where Angels Fear To Tread"
> -From the Infocom Game "Stationfall"
> ----------------------------------

 
 
 

1. Writing to write-protected floppy

Some time ago I had to take some files from home to work. I mounted a msdos
floppy (on Linux), copied the files and umounted the floppy. At the umount
the floppy started to whir, so I assumed the files ware written. At work I
found out that the floppy had been write protected, so no files had been
written.

Shouldn't there be some kind of warning? I know that Unix does write
behind, but I would have liked some kind of indication that nothing had
been written. E.g. the mount could have warned about read-only, or mounted
the floppy readonly, so that the write would have gotten an error.
--
Piet* van Oostrum, Dept of Computer Science, Utrecht University,  (*`Pete')
Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands.

PGP public key by finger or WWW http://www.cs.ruu.nl/~piet

2. Good Mail client on X?

3. First crash in years -- write-protected floppy?

4. PPP Help with ISP setup!?

5. How to detect whether a tape is write-protected

6. HELP : Solaris 8 upgrade from 2.6

7. How to recognize a write-protected drive using a C-program?

8. Invalid operand with 2.4.11

9. How to recognize a write-protected drive from a C-program?

10. Kernel Panic w/ write-protected floppy

11. /dev/dsk/c0d0s0 write-protected, cannot mount RW

12. How to recognize a write-protected drive from a C-program?

13. How to recognize a write-protected drive from a C-Program?