home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8002 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  2.6 KB

  1. Path: sparky!uunet!gatech!darwin.sura.net!zaphod.mps.ohio-state.edu!ub!acsu.buffalo.edu!jmsimon
  2. From: jmsimon@acsu.buffalo.edu (JMS)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Can I use dd on my UNIX system instead of Rawrite?
  5. Keywords: ltools?
  6. Message-ID: <BsvMtB.6zH@acsu.buffalo.edu>
  7. Date: 12 Aug 92 15:24:46 GMT
  8. References: <1992Aug11.192753.8568@dg-rtp.dg.com> <1992Aug12.122718.28604@ncsu.edu>
  9. Sender: jmsimon@acsu.buffalo.edu (JMS)
  10. Organization: UB okay with me
  11. Lines: 50
  12. Nntp-Posting-Host: lictor.acsu.buffalo.edu
  13.  
  14. In article <1992Aug12.122718.28604@ncsu.edu> jlnance@eos.ncsu.edu writes:
  15. >
  16. >Now my question:
  17. >Would it be simple to modify the mtools source to allow it to read and write
  18. >linux files onto a floppy instead of dos files?  (We could call it ltools).
  19. >I think that this could be useful.
  20.  
  21. I don't think files in *nices are stored in such a way as that would be
  22. possible - I may be wrong, but mtools should be reading the file allocation
  23. table off of a DOS floppy and using that info to display a directory. To
  24. grab a file, it can go to the location on disk specified by the FAT entry.
  25.  
  26. There isn't a FAT per se in *nix, is there? Just a bunch of inodes? Okay,
  27. someone else field this one ;^) because I'm quickly leaving my element of
  28. "end-user" and "programmer" and creeping towards "OS hacker" -- help!
  29.  
  30. But aside from that, I don't see why you couldn't just do:
  31.  
  32.    fdformat
  33.    mkfs -c /dev/fd0 1200 (or 1440 for a 1.44mb 3.5")
  34.    mount /dev/fd0 /linux.floppy
  35.    tar cvf /linux.floppy/my.tar *
  36.    umount /dev/fd0
  37.    ...and take it with you...
  38.  
  39.    (of course you can skip the fdformat and mkfs step if the disk already 
  40.     has a file system on it)
  41.  
  42. Also, on my Sparc at work I have used other programs similar to tar, one
  43. which springs to mind is called 'bar' -- I seem to remember this utility
  44. would let you put multiple 'bar'chive files onto a single floppy or tape.
  45.  
  46. The man page wasn't enough to refresh my memory (it's been a long time
  47. since I backed up my files on disk! Exabytes work great) on how to use
  48. it or specifically what it can do better, but I know a "bar" file isn't 
  49. compatible with a tar file. Multiple tar archives can be put inside 
  50. multiple bar archives on one disk, tho, which makes it a bit better than
  51. tar for disk backups (multiple volumes)
  52.  
  53. JMS
  54.  
  55. >
  56. >Jim Nance
  57.  
  58.  
  59. -- 
  60. *******************************************************************************
  61.  Jeffrey M. Simon           .o   o.         Computer Science / Business Mgmt.
  62.  jmsimon@acsu.buffalo.edu       ~~v~~         State University of NY at Buffalo
  63. ***** "Perspiration = ( Genius - 1% Inspiration ) / .99" -Ein*kinda*stein *****
  64.