home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.3b1
- Path: sparky!uunet!ceilidh!dnichols
- From: dnichols@d-and-d.com (DoN. Nichols)
- Subject: Re: Copy to Flpy from root on a 7300?
- Message-ID: <1993Jan13.041756.8323@ceilidh.d-and-d.com>
- Sender: usenet@ceilidh.d-and-d.com (Usenet)
- Nntp-Posting-Host: shindig
- Organization: D and D Data, Vienna VA
- References: <93008.213146CXF107@psuvm.psu.edu> <22@zebra.alphacdc.COM>
- Date: Wed, 13 Jan 1993 04:17:56 GMT
- Lines: 56
-
- In article <22@zebra.alphacdc.COM> vern@zebra.alphacdc.COM (Vernon C. Hoxie) writes:
- >In article <93008.213146CXF107@psuvm.psu.edu> CXF107@psuvm.psu.edu (Rooh) writes:
- >>Hello all,
- >> I have a 7300. I would like to copy files to the floppy
- >>from a root login. I would rather not logon as a user and do a
- >>backup. Any ideas?
-
- [ ... ]
-
- >Method 1:
- >$ mount /dev/fp021 /mnt
- >$ filename /mnt
- >
- > With this method, the floppy becomes part of your root file
- >system and '/mnt' can be used as any other directory on your file system
- >with exception that you cannot 'ln' (link) between the floppy and the
- >hard disk. You can 'cd /mnt' or you run any standard operation from the
- >floppy by addressing the files there as '/mnt/xxx'.
- >
- > When finished, the floppy must be unmounted:
- >$ umount /dev/fp021
-
- *WARNING* You should cd back out of the floppy before you attempt to
- umount(1) it. Also, you will be unable to umount it if anyone else is cd'd
- into the floppy, or if any process has a file on the floppy open.
-
- > This is required to write the current inode table from ram to
- >the floppy file system.
-
- And possibly some of the files' contents as well, depending on how
- long it has been since the last write to the floppy.
-
- > For this reason, write protected disks cannot
- >be used or else you will get those annoying '!!' messages about floppy
- >disk errors.
-
- However, if you *do* want to mount and read from a write-protected
- floppy, it can easily be done without the error messages, *if* you add a
- '-r' option to mount. I believe that on the SysV flavor, the -r comes
- after the rest of the parameters, eg:
-
- mount /dev/fp021 /mnt -r
-
- while on SunOs, it would be:
-
- mount -r /dev/fd0 /mnt
-
- just to keep the confusion stirred. :-)
-
- Happy Computing
- DoN.
- --
- Email: <dnichols@d-and-d.com> | ...!uunet!ceilidh!dnichols
- <dnichols@ceilidh.beartrack.com>
- Donald Nichols (DoN.) | Voice (Days): (703) 704-2280 (Eves): (703) 938-4564
- --- Black Holes are where God is dividing by zero ---
-