Bonjour à tous,
Sur mon PC, il y a un lecteur de dvd et un lecteur/graveur de cd. Le lecteur de dvd ne lit rien du tout. Le lecteur/graveur de cd fonctionne "automatiquement si j’y insère un cd audio mais ne fait rien d’autre. J’en ai conclu, peut-être hâtivement, que ni l’un ni l’autre n’était monté. Je me suis donc documenté (pas assez?) et j’ai trouvé une manip’ : ici et voici ce que j’ai obtenu :
1/ ls /cdrom :
gaia:/home/wassy# ls /cdrom
PARTIE_1.MP3 PARTIE_3.MP3 PARTIE_5.MP3 PARTIE_7.MP3
PARTIE_2.MP3 PARTIE_4.MP3 PARTIE_6.MP3
2/ mount :
gaia:/home/wassy# mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/hdd on /media/cdrom0 type iso9660 (ro,noexec,nosuid,nodev,user=wassy)
3/ mount -t iso9660 …
gaia:/home/wassy# mount -t iso9660 dev/cdrom
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
4/ “” … dev/cdrom :
gaia:/home/wassy# gaia:/home/wassy# mount -t iso9660 dev/cdrom
bash: gaia:/home/wassy#: Aucun fichier ou répertoire de ce type
5/ “” … dev/sda
gaia:/home/wassy# mount -t iso9660 dev/sda
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
Du coup, comme je suis toujours aussi “débutant” qu’au début, je ne sais quoi en penser. je vois bien que les derniers messages sont plutôt de l’aide mais c’est à peu près tout ce que je comprends. Est-il possible de m’expliquer un peu tout ça dans des termes accessibles au nul que je suis ?
Merci à tous,
A+