Article View: comp.archives
Article #520[comp.os.linux] Patch #6 to Mtools v2.0
From: Emmet P. Gray
Date: Wed, 02 Sep 1992 00:19
Date: Wed, 02 Sep 1992 00:19
44 lines
2380 bytes
2380 bytes
Archive-name: auto/comp.os.linux/Patch-6-to-Mtools-v2-0 This is to annouce the posting of patch #6 to the Mtools v2.0 distribution package to comp.sources.bugs. I understand that the version of Mtools that most (all?) Linux users have is a "splinter" version. So, you might have to struggle with the patch file to make it work. This patch will add the following features: 1) Mtools commands now use advisory locks to preclude two processes from writing to the same DOS filesystem. You must edit the Makefile to choose one of the 3 lock methods: -DLOCKF, -DFLOCK, or -DFCNTL. See the Configure file for more details. 2) An error detection routine has been added to determine if the FAT encoding scheme in the devices.c file is correct. 3) Mtools commands now return exit codes with the following meaning: 0 = success 1 = utter failure 2 = partial sucess/failure. (at least one successful operation, but at least one failure) It also corrects a bug when Mtools is used on machines that have 16 bit integers. However, machines with 16 bit integers are limited to FAT tables that are less than 64k in length. Mtools v2.0.5 was posted to the comp.sources.unix news group the 2nd week of January 92 as v25i097 thru v25i099. The "always current" version of Mtools and all the patches are available via anonymous ftp from cerl.cecer.army.mil (129.229.1.101). I've also placed the code in the /tmp/mtools directory on ftp.uu.net, but I can't say how long it will stay there. Emmet P. Gray US Army, HQ III Corps & Fort Hood ...!uunet!uiucuxc!fthood!egray Attn: AFZF-DE-ENV fthood!egray@uxc.cso.uiuc.edu Directorate of Engineering & Housing Environmental Management Office Fort Hood, TX 76544-5057
Technical Details
Message-ID:
<1811bdINNqkm@agate.berkeley.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!agate!agate!usenetReferences:
<BtF4wA.8F7@news.cso.uiuc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!agate!agate!usenet From: egray@osiris.cso.uiuc.edu (Emmet P. Gray) Newsgroups: comp.archives Subject: [comp.os.linux] Patch #6 to Mtools v2.0 Followup-To: comp.os.linux Date: 2 Sep 1992 00:19:57 GMT Organization: US Army Corps of Engineers - Construction Eng Research Lab Lines: 45 Approved: adam@soda.berkeley.edu Distribution: world Message-ID: <1811bdINNqkm@agate.berkeley.edu> References: <BtF4wA.8F7@news.cso.uiuc.edu> NNTP-Posting-Host: soda.berkeley.edu X-Original-Newsgroups: comp.os.linux X-Original-Date: Sun, 23 Aug 1992 04:09:45 GMT