PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > How to determine which filesystems are available
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

How to determine which filesystems are available

Réponse
 
LinkBack Outils de la discussion
Vieux 28/04/2007, 10h30   #1
Sjoerd Hiemstra
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut How to determine which filesystems are available

Hi,

I inserted a Mac HFS formatted USB stick, and to my surprise a window
popped up in Gnome, displaying its contents.
Debian handles the HFS filesystem by default??

Which makes me wonder, how I could determine which filesystems are
available. Are HFS+ and UFS supported?
Or, to put it more precisely: support for which filesystems is compiled
into the kernel.

In another distro I have, they are listed in /etc/filesystems, but in
Debian I can't find anything like that.

--
SH


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 28/04/2007, 11h10   #2
Sjoerd Hiemstra
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to determine which filesystems are available

On Sat, 28 Apr 2007 14:59:19 +0530 Kushal Kumaran wrote:
> On 4/28/07, Sjoerd Hiemstra <shiems146@kpnplanet.nl> wrote:
> > I inserted a Mac HFS formatted USB stick, and to my surprise a
> > window popped up in Gnome, displaying its contents.
> > Debian handles the HFS filesystem by default??
> >
> > Which makes me wonder, how I could determine which filesystems are
> > available. Are HFS+ and UFS supported?
> > Or, to put it more precisely: support for which filesystems is
> > compiled into the kernel.

>
> Try /proc/filesystems. See the manpage for proc(5). For more info on
> the running kernel, take a look at /proc/config.gz


Here's the contents of /proc/filesystems (Etch).
Odd enough, HFS is not listed, despite the fact that it appears to be
functioning. ???

$ cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev cpuset
nodev debugfs
nodev securityfs
nodev sockfs
nodev pipefs
nodev futexfs
nodev tmpfs
nodev inotifyfs
nodev eventpollfs
nodev devpts
cramfs
nodev ramfs
nodev mqueue
nodev usbfs
ext3
ext2
reiserfs


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 28/04/2007, 11h50   #3
Kushal Kumaran
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to determine which filesystems are available

On 4/28/07, Sjoerd Hiemstra <shiems146@kpnplanet.nl> wrote:
> On Sat, 28 Apr 2007 14:59:19 +0530 Kushal Kumaran wrote:
> > On 4/28/07, Sjoerd Hiemstra <shiems146@kpnplanet.nl> wrote:
> > > I inserted a Mac HFS formatted USB stick, and to my surprise a
> > > window popped up in Gnome, displaying its contents.
> > > Debian handles the HFS filesystem by default??
> > >
> > > Which makes me wonder, how I could determine which filesystems are
> > > available. Are HFS+ and UFS supported?
> > > Or, to put it more precisely: support for which filesystems is
> > > compiled into the kernel.

> >
> > Try /proc/filesystems. See the manpage for proc(5). For more info on
> > the running kernel, take a look at /proc/config.gz

>
> Here's the contents of /proc/filesystems (Etch).
> Odd enough, HFS is not listed, despite the fact that it appears to be
> functioning. ???
>
> $ cat /proc/filesystems
> <snip contents not containing hfs>


It appears to show only those filesystems that are supported by loaded
modules or that are built into the kernel. You can look into the
/lib/modules/`uname -r`/kernel/fs/ directory to see what filesystem
modules are available.

--
Kushal


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 28/04/2007, 15h00   #4
Sjoerd Hiemstra
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to determine which filesystems are available

On Sat, 28 Apr 2007 16:13:47 +0530 Kushal Kumaran wrote:
> On 4/28/07, Sjoerd Hiemstra <shiems146@kpnplanet.nl> wrote:
> > On Sat, 28 Apr 2007 14:59:19 +0530 Kushal Kumaran wrote:
> > > On 4/28/07, Sjoerd Hiemstra <shiems146@kpnplanet.nl> wrote:
> > > > I inserted a Mac HFS formatted USB stick, and to my surprise a
> > > > window popped up in Gnome, displaying its contents.
> > > > Debian handles the HFS filesystem by default??
> > > >
> > > > Which makes me wonder, how I could determine which filesystems
> > > > are available. Are HFS+ and UFS supported?
> > > > Or, to put it more precisely: support for which filesystems is
> > > > compiled into the kernel.
> > >
> > > Try /proc/filesystems. See the manpage for proc(5). For more
> > > info on the running kernel, take a look at /proc/config.gz

> >
> > Here's the contents of /proc/filesystems (Etch).
> > Odd enough, HFS is not listed, despite the fact that it appears to
> > be functioning. ???
> >
> > $ cat /proc/filesystems
> > <snip contents not containing hfs>

>
> It appears to show only those filesystems that are supported by loaded
> modules or that are built into the kernel. You can look into the
> /lib/modules/`uname -r`/kernel/fs/ directory to see what filesystem
> modules are available.


Very interesting.
It appears that the recognition of HFS volumes, as I described it, is
a feature of Gnome only. In KDE it bumps into errors and in window
managers it does not work at all.
So I prefer to forget about Gnome and do it the way you mention here:

modprobe hfs

Then I can mount the HFS formatted USB stick the usual way:

mkdir /media/whatever
mount /dev/sda2 /media/whatever

Now it works everywhere without errors.
Thanks a lot!

--
S.H.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 28/04/2007, 19h02   #5
Greg Folkert
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to determine which filesystems are available

On Sat, 2007-04-28 at 11:22 +0200, Sjoerd Hiemstra wrote:
> Hi,
>
> I inserted a Mac HFS formatted USB stick, and to my surprise a window
> popped up in Gnome, displaying its contents.
> Debian handles the HFS filesystem by default??
>
> Which makes me wonder, how I could determine which filesystems are
> available. Are HFS+ and UFS supported?
> Or, to put it more precisely: support for which filesystems is compiled
> into the kernel.
>
> In another distro I have, they are listed in /etc/filesystems, but in
> Debian I can't find anything like that.


modprobe -l | grep \/fs | less

Those would be the modules available. Not to mention the one actually
compiled in the kernel.

But if we really want to see what is available wenee to look at the
config:

cat /boot/config-`uname -r` | grep \_FS | less

This will tell you exactly what is available, in module form compiled in
and what is left out (not configured)
--
greg, greg@gregfolkert.net

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBGM4rF7WZpcbUkaHwRAhB8AJ9CpkGODux3X4tIqtBcR0 O37/Ci/gCfSI/b
jKIf3rFpw9UEw0KZliUksec=
=rxUs
-----END PGP SIGNATURE-----

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h56.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14537 seconds with 13 queries