Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Monter un système de fichier inconne

1 réponse
Avatar
Jeff
Bonjour,

j'ai un cd-rom gravé et je ne sais pas quel est le systéme de fichier
utilisé.

Pour monter quoi que ce soit avec "mount", il faut préciser le "filesystem".
Existe-t-il un outil pour rechercher le type du "filesystem" ?

Merci.

1 réponse

Avatar
Rakotomandimby Mihamina
On Wed, 06 Oct 2004 14:51:56 +0200, Jeff wrote:

Bonjour,


Bonjour

j'ai un cd-rom gravé et je ne sais pas quel est le systéme de fichier
utilisé.

Pour monter quoi que ce soit avec "mount", il faut préciser le "filesystem".
Existe-t-il un outil pour rechercher le type du "filesystem" ?


Extrait du man de mount :
[...]
-t vfstype
The argument following the -t is used to indicate
the file system type. The file system types which
are currently supported are listed in
linux/fs/filesystems.c: minix, ext, ext2, xiafs,
hpfs, fat, msdos, umsdos, vfat, proc, nfs, iso9660,
smb, ncp, affs, ufs, sysv, xenix, coherent. Note
that the last three are equivalent and that xenix
and coherent will be removed at some point in the
future -- use sysv instead.

The type iso9660 is the default. If no -t option
is given, or if the auto type is specified, the
superblock is probed for the filesystem type
(minix, ext, ext2, xia, iso9660 are supported). If
this probe fails and /proc/filesystems exists, then
all of the filesystems listed there will be tried,
except for those that are labeled "nodev" (e.g.,
proc and nfs).

Note that the auto type may be useful for user-
mounted floppies. Warning: the probing uses a
heuristic (the presence of appropriate `magic'),
and could recognize the wrong filesystem type.
[...]

Donc tu peux faire:

- 'mount -t auto'

- tu peux aussi faire un script shell dans le genre :

for FS in fs1 fs2 fs3 fs4 ; do

mount -t $FS /le/device

done

Merci.


De rien ...
--
ASPO Infogérance - http://aspo.rktmb.org/activites/infogerance
Unofficial FAQ fcolc - http://faq.fcolc.eu.org/
Linux User Group sur Orléans et alentours.
Tél: + 33 2 38 76 43 65 (France)