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.
all USB application are disabled, and lates oleg's firmware is instaled.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
Following script is used for boot time mounting
after restart following mount points exists: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
and of course swap is activated tooCode:[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)
Could you please explain why part1 is mounted on /tmp/harddisk and how disable it, and how it is possible to mount swap partition.Code:[admin@fhome root]$ free total used free shared buffers Mem: 30140 10972 19168 0 1492 Swap: 500712 0 500712 Total: 530852 10972 519880
Thank you in advance
krzysiek


Reply With Quote