Gentoo Archives: gentoo-user-fr

From: Jean-Pierre Delange <delange@××××××××.fr>
To: gentoo-user-fr@g.o
Subject: [gentoo-user-fr] droits sur floppy
Date: Fri, 24 Oct 2003 17:56:25
Message-Id: 20031024195239.4694b0ad.delange@imaginet.fr
In Reply to: Re: [gentoo-user-fr] DFE-690TXD by "François-Xavier Payet"
1 En voulant mettre un fichier en attaché dans un message, je me rends compte que les droits d'accès à la disquette m'interdisent d'attacher ce fichier. Je ne peux pas non plus l'éditer avec aboword. Voici ce que j'ai dans /etc/fstab et dans le fichier /etc/autofs/auto.mount
2
3 1/ le fichier /ETC/FSTAB
4
5 # /etc/fstab: static file system information.
6 # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.13 2003/07/17 19:55:18 azarah Exp $
7 #
8 # noatime turns off atimes for increased performance (atimes normally aren't
9 # needed; notail increases performance of ReiserFS (at the expense of storage
10 # efficiency). It's safe to drop the noatime options if you want and to
11 # switch between notail and tail freely.
12
13 # <fs> <mountpoint> <type> <opts> <dump/pass>
14
15 # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
16 /dev/hda7 /boot ext3 noauto 1 1
17 /dev/hda8 / reiserfs noatime 0 0
18 /dev/hda9 none swap sw 0 0
19 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
20 /dev/fd0 /mnt/floppy auto user,rw 0 0
21 /dev/hda6 /mnt/win vfat user,rw 0 0
22
23 # NOTE: The next line is critical for boot!
24 none /proc proc defaults 0 0
25
26 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
27 # POSIX shared memory (shm_open, shm_unlink).
28 # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
29 # use almost no memory if not populated with files)
30 # Adding the following line to /etc/fstab should take care of this:
31
32 none /dev/shm tmpfs defaults 0 0
33
34 2- Le fichier /ETC/AUTOFS/AUTO.MOUNT
35
36 #fichier /etc/autofs/auto.mount
37 cdrom -fstype=iso9660,ro,unhide :/dev/cdroms/cdrom0
38 floppy -fstype=auto,users,rw,uid=0, gid=11,umask=007 :/dev/fd0
39
40 --
41 gentoo-user-fr@g.o mailing list