home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!usc!cs.utexas.edu!natinst.com!scott
- From: scott@natinst.com (Scott A. Taylor)
- Subject: Fixing mount to mount msdos filesystem under 0.96c pl 2
- Message-ID: <1992Aug17.182030.22405@natinst.com>
- Followup-To: comp.os.linux
- Summary: mount() isn't as ugly as the author would have us believe!
- Keywords: mount, msdos filesystem
- Sender: Scott Taylor (scott@natinst.com)
- Nntp-Posting-Host: eagle.natinst.com
- Organization: National Instruments, Austin, TX
- References: <1992Aug17.152210.23427@riacs.edu> <qddysb=@rpi.edu> <yddysh=@rpi.edu>
- Date: Mon, 17 Aug 1992 18:20:30 GMT
- Lines: 21
-
- For those of you having trouble getting the recently ported mount utility
- to mount your MS-DOS filesystems, I played around with it a little (very
- little!) this weekend and figured out how to get it to work. The easy fix
- is to remove the "-DUGLY_MOUNT=xxxx" from the CFLAGS line in the makefile,
- and to change "return MASK" in line 221 of mount.c to "return mask;". I
- recompiled and mounted my MS-DOS 3.3 partition; worked like a charm.
-
- I am running 0.96c patch level 2, with the mount sources dated July 14 (I
- believe) from tsx-11. I think that UGLY_MOUNT was introduced to get around
- a problem with earlier versions of the kernel (0.96c pl1, maybe?), so this
- probably won't work with earlier versions of Linux. I don't know about
- 0.97.
-
- If everyone else has already figured this out, just ignore this post!
-
- Scott
- --
- Scott Taylor |
- (512) 795-6837 | "Well, I wanted to work with gymnasts." -David Byrne
- scott@natinst.com |
- ** NI pays me to write their code, not their opinions, and that's what I do **
-