Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement
Linux 2.0 Unofficial Patches (2x-mpeg-ext.patch)

Well known MPEG binary file extensions added to fs/fat/misc.c

JR Perkins (JRPerkins@aol.com)
Sat Jun 14 09:03:00 1997

[Home] [Linux 2.0] [Linux 2.1] [Information] [Distributions] [Links]

2x-mpeg-ext.patch
A small patch to add some MPEG audio-video file extensions to the fat/vfat well-known binary extension table of the fat file system.

The patched table contains the file extensions that will not be automatically CRLF<-->NL converted when read from fat/vfat partition mounted with : 'mount -o conv=auto switch'. I've also included the man page changes.

;Unzip the man page before patching it.
>gunzip /usr/man/man8/mount.8.gz

Patch the 'mount' man page.

--- /usr/man/man8/mount.8.orig  Thu Jun  5 00:56:40 1997
+++ /usr/man/man8/mount.8       Thu Jun  5 00:58:58 1997
@@ -574,7 +574,8 @@
 .I fs/fat/misc.c
 (as of 2.0, the list is: exe, com, bin, app, sys, drv, ovl, ovr, obj,
 lib, dll, pif, arc, zip, lha, lzh, zoo, tar, z, arj, tz, taz, tzp, tpz,
-gz, tgz, deb, gif, bmp, tif, gl, jpg, pcx, tfm, vf, gf, pk, pxl, dvi).
+gz, tgz, deb, gif, bmp, tif, gl, jpg, pcx, tfm, vf, gf, pk, pxl, dvi,
+wav, mps, mpg, mp1, mp2, avi, dvd).
 .PP
 Programs that do computed lseeks won't like in-kernel text conversion.
 Several people have had their data ruined by this translation. Beware!
_________end of man page patch_
;zip the man page
>gzip /usr/man/man8/mount.8




[Home] [Up] [Search] [FeedBack]


For information regarding copying and distribution of this material see the COPYING document.
Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.