View previous topic :: View next topic |
Author |
Message |
SAngeli l33t
Joined: 16 Apr 2004 Posts: 904 Location: Italy
|
Posted: Mon Mar 28, 2005 6:17 pm Post subject: fstab setting |
|
|
Hi,
I just wish to check if I have the correct settings in my fstab for my Floppy, ZIP, and CD-ROM:
This is what I currently have:
Code: | /dev/fd0 /mnt/floppy vfat sync,noauto,users 0 0
/dev/sda1 /mnt/usbpen auto noauto,sync,users 0 0
/dev/hdd /mnt/zip auto noauto,rw,owner,users 0 0
/dev/hdc /mnt/cdrom auto noauto,user 0 0 |
Several time when I try to mount my CD I am not able to see them. I have seen several settings other than auto.
Please if someone has a solid and versatil setting please advice me.
Thank you,
Spiro |
|
Back to top |
|
|
chucky81 n00b
Joined: 28 Mar 2005 Posts: 4
|
Posted: Mon Mar 28, 2005 6:26 pm Post subject: |
|
|
my config is:
/dev/cdroms/cdrom0[/b] /mnt/cdrom auto noauto,user 0 0 |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54331 Location: 56N 3W
|
Posted: Mon Mar 28, 2005 6:33 pm Post subject: |
|
|
SAngeli,
Here's what I would use.
Code: | /dev/fd0 /mnt/floppy vfat sync,noauto,users 0 0
/dev/sda1 /mnt/usbpen vfat noauto,sync,users 0 0
/dev/hdd /mnt/zip auto noauto,rw,owner,users 0 0
/dev/hdc /mnt/cdrom iso9660,udf noauto,user 0 0
|
Auto is dangererous - you are asking mont to guess.
If you use anything other then DOS format floppies add to the filesystem list. You will not meet a UDF CD unless its been writen with packet writing but DVDs use UDF. You don't say what drive you have.
Get rid of the auto on the zip drive too but I don't know what filesystems you use there.
Is your CD deliberatly user instead of users ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
SAngeli l33t
Joined: 16 Apr 2004 Posts: 904 Location: Italy
|
Posted: Mon Mar 28, 2005 8:32 pm Post subject: |
|
|
Hi NeddySeagoon,
- /mnt/floppy is ok with the way you would do it.
- /mnt/usbpen So far, I have only an usbpen with ext3. In a few days, I will install a memory card reader with up to 7 different standards. I will have to see how they are recognized by dmesg.
Usually, I wish to be able to recognize both ext3 and vfat (just for occasional need). I bet it would be better to make it ext3 and when needed first change it in fstab to vfat. Or, set it to auto (?)
- /mnt/zip Here I would set it just to what I use. Either vfat or ext3
- /mnt/cdrom Here I take it for granted what you say.
I have to better read the man mount. Then, I will ask back few more questions. i really wish once and for all understand well the fstab.
Question: When I find in man, something like: "see mount( 8 ) What does it mean the ( 8 )?
Also, why when I type on this forum something like xyz(number eight) it does not display it correctly?
here is an example:
If I wish to write: mount( 8 ) without the space between 8 and the parenthesis, I get this:
man(
Try it yourself and let me know if you get this same error.
Thank you,
Spiro |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54331 Location: 56N 3W
|
Posted: Tue Mar 29, 2005 4:50 pm Post subject: |
|
|
SAngeli,
The following /etc/fstab entry illistrates a list of filesystems
Code: | /dev/hdc /mnt/cdrom iso9660,udf noauto,user 0 0 |
In this case mount will try iso9660, then udf and fail if neither work. It doesn't matter on a CD, where its read only but having mount guess for a rw filesystem and getting it wrong will destroy your data.
The Linux manual (man) comes in a number of sections, the 8 in see man mount (8) is a referece to section 8 of the manual for mount. tells you about the manual.
Some assorted (8 ( 8 (8) ( 8 ) for testing.
I get what I typed. I have Smiles turned off always. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Tue Mar 29, 2005 5:16 pm Post subject: |
|
|
Moved from Desktop Environments. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|