LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-10-2002, 05:01 PM   #1
dogmonkey
LQ Newbie
 
Registered: Jun 2002
Location: london
Distribution: mandrake
Posts: 8

Rep: Reputation: 0
Talking Confirmation of mtab & fstab


Would any of you be able to confirm for me what these two files should be reading for cdrw mnt/hdc dev/hdc? My files read as follows

/etc/mtab

/dev/hdc /mnt/hdc supermount rw,dev=/dev/hdc,fs=iso9660 0 0

/etc/fstab

none /mnt/hdc supermount dev=dev/hdc,fs=iso9660,- -,rw 0 0

the reason that i ask is that i am trying to copy some files onto a blank cd and the terminal is telling me

cp -vR /home/daniel/Documents/Backup* /mnt/hdc/mystuff
cp: cannot create directory /mnt/hdc/mystuff : read only file system

i would be grateful if anyone could print what they have, or explain why the fs is read only, or any thing else i might want to know.

ps in case you were wondering, yes i have been editing these files, but only cos i couldn't write anything anyway!

Thank you in advance
 
Old 12-10-2002, 05:51 PM   #2
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Rep: Reputation: 30
here is mine



/dev/hda5 / reiserfs defaults 1 2
devpts /dev/pts devpts defaults 0 0
/dev/hdc /media/cdrom auto ro,noauto,user,exec 0 0
/dev/hdd /media/cdrom2 auto ro,noauto,user,exec 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
/dev/hda6 /mnt/lfs ext2 defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
proc /proc proc defaults 0 0
/dev/hda1 /windows/C vfat noauto,user 0 0
/dev/hdb1 /windows/D vfat noauto,user 0 0
/dev/hda7 swap swap pri=42 0 0





dev/hd?? /c-fat vfat noauto,user,umask=000 0 0


/dev/hda1 /mnt/win vfat user,defaults,umask=000 0 0




First, as root, make sure the partition is unmounted with the command umount /mnt/win.

Edit the /etc/fstab file and change the line to this:

/dev/hda1 /mnt/win vfat noauto,user,defaults,umask=000 0 0
 
Old 12-11-2002, 09:50 PM   #3
abrakadabra
Member
 
Registered: Apr 2002
Location: Denver
Distribution: SuSe,RedHat,Mandrake,
Posts: 109

Rep: Reputation: 16
Hi, I noticed the message says "cannot create directory (mystuff)
what if you create the directory first then try copying the files?

Just an idea, but I'll look into it more and will let you know.
 
Old 12-11-2002, 09:55 PM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
You can't just copy files to a blank CD, you need to burn them with a cd burning program. Have a look at this page for info on setting up a cdrw and this page for info on burning cd's.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
what edits fstab & mtab during boot? dwhawk Mandriva 7 05-24-2005 06:09 PM
/etc/fstab or /etc/mtab praveenv Linux - Newbie 1 08-17-2004 04:03 AM
use mtab as fstab?hi rgiggs Mandriva 5 06-08-2004 12:47 PM
what is the difference between /etc/fstab and /etc/mtab ? Xavius Linux - Newbie 2 03-27-2004 08:15 AM


All times are GMT -5. The time now is 07:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration