SUMMARY: writing floppy in Tru64

From: Padiyath Sreekumaran (Kumar.Padiyath@psi.ch)
Date: Wed Oct 22 2003 - 04:11:31 EDT


      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
>

  

 



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:39 EDT