lkml.org 
[lkml]   [1996]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: VFAT/FAT

On Thu, 28 Nov 1996, Jason Burrell wrote:

[...]
>
> Load VFAT partitions with "-t vfat" and FAT partitions with "-t msdos."
> Maybe "fat" should be slopped in /proc/filesystems as well, as an alias
> for "msdos."

The following diff registers 'fat' as an alias for 'msdos' for a
filesystem type:

*** fs/msdos/msdosfs_syms.c.orig Thu Nov 28 09:08:11 1996
--- fs/msdos/msdosfs_syms.c Thu Nov 28 09:20:09 1996
***************
*** 35,40 ****
--- 35,49 ----
msdos_read_super, "msdos", 1, NULL
};
+ /*
+ * Added 'fat' alias for 'msdos' filesystem
+ * jrichard@fix.net (28 Nov 1996)
+ *
+ */
+ struct file_system_type fat_fs_type = {
+ msdos_read_super, "fat", 1, NULL
+ };
+
int init_msdos_fs(void)
{
***************
*** 42,47 ****
--- 51,64 ----
if ((status = register_filesystem(&msdos_fs_type)) == 0)
status = register_symtab(&msdos_syms);
+ /*
+ * 'fat' alias for 'msdos'
+ * jrichard@fix.net (28 Nov 1996)
+ *
+ */
+ if ((status = register_filesystem(&fat_fs_type)) == 0)
+ status = register_symtab(&msdos_syms);
+
return status;
}


| Josh Richards -- Network Admin/Tech Support @ The FIX Network |
| <jrichard@FIX.Net> <jrichard@Freedom.gen.ca.us> <jrichard@Slonet.org> |
| <http://www.freedom.gen.ca.us/jrichard/> Finger for my PGP Key |
| - 'Life is hard, sendmail.cf reflects this...' - |


\
 
 \ /
  Last update: 2005-03-22 13:38    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site