Article View: comp.sys.sun
Article #1507Using floppies as Unix FS on Sparc1
From: Brian R. Smith
Date: Sun, 17 Sep 1989 05:20
Date: Sun, 17 Sep 1989 05:20
18 lines
1317 bytes
1317 bytes
We (U of MN Computer Science) just got 12 SparcStation 1's, all with floppy drives. I read through the documentation - what I could anyhow - and I couldn't find any mention of HOW to use them as Unix filesystems. Is there any? (Somehow, the concept of using a floppy as a tape offends me deep down inside...) Anyhow, after some guidance from a Sun Wiz, I've seen it work. Just fdformat, newfs, and mount. But what if you don't have root perms? You can't do the mount. I spent this afternoon banging together a suid-root program that will do the mount for our normal users. It takes care of checking the read/write status of the drive, fsck'ing the disk, and finally mounting it nosuid. There may be a security hole or two that I've missed, so I'd be interested in seeing anyone else's attempts. (On the other hand, if you want the source to mine, drop me a line.) Brian
Technical Details
Message-ID:
<1578@brazos.Rice.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!ginosko!husc6!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ginosko!husc6!rice!sun-spots-request From: brsmith@umn-cs.CS.UMN.EDU (Brian R. Smith) Newsgroups: comp.sys.sun Subject: Using floppies as Unix FS on Sparc1 Keywords: Source Message-ID: <1578@brazos.Rice.edu> Date: 17 Sep 89 05:20:05 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 18 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 127, message 10 of 14