From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Padiyath Sreekumaran Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: writing floppy in Tru64 Date: Wed, 22 Oct 2003 10:11:31 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: sea.gmane.org 1066810318 16037 80.91.224.253 (22 Oct 2003 08:11:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2003 08:11:58 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Oct 22 10:11:56 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1ACE5z-0005qF-00 for ; Wed, 22 Oct 2003 10:11:55 +0200 Original-Received: (qmail 16322 invoked by uid 5); 22 Oct 2003 08:11:43 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 16300 invoked by uid 49493); 22 Oct 2003 08:11:42 -0000 Original-Received: from Kumar.Padiyath@psi.ch by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-5.1/5.0):. Processed in 4.493071 secs); 22 Oct 2003 08:11:42 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 22 Oct 2003 08:11:38 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HN500A0TG3DJ4@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 22 Oct 2003 04:11:37 -0400 (EDT) Original-Received: from psi12.psi.ch (psi12.psi.ch [129.129.190.112]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with SMTP id <0HN500JEYG3BMK@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 22 Oct 2003 04:11:37 -0400 (EDT) Original-Received: from 129.129.190.113 by psi12.psi.ch (InterScan E-Mail VirusWall NT) ; Wed, 22 Oct 2003 10:11:34 +0200 Original-Received: by psi13.psi.ch with Internet Mail Service (5.5.2653.19) id ; Wed, 22 Oct 2003 10:11:33 +0200 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:5622 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5622 Hallo, I have received mail from the following people and many thanks: Dr.Blinn, Frank Chu-Cheong , Michael Polnick and Mike Broderick . I did the following: chmod 666 floppy0c. Blinn wrote: ========= If you don't want any control on writing to the floppy disk, then change the protections to allow world write. Do both the raw floppy and the block floppy (/dev/disk and /dev/rdisk). If you want to allow some named group to write to it, create the group, make the device be in the group, allow the group write access, and put the users into the group. Polnik gave the following answer: ================================= the command is: mwrite .login a: and my protection is: lrwxrwxrwx 1 root system 8 Nov 22 2002 /dev/disk/floppy -> floppy0c brw-rw-rw- 1 root system 19, 1 Mar 19 2001 /dev/disk/floppy0a brw-rw-rw- 1 root system 19, 5 Oct 21 16:12 /dev/disk/floppy0c Frank's answer: ==========Copying Files to a Diskette 1. Format the diskette in drive floppy0: 2. # fddisk -fmt /dev/rdisk/floppy0c 3. Write a new disk label to a standard 3.5-inch diskette: 4. # disklabel -wr floppy0 rx23 5. Create a new file system on the entire diskette, the c partition: 6. # newfs /dev/rdisk/floppy0c Follow this procedure to mount the diskette drive and copy the files to the diskette: 1. Mount the diskette drive on the /mnt mount point: 2. # mount /dev/disk/floppy0c /mnt 3. Assuming that you are in the directory in which the files are located, enter the following commands to copy the files to the diskette: 4. # cp ./file_name /mnt/file_name Mike Broderick does the following to write: ========================================== # fddisk -fmt /dev/rdisk/floppy0c # tar cf /dev/disk/floppy0c ---------------------------------------------------------------------------- ------------------------- The question was: +++++++++++++++++ > hallo, > OS Tru64 V5.1A > One of the user wants to write to floppy disk on a Tru64 system. > Whether he needs any root privilege? > What command he has to use? > He did the following from his user account: > > mwrite .login /dev/disk/floppy > > Copying X.LOG >mwrite: You do not have write permission on "/dev/disk/floppy". > > Protection of floopy0c file: >---------------------------------- >ls -l /dev/disk/floppy0c >brw-r--r-- 1 root system 19, 5 Feb 25 2002 /dev/disk/floppy0c > > regards, > Kumar >