SCO 505 "mount: cannot stat '/dev/dsk/f03ht'" - SCO

This is a discussion on SCO 505 "mount: cannot stat '/dev/dsk/f03ht'" - SCO ; The SCO saga continues. I can do a dd to my floppy disk: dd if=/tmp/some_file of=/dev/rdsk/f03ht Now, after that, I need to mount it: # mount /dev/dsk/f03ht /mnt mount: cannot stat '/dev/dsk/f03ht' # Any ideas? I did this last week ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: SCO 505 "mount: cannot stat '/dev/dsk/f03ht'"

  1. SCO 505 "mount: cannot stat '/dev/dsk/f03ht'"

    The SCO saga continues.

    I can do a dd to my floppy disk:
    dd if=/tmp/some_file of=/dev/rdsk/f03ht

    Now, after that, I need to mount it:
    # mount /dev/dsk/f03ht /mnt
    mount: cannot stat '/dev/dsk/f03ht'
    #

    Any ideas? I did this last week without problems.

    The minor and major numbers look OK?

    # ls -l /dev/dsk/f03ht
    brw-rw-rw- 2 bin bin 2, 60 May 28 13:48 /dev/dsk/f03ht
    # ls -l /dev/rdsk/f03ht
    crw-rw-rw- 2 bin bin 2, 60 Jun 20 13:32 /dev/rdsk/f03ht
    #


    Marco

  2. Re: SCO 505 "mount: cannot stat '/dev/dsk/f03ht'"

    On Jun 20, 12:39*pm, Marco Shaw wrote:
    > The SCO saga continues.
    >
    > I can do a dd to my floppy disk:
    > dd if=/tmp/some_file of=/dev/rdsk/f03ht
    >
    > Now, after that, I need to mount it:
    > # mount /dev/dsk/f03ht /mnt
    > mount: cannot stat '/dev/dsk/f03ht'
    > #
    >
    > Any ideas? *I did this last week without problems.
    >

    Didn't the dd to the floppy wipe out any filesystem info on it?
    Haven't played with dd to a mountable floppy in so long that I can't
    recall the details.

    On an earlier system IIRC it was mkdev fd and create a filesystem,
    mount the file system, then dd /--/filename /dev/--/filename. But I
    always had the mounted floppy sitting at /fd0 to simplify matters.

    Ed Fair

  3. Re: SCO 505 "mount: cannot stat '/dev/dsk/f03ht'"

    Marco Shaw wrote:

    > The SCO saga continues.
    >
    > I can do a dd to my floppy disk:
    > dd if=/tmp/some_file of=/dev/rdsk/f03ht
    >
    > Now, after that, I need to mount it:
    > # mount /dev/dsk/f03ht /mnt
    > mount: cannot stat '/dev/dsk/f03ht'
    > #
    >
    > Any ideas? I did this last week without problems.
    >
    > The minor and major numbers look OK?
    >
    > # ls -l /dev/dsk/f03ht
    > brw-rw-rw- 2 bin bin 2, 60 May 28 13:48 /dev/dsk/f03ht
    > # ls -l /dev/rdsk/f03ht
    > crw-rw-rw- 2 bin bin 2, 60 Jun 20 13:32 /dev/rdsk/f03ht
    > #


    OSR5 has (at least) two floppy device node naming schemes. You are
    using the AT&T SysV scheme. The other naming scheme came from Xenix,
    and is used by most of SCO's documentation (Technical Articles etc.) as
    well as scripts. That scheme names drives by their formats; this one is
    /dev/fd0135ds18: fd0 (0th drive), 135 tracks per inch (a silly way to
    denote 80 tracks), double sided, 18 sectors/track.

    Now, if the whole reason you're putting it on a floppy is to be able to
    mount it and read data, you don't need a floppy at all:

    # marry -a /tmp/some_file
    # mount -r /dev/marry/tmp/some_file /mnt
    ...
    # umount /mnt
    # marry -d /tmp/some_file

    You should always use "-r" for read-only mount, unless you do intend to
    write.

    >Bela<


  4. Re: SCO 505 "mount: cannot stat '/dev/dsk/f03ht'"


    > Now, if the whole reason you're putting it on a floppy is to be able to
    > mount it and read data, you don't need a floppy at all:
    >
    > # marry -a /tmp/some_file
    > # mount -r /dev/marry/tmp/some_file /mnt


    I don't know if my system is corrupt...

    # cd /tmp
    # touch some_file
    # marry -a /tmp/some_file
    # mount -r /dev/marry/tmp/some_file /mnt
    mount: cannot stat '/dev/marry/tmp/some_file'


  5. Re: SCO 505 "mount: cannot stat '/dev/dsk/f03ht'"

    Marco Shaw wrote:

    > > Now, if the whole reason you're putting it on a floppy is to be able to
    > > mount it and read data, you don't need a floppy at all:
    > >
    > > # marry -a /tmp/some_file
    > > # mount -r /dev/marry/tmp/some_file /mnt

    >
    > I don't know if my system is corrupt...
    >
    > # cd /tmp
    > # touch some_file
    > # marry -a /tmp/some_file
    > # mount -r /dev/marry/tmp/some_file /mnt
    > mount: cannot stat '/dev/marry/tmp/some_file'


    Doing the exact same steps, I get the same result. But what did you
    expect it to do when trying to mount a completely empty file? When I
    followed that up with:

    # cat some_btld > /tmp/some_file
    # mount -r /dev/marry/tmp/some_file /mnt

    it was perfectly happy.

    >Bela<


  6. Re: SCO 505 "mount: cannot stat '/dev/dsk/f03ht'"

    In article <485fdb5c$0$4085$9a566e8b@news.aliant.net>,
    Marco Shaw wrote:
    >
    >> Now, if the whole reason you're putting it on a floppy is to be able to
    >> mount it and read data, you don't need a floppy at all:
    >>
    >> # marry -a /tmp/some_file
    >> # mount -r /dev/marry/tmp/some_file /mnt

    >
    >I don't know if my system is corrupt...
    >
    ># cd /tmp
    ># touch some_file
    ># marry -a /tmp/some_file
    ># mount -r /dev/marry/tmp/some_file /mnt
    >mount: cannot stat '/dev/marry/tmp/some_file'


    After you issue the 'marry -a' command, what does 'marry -l' say?

    John
    --
    John DuBois spcecdt@armory.com KC6QKZ/AE http://www.armory.com/~spcecdt/

  7. Re: SCO 505 "mount: cannot stat '/dev/dsk/f03ht'"

    In article ,
    John DuBois wrote:
    >In article <485fdb5c$0$4085$9a566e8b@news.aliant.net>,
    >Marco Shaw wrote:
    >># cd /tmp
    >># touch some_file
    >># marry -a /tmp/some_file
    >># mount -r /dev/marry/tmp/some_file /mnt
    >>mount: cannot stat '/dev/marry/tmp/some_file'

    >
    >After you issue the 'marry -a' command, what does 'marry -l' say?


    Ah, I see Bela noticed that you are trying to mount an empty device...

    John
    --
    John DuBois spcecdt@armory.com KC6QKZ/AE http://www.armory.com/~spcecdt/

+ Reply to Thread