home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / aix / 11786 < prev    next >
Encoding:
Text File  |  1992-11-20  |  3.3 KB  |  88 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!stanford.edu!rock!concert!uvaarpa!murdoch!holmes.acc.Virginia.EDU!op
  3. From: op@holmes.acc.Virginia.EDU (Olaf  Pors)
  4. Subject: Re: How do I mount a floppy disk - novice or FAQ question
  5. Message-ID: <1992Nov20.230612.26056@murdoch.acc.Virginia.EDU>
  6. Keywords: floppy, filesystem mount
  7. Sender: usenet@murdoch.acc.Virginia.EDU
  8. Organization: University of Virginia
  9. References: <1992Nov19.022256.20691@unvax.union.edu>
  10. Date: Fri, 20 Nov 1992 23:06:12 GMT
  11. Lines: 75
  12.  
  13. In article <1992Nov19.022256.20691@unvax.union.edu> Eric.Boehm@union.edu writes:
  14. >I know this is a novice question but my experience is with SunOS, BSD
  15. >and Ultrix. I can't seem to mount a floppy disk. I have formatted the
  16. >diskette and created a filesystem. When I try to mount the disk I get
  17. >complaints about unable to determine log device or unable to mount
  18. >device.
  19. >
  20.  
  21.   This is hot off the press from one of our IBM representatives.
  22. I've tried it, and it works.
  23.  
  24.  SCENARIO/EXPLANATION:
  25.  A need has been voiced by some customers to build file systems
  26.  on a floppy diskette.  They would like steps to build it and
  27.  mount it from the RISC System/6000 diskette drive.
  28.  
  29.  SOLUTION:
  30.  
  31.         You can build a filesystem on a floppy and mount it, however
  32.      the filesystem will be read only.  The reason that the filesystem
  33.      will be read only is because AIX Version 3.1.5 cannot create a
  34.      journal log on a diskette.  The intended use is for temporary
  35.      access to the read only data.  The diskette file system must be
  36.      unmounted after use and during system backup procedures or
  37.      errors could occur.
  38.  
  39.       To make the read only filesystem on a floppy:
  40.  
  41.       1. Make a subdirectory on an existing filesystem on the hardfile,
  42.          and place all of the files that the diskette will contain into
  43.          this  subdirectory.
  44.  
  45.       2. Enter the following command to create a prototype file
  46.          containing  information about the new filesystem,
  47.          in the example  /directory_structure is the pathname
  48.          of the subdirectory created in step 1, and proto_filename
  49.          is the name of the prototype file that will be created.
  50.  
  51.          proto /directory_structure > proto_filename
  52.  
  53.       3. Place your floppy disk into the drive and format it.
  54.  
  55.       4. Edit the prototype file and replace the first line with the
  56.          following:
  57.  
  58.            <noboot> 0 0
  59.  
  60.       5. Enter the following command to make the filesystem on your
  61.          floppy:
  62.  
  63.            mkfs -p proto_filename -V jfs /dev/fd0
  64.  
  65.       6. Create the directory upon which you will mount the floppy
  66.          based filesystem, or you can use the /mnt directory.  Enter
  67.          the following command to mount the filesystem:
  68.  
  69.            mount -r -V jfs /dev/fd0 /your_mount_point
  70.  
  71.       7. To unmount the filesystem, use the command:
  72.  
  73.             umount /dev/fd0
  74.  
  75.        The fact that the filesystem is read-only may be a problem
  76.        but if you are going to use it for utility programs and other
  77.        data that does not change much, it still may be useful.  If you
  78.        need to change the data, you can copy the directory from the
  79.        floppy into another directory, make your modifications, and
  80.        remake the filesystem using this procedure.
  81.  
  82.  
  83.  
  84. Olaf Pors
  85. Academic Computing Center
  86. University of Virginia
  87. op@Virginia.EDU
  88.