home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / 3b1 / 4246 < prev    next >
Encoding:
Text File  |  1993-01-13  |  2.4 KB  |  69 lines

  1. Newsgroups: comp.sys.3b1
  2. Path: sparky!uunet!ceilidh!dnichols
  3. From: dnichols@d-and-d.com (DoN. Nichols)
  4. Subject: Re: Copy to Flpy from root on a 7300?
  5. Message-ID: <1993Jan13.041756.8323@ceilidh.d-and-d.com>
  6. Sender: usenet@ceilidh.d-and-d.com (Usenet)
  7. Nntp-Posting-Host: shindig
  8. Organization: D and D Data, Vienna VA
  9. References: <93008.213146CXF107@psuvm.psu.edu> <22@zebra.alphacdc.COM>
  10. Date: Wed, 13 Jan 1993 04:17:56 GMT
  11. Lines: 56
  12.  
  13. In article <22@zebra.alphacdc.COM> vern@zebra.alphacdc.COM (Vernon C. Hoxie) writes:
  14. >In article <93008.213146CXF107@psuvm.psu.edu> CXF107@psuvm.psu.edu (Rooh) writes:
  15. >>Hello all,
  16. >>          I have a 7300. I would like to copy files to the floppy
  17. >>from a root login. I would rather not logon as a user and do a
  18. >>backup. Any ideas?
  19.  
  20.     [ ... ]
  21.  
  22. >Method 1:
  23. >$ mount /dev/fp021 /mnt
  24. >$ filename /mnt
  25. >
  26. >    With this method, the floppy becomes part of your root file
  27. >system and '/mnt' can be used as any other directory on your file system
  28. >with exception that you cannot 'ln' (link) between the floppy and the
  29. >hard disk.  You can 'cd /mnt' or you run any standard operation from the
  30. >floppy by addressing the files there as '/mnt/xxx'.
  31. >
  32. >    When finished, the floppy must be unmounted:
  33. >$ umount /dev/fp021
  34.  
  35.     *WARNING* You should cd back out of the floppy before you attempt to
  36. umount(1) it.  Also, you will be unable to umount it if anyone else is cd'd
  37. into the floppy, or if any process has a file on the floppy open.
  38.  
  39. >    This is required to write the current inode table from ram to
  40. >the floppy file system.
  41.  
  42.     And possibly some of the files' contents as well, depending on how
  43. long it has been since the last write to the floppy.
  44.  
  45. >                         For this reason, write protected disks cannot
  46. >be used or else you will get those annoying '!!' messages about floppy
  47. >disk errors.
  48.  
  49.     However, if you *do* want to mount and read from a write-protected
  50. floppy, it can easily be done without the error messages, *if* you add a
  51. '-r' option to mount.  I believe that on the SysV flavor, the -r comes
  52. after the rest of the parameters, eg:
  53.  
  54.     mount /dev/fp021 /mnt -r
  55.  
  56. while on SunOs, it would be:
  57.  
  58.     mount -r /dev/fd0 /mnt
  59.  
  60. just to keep the confusion stirred. :-)
  61.  
  62.     Happy Computing
  63.         DoN.
  64. -- 
  65.  Email:   <dnichols@d-and-d.com>  |  ...!uunet!ceilidh!dnichols 
  66.          <dnichols@ceilidh.beartrack.com>
  67.  Donald Nichols (DoN.)  |   Voice (Days): (703) 704-2280 (Eves): (703) 938-4564
  68.     --- Black Holes are where God is dividing by zero ---
  69.