diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-12-06 23:51:34 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-12-06 23:51:34 +0000 |
commit | 230e5ab6a084ed50470f101934782dbf54b0d06b (patch) | |
tree | 5dd821c8d33f450470588e7a543f74bf74306e9e /Documentation/filesystems | |
parent | c9b1c8a64c6444d189856f1e26bdcb8b4cd0113a (diff) |
Merge with Linux 2.1.67.
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r-- | Documentation/filesystems/00-INDEX | 2 | ||||
-rw-r--r-- | Documentation/filesystems/smbfs.txt | 67 | ||||
-rw-r--r-- | Documentation/filesystems/vfat.txt | 304 |
3 files changed, 81 insertions, 292 deletions
diff --git a/Documentation/filesystems/00-INDEX b/Documentation/filesystems/00-INDEX index 36a1dfa12..72903619e 100644 --- a/Documentation/filesystems/00-INDEX +++ b/Documentation/filesystems/00-INDEX @@ -4,6 +4,8 @@ affs.txt - info and mount options for the Amiga Fast File System. hpfs.txt - info and mount options for the OS/2 HPFS. +isofs.txt + - info and mount options for the ISO9660 (CDROM) filesystem. ncpfs.txt - info on Novell Netware(tm) filesystem using NCP protocol. romfs.txt diff --git a/Documentation/filesystems/smbfs.txt b/Documentation/filesystems/smbfs.txt index fb2d55bdb..04eb2e586 100644 --- a/Documentation/filesystems/smbfs.txt +++ b/Documentation/filesystems/smbfs.txt @@ -1,13 +1,54 @@ -smbfs is a filesystem which understands the SMB protocol. This is the -protocol Windows for Workgroups, Windows NT or Lan Manager use to talk -to each other. smbfs was inspired by samba, the program written by -Andrew Tridgell that turns any unix host into a file server for DOS or -Windows clients. See ftp://nimbus.anu.edu.au/pub/tridge/samba/ for -this interesting program suite and lots of more information on SMB and -NetBIOS over TCP/IP. There you also find explanation for concepts like -netbios name or share. - -To use smbfs, you need a special mount program, which can be found in -the smbfs package, found on - - ftp://ftp.gwdg.de/pub/linux/misc/smbfs/ +Smbfs is a filesystem that implements the SMB protocol, which is the +protocol used by Windows for Workgroups, Windows 95 and Windows NT. +Smbfs was inspired by samba, the program written by Andrew Tridgell +that turns any unix host into a file server for DOS or Windows clients. +See ftp://nimbus.anu.edu.au/pub/tridge/samba/ for this interesting +program suite and much more information on SMB, NetBIOS over TCP/IP, +and explanations for concepts like netbios name or share. + +To use smbfs, you need to install the Samba package (Samba-1.9.17p1 or +later), and you need the special mount program from the smbfs package +(smbfs-2.1.0 or later), found on + + ftp://ftp.gwdg.de/pub/linux/misc/smbfs/dontuse + +After downloading the smbfs package, apply the patch to the smbclient +program and recompile. Smbfs can then be mounted from the smbclient +command line, as for example: + + smb: \>mount /mnt/tmp -f 755 + +For convenience, you may wish to package the command in a script like this: + +#!/bin/sh +echo "mount /mnt/tmp -f 755" | smbclient //server/c$ -U administrator% + +Mount-Time Options +Windows 95 has several bugs that affect SMB operations, and smbfs includes +work-arounds for all of the bugs found (so far, at least.) These can be +enabled at compile-time with the CONFIG_SMB_WIN95 kernel option. + +Unfortunately, some of the Win 95 work-arounds interact with Win NT bugs, +so if you're using several different types of servers on your network you +probably want to enable the work-arounds at mount time. To do this, answer +`N' to the CONFIG_SMB_WIN95 option, and add the needed options listed below +to the file mode argument of the mount command for the Win 95 servers. + +Option Value Effect +Identify Win 95 Server 1 Enables bug fixes +Use Core Attributes 2 Speeds up directory scans, only mtime + +To apply the options, sum the values and prepend it to the file mode. For +example, to use both options with file mode 755, you would prepend 3 to 755: + + cnt>mount /mnt/tmp -f 3755 + +Smbfs will print a message at mount time confirming the selected options. +Note that _only_ Windows 95 servers require special treatment; using the +"core attributes" option with Win NT will give trash timestamp values. + +To summarize, if your network includes both Win 95 and NT servers: +(1) Do _not_ enable the CONFIG_SMB_WIN95 kernel option + +(2) Add the desired work-around options to the mount command for your + Win 95 server(s). diff --git a/Documentation/filesystems/vfat.txt b/Documentation/filesystems/vfat.txt index 6f03cc799..050a4306a 100644 --- a/Documentation/filesystems/vfat.txt +++ b/Documentation/filesystems/vfat.txt @@ -8,7 +8,20 @@ if you want to format from within Linux. VFAT MOUNT OPTIONS ---------------------------------------------------------------------- -uni_xlate -- Translate unhandled Unicode characters to special +codepage=### -- Sets the codepage for converting to shortname characters + on FAT and VFAT filesystems. By default, codepage 437 + is used. This is the default for the U.S. and some + European countries. +iocharset=name -- Character set to use for converting between 8 bit characters + and 16 bit Unicode characters. Long filenames are stored on + disk in Unicode format, but Unix for the most part doesn't + know how to deal with Unicode. There is also an option of + doing UTF8 translations with the utf8 option. +utf8=<bool> -- UTF8 is the filesystem safe version of Unicode that + is used by the console. It can be be enabled for the + filesystem with this option. If 'uni_xlate' gets set, + UTF8 gets disabled. +uni_xlate=<bool> -- Translate unhandled Unicode characters to special escaped sequences. This would let you backup and restore filenames that are created with any Unicode characters. Until Linux supports Unicode for real, @@ -18,11 +31,11 @@ uni_xlate -- Translate unhandled Unicode characters to special illegal on the vfat filesystem. The escape sequence that gets used, where u is the unicode character, is: ':', (u & 0x3f), ((u>>6) & 0x3f), (u>>12), -posix -- Allow names of same letters, different case such as +posix=<bool> -- Allow names of same letters, different case such as 'LongFileName' and 'longfilename' to coexist. This has some problems currently because 8.3 conflicts are not handled correctly for Posix filesystem compliance. -nonumtail -- When creating 8.3 aliases, normally the alias will +nonumtail=<bool> -- When creating 8.3 aliases, normally the alias will end in '~1' or tilde followed by some number. If this option is set, then if the filename is "longfilename.txt" and "longfile.txt" does not @@ -31,19 +44,19 @@ nonumtail -- When creating 8.3 aliases, normally the alias will quiet -- Stops printing certain warning messages. +<bool>: 0,1,yes,no,true,false TODO ---------------------------------------------------------------------- +* When only shortnames exist, translate them from the codepage character + set to the iocharset. Currently, translations only occur when longnames + exist. To translate, first convert from codepage to Unicode and then + to the output character set. + * Need to get rid of the raw scanning stuff. Instead, always use a get next directory entry approach. The only thing left that uses raw scanning is the directory renaming code. -* Need to add dcache_lookup code msdos filesystem. This means the - directories need to be versioned like the vfat filesystem. - -* Add support for different codepages. Right now, we only support - the a single English codepage. - * Fix the Posix filesystem support to work in 8.3 space. This involves renaming aliases if a conflict occurs between a new filename and an old alias. This is quite a mess. @@ -55,11 +68,12 @@ POSSIBLE PROBLEMS * When a volume name is the same as a directory name in the root directory of the filesystem, the directory name sometimes shows up empty an empty file. +* autoconv option does not work correctly. BUG REPORTS ---------------------------------------------------------------------- If you have trouble with the VFAT filesystem, mail bug reports to -chaffee@bugs-bunny.cs.berkeley.edu. Please specify the filename +chaffee@bmrc.cs.berkeley.edu. Please specify the filename and the operation that gave you trouble. TEST SUITE @@ -67,7 +81,7 @@ TEST SUITE If you plan to make any modifications to the vfat filesystem, please get the test suite that comes with the vfat distribution at - http://www-plateau.cs.berkeley.edu/people/chaffee/vfat.html + http://bmrc.berkeley.edu/people/chaffee/vfat.html This tests quite a few parts of the vfat filesystem and additional tests for new features or untested features would be appreciated. @@ -194,271 +208,3 @@ the following: Finally, note that the extended name is stored in Unicode. Each Unicode character takes two bytes. - - -NOTES ON UNICODE TRANSLATION IN VFAT FILESYSTEM ----------------------------------------------------------------------- -(Information provided by Steve Searle <steve@mgu.bath.ac.uk>) - -Char used as Char(s) used Char(s) used in Entries which have -filename in shortname longname slot been corrected -0x80 (128) 0x80 0xC7 -0x81 (129) 0x9A 0xFC -0x82 (130) 0x90 0xE9 E -0x83 (131) 0xB6 0xE2 E -0x84 (132) 0x8E 0xE4 E -0x85 (133) 0xB7 0xE0 E -0x86 (134) 0x8F 0xE5 E -0x87 (135) 0x80 0xE7 E -0x88 (136) 0xD2 0xEA E -0x89 (137) 0xD3 0xEB E -0x8A (138) 0xD4 0xE8 E -0x8B (139) 0xD8 0xEF E -0x8C (140) 0xD7 0xEE E -0x8D (141) 0xDE 0xEC E -0x8E (142) 0x8E 0xC4 E -0x8F (143) 0x8F 0xC5 E -0x90 (144) 0x90 0xC9 E -0x91 (145) 0x92 0xE6 E -0x92 (146) 0x92 0xC6 E -0x93 (147) 0xE2 0xF4 E -0x94 (148) 0x99 0xF6 -0x95 (149) 0xE3 0xF2 -0x96 (150) 0xEA 0xFB -0x97 (151) 0xEB 0xF9 -0x98 (152) "_~1" 0xFF -0x99 (153) 0x99 0xD6 -0x9A (154) 0x9A 0xDC -0x9B (155) 0x9D 0xF8 -0x9C (156) 0x9C 0xA3 -0x9D (157) 0x9D 0xD8 -0x9E (158) 0x9E 0xD7 -0x9F (159) 0x9F 0x92 -0xA0 (160) 0xB5 0xE1 -0xA1 (161) 0xD6 0xE0 -0xA2 (162) 0xE0 0xF3 -0xA3 (163) 0xE9 0xFA -0xA4 (164) 0xA5 0xF1 -0xA5 (165) 0xA5 0xD1 -0xA6 (166) 0xA6 0xAA -0xA7 (167) 0xA7 0xBA -0xA8 (168) 0xA8 0xBF -0xA9 (169) 0xA9 0xAE -0xAA (170) 0xAA 0xAC -0xAB (171) 0xAB 0xBD -0xAC (172) 0xAC 0xBC -0xAD (173) 0xAD 0xA1 -0xAE (174) 0xAE 0xAB -0xAF (175) 0xAF 0xBB -0xB0 (176) 0xB0 0x91 0x25 -0xB1 (177) 0xB1 0x92 0x25 -0xB2 (178) 0xB2 0x93 0x25 -0xB3 (179) 0xB3 0x02 0x25 -0xB4 (180) 0xB4 0x24 0x25 -0xB5 (181) 0xB5 0xC1 -0xB6 (182) 0xB6 0xC2 -0xB7 (183) 0xB7 0xC0 -0xB8 (184) 0xB8 0xA9 -0xB9 (185) 0xB9 0x63 0x25 -0xBA (186) 0xBA 0x51 0x25 -0xBB (187) 0xBB 0x57 0x25 -0xBC (188) 0xBC 0x5D 0x25 -0xBD (189) 0xBD 0xA2 -0xBE (190) 0xBE 0xA5 -0xBF (191) 0xBF 0x10 0x25 -0xC0 (192) 0xC0 0x14 0x25 -0xC1 (193) 0xC1 0x34 0x25 -0xC2 (194) 0xC2 0x2C 0x25 -0xC3 (195) 0xC3 0x1C 0x25 -0xC4 (196) 0xC4 0x00 0x25 -0xC5 (197) 0xC5 0x3C 0x25 -0xC6 (198) 0xC7 0xE3 E -0xC7 (199) 0xC7 0xC3 -0xC8 (200) 0xC8 0x5A 0x25 E -0xC9 (201) 0xC9 0x54 0x25 E -0xCA (202) 0xCA 0x69 0x25 E -0xCB (203) 0xCB 0x66 0x25 E -0xCC (204) 0xCC 0x60 0x25 E -0xCD (205) 0xCD 0x50 0x25 E -0xCE (206) 0xCE 0x6C 0x25 E -0xCF (207) 0xCF 0xA4 E -0xD0 (208) 0xD1 0xF0 -0xD1 (209) 0xD1 0xD0 -0xD2 (210) 0xD2 0xCA -0xD3 (211) 0xD3 0xCB -0xD4 (212) 0xD4 0xC8 -0xD5 (213) 0x49 0x31 0x01 -0xD6 (214) 0xD6 0xCD -0xD7 (215) 0xD7 0xCE -0xD8 (216) 0xD8 0xCF -0xD9 (217) 0xD9 0x18 0x25 -0xDA (218) 0xDA 0x0C 0x25 -0xDB (219) 0xDB 0x88 0x25 -0xDC (220) 0xDC 0x84 0x25 -0xDD (221) 0xDD 0xA6 -0xDE (222) 0xDE 0xCC -0xDF (223) 0xDF 0x80 0x25 -0xE0 (224) 0xE0 0xD3 -0xE1 (225) 0xE1 0xDF -0xE2 (226) 0xE2 0xD4 -0xE3 (227) 0xE3 0xD2 -0xE4 (228) 0x05 0xF5 -0xE5 (229) 0x05 0xD5 -0xE6 (230) 0xE6 0xB5 -0xE7 (231) 0xE8 0xFE -0xE8 (232) 0xE8 0xDE -0xE9 (233) 0xE9 0xDA -0xEA (234) 0xEA 0xDB -0xEB (235) 0xEB 0xD9 -0xEC (236) 0xED 0xFD -0xED (237) 0xED 0xDD -0xEE (238) 0xEE 0xAF -0xEF (239) 0xEF 0xB4 -0xF0 (240) 0xF0 0xAD -0xF1 (241) 0xF1 0xB1 -0xF2 (242) 0xF2 0x17 0x20 -0xF3 (243) 0xF3 0xBE -0xF4 (244) 0xF4 0xB6 -0xF5 (245) 0xF5 0xA7 -0xF6 (246) 0xF6 0xF7 -0xF7 (247) 0xF7 0xB8 -0xF8 (248) 0xF8 0xB0 -0xF9 (249) 0xF9 0xA8 -0xFA (250) 0xFA 0xB7 -0xFB (251) 0xFB 0xB9 -0xFC (252) 0xFC 0xB3 -0xFD (253) 0xFD 0xB2 -0xFE (254) 0xFE 0xA0 0x25 -0xFF (255) 0xFF 0xA0 - - -Page 0 -0x80 (128) 0x00 -0x81 (129) 0x00 -0x82 (130) 0x00 -0x83 (131) 0x00 -0x84 (132) 0x00 -0x85 (133) 0x00 -0x86 (134) 0x00 -0x87 (135) 0x00 -0x88 (136) 0x00 -0x89 (137) 0x00 -0x8A (138) 0x00 -0x8B (139) 0x00 -0x8C (140) 0x00 -0x8D (141) 0x00 -0x8E (142) 0x00 -0x8F (143) 0x00 -0x90 (144) 0x00 -0x91 (145) 0x00 -0x92 (146) 0x00 -0x93 (147) 0x00 -0x94 (148) 0x00 -0x95 (149) 0x00 -0x96 (150) 0x00 -0x97 (151) 0x00 -0x98 (152) 0x00 -0x99 (153) 0x00 -0x9A (154) 0x00 -0x9B (155) 0x00 -0x9C (156) 0x00 -0x9D (157) 0x00 -0x9E (158) 0x00 -0x9F (159) 0x92 -0xA0 (160) 0xFF -0xA1 (161) 0xAD -0xA2 (162) 0xBD -0xA3 (163) 0x9C -0xA4 (164) 0xCF -0xA5 (165) 0xBE -0xA6 (166) 0xDD -0xA7 (167) 0xF5 -0xA8 (168) 0xF9 -0xA9 (169) 0xB8 -0xAA (170) 0x00 -0xAB (171) 0xAE -0xAC (172) 0xAA -0xAD (173) 0xF0 -0xAE (174) 0x00 -0xAF (175) 0xEE -0xB0 (176) 0xF8 -0xB1 (177) 0xF1 -0xB2 (178) 0xFD -0xB3 (179) 0xFC -0xB4 (180) 0xEF -0xB5 (181) 0xE6 -0xB6 (182) 0xF4 -0xB7 (183) 0xFA -0xB8 (184) 0xF7 -0xB9 (185) 0xFB -0xBA (186) 0x00 -0xBB (187) 0xAF -0xBC (188) 0xAC -0xBD (189) 0xAB -0xBE (190) 0xF3 -0xBF (191) 0x00 -0xC0 (192) 0xB7 -0xC1 (193) 0xB5 -0xC2 (194) 0xB6 -0xC3 (195) 0xC7 -0xC4 (196) 0x8E -0xC5 (197) 0x8F -0xC6 (198) 0x92 -0xC7 (199) 0x80 -0xC8 (200) 0xD4 -0xC9 (201) 0x90 -0xCA (202) 0xD2 -0xCB (203) 0xD3 -0xCC (204) 0xDE -0xCD (205) 0xD6 -0xCE (206) 0xD7 -0xCF (207) 0xD8 -0xD0 (208) 0x00 -0xD1 (209) 0xA5 -0xD2 (210) 0xE3 -0xD3 (211) 0xE0 -0xD4 (212) 0xE2 -0xD5 (213) 0xE5 -0xD6 (214) 0x99 -0xD7 (215) 0x9E -0xD8 (216) 0x9D -0xD9 (217) 0xEB -0xDA (218) 0xE9 -0xDB (219) 0xEA -0xDC (220) 0x9A -0xDD (221) 0xED -0xDE (222) 0xE8 -0xDF (223) 0xE1 -0xE0 (224) 0x85, 0xA1 -0xE1 (225) 0xA0 -0xE2 (226) 0x83 -0xE3 (227) 0xC6 -0xE4 (228) 0x84 -0xE5 (229) 0x86 -0xE6 (230) 0x91 -0xE7 (231) 0x87 -0xE8 (232) 0x8A -0xE9 (233) 0x82 -0xEA (234) 0x88 -0xEB (235) 0x89 -0xEC (236) 0x8D -0xED (237) 0x00 -0xEE (238) 0x8C -0xEF (239) 0x8B -0xF0 (240) 0xD0 -0xF1 (241) 0xA4 -0xF2 (242) 0x95 -0xF3 (243) 0xA2 -0xF4 (244) 0x93 -0xF5 (245) 0xE4 -0xF6 (246) 0x94 -0xF7 (247) 0xF6 -0xF8 (248) 0x9B -0xF9 (249) 0x97 -0xFA (250) 0xA3 -0xFB (251) 0x96 -0xFC (252) 0x81 -0xFD (253) 0xEC -0xFE (254) 0xE7 -0xFF (255) 0x98 - |