Author Topic: How To Remove Extra Loop Devices?  (Read 3287 times)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
How To Remove Extra Loop Devices?
« 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)
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
How To Remove Extra Loop Devices?
« Reply #1 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
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
How To Remove Extra Loop Devices?
« Reply #2 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
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
How To Remove Extra Loop Devices?
« Reply #3 on: April 17, 2006, 08:29:58 pm »
Any other suggestions as to how to delete unwanted loop devices?

 thanks,

 Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

qx773

  • Full Member
  • ***
  • Posts: 219
    • View Profile
How To Remove Extra Loop Devices?
« Reply #4 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.

DaemonsGR

  • Full Member
  • ***
  • Posts: 237
    • View Profile
How To Remove Extra Loop Devices?
« Reply #5 on: April 18, 2006, 04:31:49 am »
iamasmith is right...try it again! (as root)
Tasos Varoudis (Tech)
Tasos Varoudis (Architecture)

Zaurus sl-c3100 + Wlan, Lan ,BT ,etc
NOW running... pdaXrom 1.1.0beta3 + OOo + custom apps/setup + debian +.. not yet installed OpenBSD snapshot

WAS:Cacko 1.23 + X/QT + debian

Home-Net
Debian WIFI Router ,OpenBSD Bridge Firewall ,Win 2k Domain Server , :) Sun Fire v120 , :) Gentoo Main Server: Dual PIII

icruise

  • Sr. Member
  • ****
  • Posts: 292
    • View Profile
How To Remove Extra Loop Devices?
« Reply #6 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

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
How To Remove Extra Loop Devices?
« Reply #7 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
[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
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
How To Remove Extra Loop Devices?
« Reply #8 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
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
How To Remove Extra Loop Devices?
« Reply #9 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.
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
How To Remove Extra Loop Devices?
« Reply #10 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]
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/