external pcmcia disk on /dev/hdc mounting ro - Slackware

This is a discussion on external pcmcia disk on /dev/hdc mounting ro - Slackware ; Hi, On my Slack 11 laptop, I connect an (LS-120) disk via pcmcia. It mounts automatically on /dev/hdc (mountpoint /mnt/ls120). I tried to mount it with "-o users" so I can have write access as ordinary user, but it still ...

+ Reply to Thread
Results 1 to 10 of 10

Thread: external pcmcia disk on /dev/hdc mounting ro

  1. external pcmcia disk on /dev/hdc mounting ro

    Hi,

    On my Slack 11 laptop, I connect an (LS-120) disk via pcmcia. It mounts
    automatically on /dev/hdc (mountpoint /mnt/ls120). I tried to mount it
    with "-o users" so I can have write access as ordinary user, but it
    still gives "block device /dev/hdc is write-protected, mounting
    read-only". Of course I checked the LS-120 disk for being w-p: it isn't.
    So how can I make this device (user-)writable?

    Thanks.

  2. Re: external pcmcia disk on /dev/hdc mounting ro

    Hallo, Huub,

    Du ("v.niekerk at hccnet.nl") meintest am 25.11.07:

    > On my Slack 11 laptop, I connect an (LS-120) disk via pcmcia. It
    > mounts automatically on /dev/hdc (mountpoint /mnt/ls120).


    Seems to be wrong.

    What tells

    fdisk -l /dev/hdc

    Usually it's partitioned (no "superfloppy"), and only partition 4 is
    installed.

    Viele Gruesse!
    Helmut


  3. Re: external pcmcia disk on /dev/hdc mounting ro

    Hallo Helmut,
    >
    > Seems to be wrong.
    >
    > What tells
    >
    > fdisk -l /dev/hdc
    >
    > Usually it's partitioned (no "superfloppy"), and only partition 4 is
    > installed.


    See attached output.

    Thank you.


    Disk /dev/hdc: 126 MB, 126222336 bytes
    8 heads, 32 sectors/track, 963 cylinders
    Units = cylinders of 256 * 512 = 131072 bytes

    This doesn't look like a partition table
    Probably you selected the wrong device.

    Device Boot Start End Blocks Id System
    /dev/hdc1 ? 7303795 7962738 84344761 69 Unknown
    Partition 1 has different physical/logical beginnings (non-Linux?):
    phys=(68, 13, 10) logical=(7303794, 3, 6)
    Partition 1 has different physical/logical endings:
    phys=(288, 115, 43) logical=(7962737, 6, 23)
    Partition 1 does not end on cylinder boundary.
    /dev/hdc2 ? 6646561 13950785 934940732+ 73 Unknown
    Partition 2 has different physical/logical beginnings (non-Linux?):
    phys=(371, 114, 37) logical=(6646560, 3, 26)
    Partition 2 has different physical/logical endings:
    phys=(366, 32, 33) logical=(13950784, 7, 18)
    Partition 2 does not end on cylinder boundary.
    /dev/hdc3 ? 11 11 0 74 Unknown
    Partition 3 has different physical/logical beginnings (non-Linux?):
    phys=(371, 114, 37) logical=(10, 0, 14)
    Partition 3 has different physical/logical endings:
    phys=(372, 97, 50) logical=(10, 0, 13)
    Partition 3 does not end on cylinder boundary.
    /dev/hdc4 1 13418412 1717556736 0 Empty
    Partition 4 has different physical/logical beginnings (non-Linux?):
    phys=(0, 0, 0) logical=(0, 0, 1)
    Partition 4 has different physical/logical endings:
    phys=(0, 0, 0) logical=(13418411, 7, 32)
    Partition 4 does not end on cylinder boundary.

    Partition table entries are not in disk order


  4. Re: external pcmcia disk on /dev/hdc mounting ro

    Hallo, Huub,

    Du ("v.niekerk at hccnet.nl") meintest am 25.11.07:


    > This doesn't look like a partition table
    > Probably you selected the wrong device.


    > Device Boot Start End Blocks Id System
    > /dev/hdc1 ? 7303795 7962738 84344761 69 Unknown
    > Partition 1 has different physical/logical beginnings (non-Linux?):


    looks like "superfloppy".

    What tells

    file -s /dev/hdc

    By the way: those zipdrives tend to go "write only".

    Viele Gruesse!
    Helmut


  5. Re: external pcmcia disk on /dev/hdc mounting ro

    Hallo Helmut,

    >> This doesn't look like a partition table
    >> Probably you selected the wrong device.

    >
    >> Device Boot Start End Blocks Id System
    >> /dev/hdc1 ? 7303795 7962738 84344761 69 Unknown
    >> Partition 1 has different physical/logical beginnings (non-Linux?):

    >
    > looks like "superfloppy".
    >
    > What tells
    >
    > file -s /dev/hdc


    As user:

    /dev/hdc: writable, no read permission

    As root: see attachment. BTW, though it mentions WinXP, it has only been
    used by Win95 (only read recently before installing Slack 11) and Win2k
    a long time ago. No XP involved.

    >
    > By the way: those zipdrives tend to go "write only".


    OK


    /dev/hdc: x86 boot sector, Microsoft Windows XP Bootloader NTLDR, code offset 0x3c, OEM-ID "*ifwKIHC", sectors/cluster 4, root entries 512, sectors/FAT 241, heads 8, sectors 246528 (volumes > 32 MB) , serial number 0x2021c566, unlabeled, FAT (16 bit)


  6. Re: external pcmcia disk on /dev/hdc mounting ro

    Hallo, Huub,

    Du ("v.niekerk at hccnet.nl") meintest am 25.11.07:

    > On my Slack 11 laptop, I connect an (LS-120) disk via pcmcia. It
    > mounts automatically on /dev/hdc (mountpoint /mnt/ls120). I tried to
    > mount it with "-o users" so I can have write access as ordinary user,
    > but it still gives "block device /dev/hdc is write-protected,
    > mounting read-only". Of course I checked the LS-120 disk for being
    > w-p: it isn't. So how can I make this device (user-)writable?


    Sorry - I had searched in the wrong corner.

    What tells

    mount | grep hdc

    grep hdc /etc/fstab

    http://www.linux-user.de/ausgabe/200...l15_mount.html

    recommends a line in "/etc/fstab"

    /dev/hdc /mnt/zip vfat noauto,user 0 0

    Maybe your mount point has another name.
    And this line does no "automount".

    For "automount" look at

    http://www.linux-user.de/ausgabe/200...fs/autofs.html

    Viele Gruesse!
    Helmut


  7. Re: external pcmcia disk on /dev/hdc mounting ro

    Hallo Helmeut,
    > Sorry - I had searched in the wrong corner.
    >
    > What tells
    >
    > mount | grep hdc


    /dev/hdc on /mnt/ls120 type vfat (ro,noexec,nosuid,nodev)

    >
    > grep hdc /etc/fstab


    empty

    >
    > http://www.linux-user.de/ausgabe/200...l15_mount.html
    >
    > recommends a line in "/etc/fstab"
    >
    > /dev/hdc /mnt/zip vfat noauto,user 0 0
    >
    > Maybe your mount point has another name.
    > And this line does no "automount".


    Added the line (mountpoint /mnt/ls120) and mounted the drive, but still
    write-protected, mounting read-only.

  8. Re: external pcmcia disk on /dev/hdc mounting ro


    Huub wrote :

    > Added the line (mountpoint /mnt/ls120) and mounted the drive, but
    > still write-protected, mounting read-only.


    I've checked the udev rules for a ls120 in Slackware 11 and it looks
    like you'll have to add your User to the Disk group to have write
    permissions to the drive.
    --
    Thomas O.

    This area is designed to become quite warm during normal operation.

  9. Re: external pcmcia disk on /dev/hdc mounting ro

    > I've checked the udev rules for a ls120 in Slackware 11 and it looks
    > like you'll have to add your User to the Disk group to have write
    > permissions to the drive.


    I added to the disk group, but when I want to write something to
    disk, I get permission denied.

  10. Re: external pcmcia disk on /dev/hdc mounting ro

    Huub <"v.niekerk at hccnet.nl"> wrote:

    >> I've checked the udev rules for a ls120 in Slackware 11 and it looks
    >> like you'll have to add your User to the Disk group to have write
    >> permissions to the drive.

    >
    > I added to the disk group, but when I want to write something to
    > disk, I get permission denied.


    Log out and log back in. Now try again ...

    (The ID settings are all configured during login, and not checked again.)

    --
    Linux User #152843
    Slackin' since 3.x

+ Reply to Thread