Results 1 to 2 of 2

Thread: Mount problem (strenge)

  1. #1
    Join Date
    Jan 2006
    Location
    Poland
    Posts
    9

    Mount problem (strenge)

    Hello,
    I would like to say hallo, because it's my first post on this forrum.

    I have got little problem with mounting more then one partition on my external usb 40 GB disk.

    It looks like that:

    HD is splited into 3 partitions, one for swap, one ext2 and one for vfat.

    Code:
                    Device Boot    Start       End    Blocks   Id  System
    /dev/discs/disc0/part1               1         489      500720   82  Linux swap
    /dev/discs/disc0/part2             490        8303     8001536   83  Linux
    /dev/discs/disc0/part3            8304       38154    30567424    b  Win95 FAT32
    all USB application are disabled, and lates oleg's firmware is instaled.

    Following script is used for boot time mounting

    Code:
    [admin@fhome root]$ cat /usr/local/sbin/post-boot
    #!/bin/sh
    
    # load additional modules
    insmod /lib/modules/2.4.20/kernel/drivers/scsi/scsi_mod.o
    insmod /lib/modules/2.4.20/kernel/drivers/scsi/sd_mod.o
    insmod /lib/modules/2.4.20/kernel/drivers/usb/storage/usb-storage.o
    
    # wait for /opt to mount
    mount /dev/discs/disc0/part2 /opt
    i=0
    while [ $i -le 15 ]
    do
    if [ -d /opt/etc ]
    then
    break
    fi
    sleep 1
    i=`expr $i + 1`
    done
    
    
    # Activate swap
    swapon /dev/discs/disc0/part1
    
    # mount vfat paritionon
    mkdir /tmp/bighd
    mount -t vfat /dev/discs/disc0/part3 /tmp/bighd
    
    # Run all active services - active means starts with S
    /opt/etc/init.d/rc.unslung
    after restart following mount points exists:

    Code:
    [admin@fhome root]$ mount
    /dev/root on / type squashfs (ro)
    none on /dev type devfs (rw)
    proc on /proc type proc (rw)
    ramfs on /tmp type ramfs (rw)
    usbfs on /proc/bus/usb type usbfs (rw)
    /dev/discs/disc0/part2 on /opt type ext3 (rw)
    /dev/discs/disc0/part3 on /tmp/bighd type vfat (rw)
    /dev/discs/disc0/part1 on /tmp/harddisk type vfat (ro,sync)
    and of course swap is activated too

    Code:
    [admin@fhome root]$ free
                  total         used         free       shared      buffers
      Mem:        30140        10972        19168            0         1492
     Swap:       500712            0       500712
    Total:       530852        10972       519880
    Could you please explain why part1 is mounted on /tmp/harddisk and how disable it, and how it is possible to mount swap partition.
    Thank you in advance
    krzysiek

  2. #2
    When that happend on mine it was normally stupid-ftpd causing it.
    You have to kill it and mount the partition where you want.
    It might have been been better if you had made 1st partition /opt and then it would get mounted before stupid-ftpd got chance to grab it.
    I followed this guide and it worked for me:
    http://www.macsat.com/macsat/content/view/22/29/

Similar Threads

  1. WDS Problem bei Firmware 1.9.2.7 endlich gelöst
    By Wisi in forum German Discussion - Deutsch (DE)
    Replies: 70
    Last Post: 10-12-2009, 15:51
  2. Spanning-tree protocol - flashing led problem
    By bamba in forum WL-500g Q&A
    Replies: 4
    Last Post: 16-01-2006, 06:30
  3. Problem... please help
    By mihai in forum WL-500g Q&A
    Replies: 4
    Last Post: 22-12-2005, 19:46
  4. MAC OS X 10.3 ibook Print Server Problem
    By epimenides in forum German Discussion - Deutsch (DE)
    Replies: 1
    Last Post: 14-12-2005, 20:42
  5. Problem with dieing AIR-connection
    By BòóN in forum WL-500g Q&A
    Replies: 7
    Last Post: 26-10-2004, 12:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •