Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - amdonati

Pages: 1 ... 9 10 [11]
151
5x00 Hardware / 2.2GB Magicstor microdrive, shows up as 2GB. partition?
« on: January 15, 2004, 03:32:15 am »
Ok, I tried to hack a bit with ide.opts, in order to see if I can mount my 2 partitions in 2 different mount points!  

Here is my last version of ide.opts:
Code: [Select]
# ATA/IDE drive adapter configuration

#

# The address format is "scheme,socket,serial_no[,part]".

#

# For multi-partition devices, first return list of partitions in

# $PARTS.  Then, we\'ll get called for each partition.

#

case "$ADDRESS" in

*,*,*,1)

    #INFO="Sample IDE setup"

    #DO_FSTAB="y"; DO_FSCK="y"; DO_MOUNT="y"

    #FSTYPE="msdos"

    #OPTS=""

    FATOPTS="-o noatime,quiet,umask=000,iocharset=utf8"

    #MOUNTPT="/mnt/ide"

    DO_MOUNT="y"

    #FSTYPE="vfat"

    MOUNTPT="/mnt/cf"

   ;;

*,*,*,2)

    OPTS="-o noatime,quiet,umask=000,iocharset=utf8"

    DO_MOUNT="y"

    FSTYPE="ext2"

    MOUNTPT="/mnt/cf2"

   ;;

*,*,*)

    PARTS="1 2"

    # Card eject policy options

    NO_CHECK=n

    NO_FUSER=n

   ;;

esac


This mounts correctly hda1 in /mnt/cf, but does not see hda2!
Am I on the right way and I ma only writing something uncorrectly, or I am making my life too difficult and it would be enough adding a line o the original scripts I posted yesterday?

A hint would be really appreciated!
Thanks,
Adalberto

152
5x00 Hardware / 2.2GB Magicstor microdrive, shows up as 2GB. partition?
« on: January 14, 2004, 08:19:06 am »
It worked!!!!  

The only problem is that both partitions are mounted on the same directory (/mnt/card) and so I can only see the second mounted one!

Could someone help me in doing this final change in order to see both partitions?

Here is my actual /etc/pcmcia/ide.opts:
Code: [Select]
# ATA/IDE drive adapter configuration

#

# The address format is "scheme,socket,serial_no[,part]".

#

# For multi-partition devices, first return list of partitions in

# $PARTS.  Then, we\'ll get called for each partition.

#

case "$ADDRESS" in

*,*,*,+)

    #INFO="Sample IDE setup"

    #DO_FSTAB="y"; DO_FSCK="y"; DO_MOUNT="y"

    #FSTYPE="msdos"

    #OPTS=""

    FATOPTS="-o noatime,quiet,umask=000,iocharset=utf8"

    #MOUNTPT="/mnt/ide"

    DO_MOUNT="y"

    #FSTYPE="vfat"

    MOUNTPT="/mnt/cf"

   ;;

*,*,*)

    PARTS="1 2"

    # Card eject policy options

    NO_CHECK=n

    NO_FUSER=n

   ;;

esac


Thank you very much!
Ciao,
Adalberto

153
5x00 Hardware / 2.2GB Magicstor microdrive, shows up as 2GB. partition?
« on: January 14, 2004, 03:16:36 am »
Avel, thank you for your faith in my linux knowledge, but unfortunately it is not that good!    

I gave a look at the /etc/pcmcia/ide and ide.opts files, but my scripting skills are not good enough (let\'s say they are almost not existant!:oops:)  to hack them.

My understanding is that ide.opts has the info for automounting the second CF partition, bbut I do not know how to modify it.
If someone would be so kind to give me some guidance on that (I do not need to have it seen as a samba share, I would only like to have hda2 automounted) would be really appreciated!

Thank you,
Adalberto

Pages: 1 ... 9 10 [11]