Jump to content

Devices listing and /mnt trouble


!nkubus
 Share

Recommended Posts

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]

Link to comment
Share on other sites

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. ?

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...