diff -Naurd coreutils-5.2.1.orig/src/fs.h coreutils-5.2.1/src/fs.h --- coreutils-5.2.1.orig/src/fs.h 2004-02-05 14:46:47.000000000 +0100 +++ coreutils-5.2.1/src/fs.h 2004-08-31 12:33:39.407612566 +0200 @@ -33,6 +33,8 @@ # define S_MAGIC_REISERFS 0x52654973 # define S_MAGIC_CRAMFS 0x28cd3d45 # define S_MAGIC_ROMFS 0x7275 +# define S_MAGIC_RAMFS 0x858458f6 +# define S_MAGIC_SQUASHFS 0x73717368 #elif defined __GNU__ # include #endif diff -Naurd coreutils-5.2.1.orig/src/stat.c coreutils-5.2.1/src/stat.c --- coreutils-5.2.1.orig/src/stat.c 2004-02-05 14:46:12.000000000 +0100 +++ coreutils-5.2.1/src/stat.c 2004-08-31 12:34:33.170829687 +0200 @@ -217,6 +217,12 @@ case S_MAGIC_ROMFS: /* 0x7275 */ type = "romfs"; break; + case S_MAGIC_RAMFS: /* 0x858458f6 */ + type = "ramfs"; + break; + case S_MAGIC_SQUASHFS: /* 0x73717368 */ + type = "squashfs"; + break; # elif __GNU__ case FSTYPE_UFS: type = "ufs";