OESF Portables Forum

General Forums => General Discussion => Topic started by: ArchiMark on April 17, 2006, 02:04:48 pm

Title: How To Remove Extra Loop Devices?
Post by: ArchiMark on April 17, 2006, 02:04:48 pm
Can Someone please advise as to how to remove the extra loop devices (loops6-7) shown below?

Don't want to mess things up more than they already are....

 

Thanks,

Mark


Code: [Select]
#mount
rootfs on / type rootfs (rw)
/dev/root on / type jffs2 (ro)
/proc on /proc type proc (rw)
/dev/mtdblock3 on /home type jffs2 (rw,noatime)
/dev/ram1 on /dev type minix (rw)
none on /dev/shm type tmpfs (rw)
/dev/hdc1 on /hdd1 type ext3 (ro,noatime)
/dev/hdc2 on /hdd2 type ext3 (rw,noatime)
/dev/hdc3 on /hdd3 type vfat (rw,noatime)
none on /dev/pts type devpts (rw)
/dev/loop0 on /home/system/var/mnt/xqt/xqt-gtk-jumbo type cramfs (rw)
/dev/loop1 on /home/system/var/mnt/xqt/xqt-apps type cramfs (rw)
/dev/mmcda1 on /usr/mnt.rom/card type vfat (rw,noatime)
/dev/loop2 on /home/system/var/mnt/xqt/xqt-mozilla type cramfs (rw)
/dev/loop3 on /home/system/var/mnt/xqt/xqt-openoffice type cramfs (rw)
/dev/loop4 on /hdd3/debroot type ext2 (rw)
/proc on /hdd3/debroot/proc type proc (rw)
/dev/loop5 on /hdd3/debroot/home/zaurus/OpenOffice.org1.1.4 type cramfs (rw)
/dev/mmcda1 on /hdd3/debroot/mnt/card type vfat (rw,noatime)
/dev/mtdblock3 on /hdd3/debroot/etc/resolv.conf (deleted) type jffs2 (rw,noatime)
/dev/loop6 on /hdd3/debroot/home/zaurus/OpenOffice.org1.1.4 type cramfs (rw)
/dev/loop7 on /hdd3/debroot/home/zaurus/OpenOffice.org1.1.4 type cramfs (rw)
Title: How To Remove Extra Loop Devices?
Post by: iamasmith on April 17, 2006, 02:15:00 pm
it looks like you have more than one mount -o loop  for the OpenOffice cramfs.. I would try to track that down... in the meantime you may try..

umount /dev/loop7
losetup -d /dev/loop7
Title: How To Remove Extra Loop Devices?
Post by: ArchiMark on April 17, 2006, 02:23:05 pm
Thanks for the quick response, Iama smith!

Just tried out you suggested....


Code: [Select]
$su
#umount /dev/loop7
#losetup -d /dev/loop7
losetup: not found
#


I hate it when this happens....

 

Thanks,

Mark
Title: How To Remove Extra Loop Devices?
Post by: ArchiMark on April 17, 2006, 08:29:58 pm
Any other suggestions as to how to delete unwanted loop devices?

 thanks,

 Mark
Title: How To Remove Extra Loop Devices?
Post by: qx773 on April 17, 2006, 11:55:50 pm
I suggest that you look in your

/etc/fstab

file to see if there are duplicate lines that can be deleted.
Title: How To Remove Extra Loop Devices?
Post by: DaemonsGR on April 18, 2006, 04:31:49 am
iamasmith is right...try it again! (as root)
Title: How To Remove Extra Loop Devices?
Post by: icruise on April 18, 2006, 05:17:04 am
I'll take some of your extra loop devices!  

https://www.oesf.org/forums/index.php?showtopic=18821 (https://www.oesf.org/forums/index.php?showtopic=18821)
Title: How To Remove Extra Loop Devices?
Post by: Meanie on April 18, 2006, 06:32:22 am
Quote
I'll take some of your extra loop devices!   

https://www.oesf.org/forums/index.php?showtopic=18821 (https://www.oesf.org/forums/index.php?showtopic=18821)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123606\"][{POST_SNAPBACK}][/a][/div]

did you try just doing umount /hdd3/debroot/home/zaurus/OpenOffice.org1.1.4
Title: How To Remove Extra Loop Devices?
Post by: ArchiMark on April 18, 2006, 11:05:40 am
Hey, THANKS Everyone for all your help!!!

Meanwhile, I checked 'mount' again and guess what the commands that 'Iamasmith' suggested worked even though you get the error message!!

 

Mark
Title: How To Remove Extra Loop Devices?
Post by: iamasmith on April 18, 2006, 01:42:42 pm
Quote
Hey, THANKS Everyone for all your help!!!

Meanwhile, I checked 'mount' again and guess what the commands that 'Iamasmith' suggested worked even though you get the error message!!

 

Mark
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123644\"][{POST_SNAPBACK}][/a][/div]

The umount gets rid of the mount losetup -d deletes the loop device, if losetup isn't present the mount will still go but the loop device may still be active.
Title: How To Remove Extra Loop Devices?
Post by: ArchiMark on April 18, 2006, 10:30:42 pm
So how do you know for sure whether it's really gone or not, iamasmith??

Thanks!

Mark

Quote
Quote
Hey, THANKS Everyone for all your help!!!

Meanwhile, I checked 'mount' again and guess what the commands that 'Iamasmith' suggested worked even though you get the error message!!

 

Mark
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123644\"][{POST_SNAPBACK}][/a][/div]

The umount gets rid of the mount losetup -d deletes the loop device, if losetup isn't present the mount will still go but the loop device may still be active.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123664\"][{POST_SNAPBACK}][/a][/div]