home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8469 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.6 KB  |  37 lines

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