home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- 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
- From: op@holmes.acc.Virginia.EDU (Olaf Pors)
- Subject: Re: How do I mount a floppy disk - novice or FAQ question
- Message-ID: <1992Nov20.230612.26056@murdoch.acc.Virginia.EDU>
- Keywords: floppy, filesystem mount
- Sender: usenet@murdoch.acc.Virginia.EDU
- Organization: University of Virginia
- References: <1992Nov19.022256.20691@unvax.union.edu>
- Date: Fri, 20 Nov 1992 23:06:12 GMT
- Lines: 75
-
- In article <1992Nov19.022256.20691@unvax.union.edu> Eric.Boehm@union.edu writes:
- >I know this is a novice question but my experience is with SunOS, BSD
- >and Ultrix. I can't seem to mount a floppy disk. I have formatted the
- >diskette and created a filesystem. When I try to mount the disk I get
- >complaints about unable to determine log device or unable to mount
- >device.
- >
-
- This is hot off the press from one of our IBM representatives.
- I've tried it, and it works.
-
- SCENARIO/EXPLANATION:
- A need has been voiced by some customers to build file systems
- on a floppy diskette. They would like steps to build it and
- mount it from the RISC System/6000 diskette drive.
-
- SOLUTION:
-
- You can build a filesystem on a floppy and mount it, however
- the filesystem will be read only. The reason that the filesystem
- will be read only is because AIX Version 3.1.5 cannot create a
- journal log on a diskette. The intended use is for temporary
- access to the read only data. The diskette file system must be
- unmounted after use and during system backup procedures or
- errors could occur.
-
- To make the read only filesystem on a floppy:
-
- 1. Make a subdirectory on an existing filesystem on the hardfile,
- and place all of the files that the diskette will contain into
- this subdirectory.
-
- 2. Enter the following command to create a prototype file
- containing information about the new filesystem,
- in the example /directory_structure is the pathname
- of the subdirectory created in step 1, and proto_filename
- is the name of the prototype file that will be created.
-
- proto /directory_structure > proto_filename
-
- 3. Place your floppy disk into the drive and format it.
-
- 4. Edit the prototype file and replace the first line with the
- following:
-
- <noboot> 0 0
-
- 5. Enter the following command to make the filesystem on your
- floppy:
-
- mkfs -p proto_filename -V jfs /dev/fd0
-
- 6. Create the directory upon which you will mount the floppy
- based filesystem, or you can use the /mnt directory. Enter
- the following command to mount the filesystem:
-
- mount -r -V jfs /dev/fd0 /your_mount_point
-
- 7. To unmount the filesystem, use the command:
-
- umount /dev/fd0
-
- The fact that the filesystem is read-only may be a problem
- but if you are going to use it for utility programs and other
- data that does not change much, it still may be useful. If you
- need to change the data, you can copy the directory from the
- floppy into another directory, make your modifications, and
- remake the filesystem using this procedure.
-
-
-
- Olaf Pors
- Academic Computing Center
- University of Virginia
- op@Virginia.EDU
-