!nkubus Posted May 25, 2004 Report Share Posted May 25, 2004 Ok I'm gonna try to explain this the better than i can. i have mounted and unmounted plugged and unplugged some use mass storage devices, and often mdk mount them with a different name under /mnt. so i have like 4 different directory (unmounted) under /mnt that i cannot delete, KDE devices:/// protocol show all hoses directory like devices (even as root i cannot delete thoses directory) . so i said that i will remove the entry from /etc/fstab but it didn't work they are still there. and another weird thing i have a second hard 80 gig drive formatted as etx3 where i can copy , create folder and use it as a normal drive but the kde devices:/// protocol won't show it as a device :(. I'm kind lost in that thing, anybody have an advice on how i could have something easy to work with my devices when i plug it have the same name and folder. i know it can sound weird but the last time i have used my usb key it worked like a charm once removed the folder and the devices were deleted by mandrake success fully. how can i delete thoses folders ?? under /mnt (even root) cannot deleted it. thanks for taking time to read this :) [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
iphitus Posted May 25, 2004 Report Share Posted May 25, 2004 TO remove the folders, do it at the command line. Nothing stops rm -rf sudo rm -rf /mnt/wow Use rm -rf with caution. -r is recurse, so anything inside the directory and -f is force Quote Link to comment Share on other sites More sharing options...
!nkubus Posted May 25, 2004 Author Report Share Posted May 25, 2004 Ok thanks, now i'm at work i'm gonna try to remove it whe i'm gonna get back to home. but for my ext3 drive that don't show up is there an explanation or it's because it's a native linux file system it cannot mke a difference betwwen the drives and his own file system? another question , is there a way to interup when a hardware is plugged and show a message to the user , to say like usb mass storage device detected and mounted at /mnt/memory_card. ? Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted May 25, 2004 Report Share Posted May 25, 2004 This may be obvious, but the folders cannot be deleted if they are a known mount pont, or if they are in use by mount. So, removing a reference in fstab and unmounting should do the trick. (I would re-run fstab, to be sure) Quote Link to comment Share on other sites More sharing options...
!nkubus Posted May 25, 2004 Author Report Share Posted May 25, 2004 but they are not mount point anymore this is why i'm having trouble. but maby i need to reboot :( to my fstab to take effect :(. ? Quote Link to comment Share on other sites More sharing options...
Gowator Posted May 25, 2004 Report Share Posted May 25, 2004 LOL our old friend supermount ??? but they might just be marked as mounted... to be 100% certain.... init 1 umount -a rm -rf /mnt/remov* mount -a init 5 Quote Link to comment Share on other sites More sharing options...
!nkubus Posted May 25, 2004 Author Report Share Posted May 25, 2004 ok thanks i'm trying this as soon as i'm at home tonight right now it's only 10 am here. Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted May 25, 2004 Report Share Posted May 25, 2004 That would be init 3, right? Quote Link to comment Share on other sites More sharing options...
kmc77 Posted May 25, 2004 Report Share Posted May 25, 2004 I had the same prob. I'll look at what I did when I get home, and will post It if you haven't got it worked out by then. Quote Link to comment Share on other sites More sharing options...
Gowator Posted May 25, 2004 Report Share Posted May 25, 2004 That would be init 3, right? Nope,,, init 3 still has networking and more importantly logging..... basically everything except the window manager and X. Also supermount is RL2 (Im guessing cos Im at work) logging writes to /var hence you cant umount it.... in RL 1 lots of the lock files etc are ignored becuase they might not be available. Hence its safer .... (RL3 might work, but RL 1 is a safer bet) Quote Link to comment Share on other sites More sharing options...
!nkubus Posted May 25, 2004 Author Report Share Posted May 25, 2004 wasn't mandrake 10 suppose to use MagicDev and not supermount? Quote Link to comment Share on other sites More sharing options...
!nkubus Posted May 25, 2004 Author Report Share Posted May 25, 2004 (edited) unmount -a is an unreconized command :(. root@timon mnt]# unmount -a bash: unmount: command not found Edited May 25, 2004 by !nkubus Quote Link to comment Share on other sites More sharing options...
!nkubus Posted May 26, 2004 Author Report Share Posted May 26, 2004 finnaly got it by rebooting my system. but now i'm having trouble with Xine the sound is hichy :( and my Nvidia drivers won't load :(. Quote Link to comment Share on other sites More sharing options...
Gowator Posted May 26, 2004 Report Share Posted May 26, 2004 unmount -a is an unreconized command :(. root@timon mnt]# unmount -a bash: unmount: command not found Im not surprised.... I said umount -a Quote Link to comment Share on other sites More sharing options...
!nkubus Posted May 26, 2004 Author Report Share Posted May 26, 2004 i'm dumb sorry Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.