Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fstab setting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
SAngeli
l33t
l33t


Joined: 16 Apr 2004
Posts: 904
Location: Italy

PostPosted: Mon Mar 28, 2005 6:17 pm    Post subject: fstab setting Reply with quote

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
View user's profile Send private message
chucky81
n00b
n00b


Joined: 28 Mar 2005
Posts: 4

PostPosted: Mon Mar 28, 2005 6:26 pm    Post subject: Reply with quote

my config is:
/dev/cdroms/cdrom0[/b] /mnt/cdrom auto noauto,user 0 0
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54331
Location: 56N 3W

PostPosted: Mon Mar 28, 2005 6:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
SAngeli
l33t
l33t


Joined: 16 Apr 2004
Posts: 904
Location: Italy

PostPosted: Mon Mar 28, 2005 8:32 pm    Post subject: Reply with quote

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(8)
Try it yourself and let me know if you get this same error.

Thank you,
Spiro
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54331
Location: 56N 3W

PostPosted: Tue Mar 29, 2005 4:50 pm    Post subject: Reply with quote

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.
Code:
man man
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
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Mar 29, 2005 5:16 pm    Post subject: Reply with quote

Moved from Desktop Environments.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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