LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 04-21-2002, 11:36 PM   #1
Roberta
LQ Newbie
 
Registered: Apr 2002
Location: Montreal, Canada
Distribution: Mandrake 8.2
Posts: 1

Rep: Reputation: 0
Question How Do I Unlock A Directory


Hi folks!

I am wondering how do I unlock a directory.
For instance, my cdrom directories are locked (cdrom1 and cdrom2- my burner). Even though I login as root, I still cannot open neither because they are locked.

Thanks for the help! ;-)

Roberta
 
Old 04-22-2002, 12:13 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
what are you referring to when you say locked ?? like you can't access them ?? are they the cdrom directories in the /mnt directory ?? if so, those directories will be empty until you mount a cdrom to them and then try to open/browse them. details on what your exactly trying to do please.
 
Old 06-05-2002, 06:13 PM   #3
maartengina
LQ Newbie
 
Registered: Jun 2002
Posts: 1

Rep: Reputation: 0
Hi All,

I just installed mandrake 8.2, and I am having the same problem,
I cannot mount my cdrom drives and floppy, becouse the mount directories are locked, as a root I am also not able to acces the files/directories.

Thanks for your help!
 
Old 06-05-2002, 07:44 PM   #4
AcidRain
Member
 
Registered: May 2002
Location: Greece
Distribution: Mandrake 8.1
Posts: 59

Rep: Reputation: 15
Try this

create a directory in /mnt and call it cdrom1

and then type the command at shell

"mount /dev/cdrom /mnt/cdrom1"
or try
"mount /dev/hdc /mnt/cdrom1"



AcidRain
 
Old 06-06-2002, 08:38 AM   #5
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Rep: Reputation: 30
Yes, it´s a big phat juicy mandrake bug, unless the above steps solve your problem. I used to have a similar problem where i mounted my cdrom and i couldnt acces it when I ran mandrake. I think it has to do with mandrake automounter wich is buggy.
 
Old 06-06-2002, 08:56 AM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I don't think it's a bug. But that's just me. Open the file /etc/fstab and see what it says. If there are entries in there for your CDROM drives, then we can move on to other ideas. If not, we can give you lines to add to that file. Also, to check what is mounted on your system you can open a term and type 'mount' and that will at least tell ya if you have actually mounted the discs yet or not.

And if you are trying to copy files to your burner and then thinking it will just burn them as you copy them, that won't work. At least I haven't seen/heard of that working anyway.

How do you know it's locked? Are you in KDE and there are locks on top of the folder icons? This usually means it's not mounted. So open a vterm and type 'mount /dev/cdrom /mnt/cdrom' or something similar. Then refresh the folder view, you should be able to access it now.
 
Old 06-06-2002, 09:33 AM   #7
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
When I run KDE in Mandrake 8.2, the CD-ROM and Floppy icons both, always show locked until I put the appropriate media in each. Then the lock magically disappears. The wonders of supermount!!
 
Old 06-06-2002, 06:23 PM   #8
rootman147
Member
 
Registered: May 2002
Location: Hangon...find / -name location
Distribution: Slackware
Posts: 46

Rep: Reputation: 15
how does supermounting work? is it like autorun in windows? also does it detect floppies?
 
Old 06-07-2002, 02:59 AM   #9
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Rep: Reputation: 30
Yes, that is what I meant, the supermount function used to be buggy. When I ran mandrake 7.2 and even 8.0 I had the same problem that onc3e in a while I couldnt access the cdrom. It is a known bug, read it at the mandrake site, but perhaps It´s been fixed in their newer distro. For me it was reason enough to switch to another distro. the super mount doesnt work like autorun, it just automaticALLY mounts a cd when youplace it in the drive, I think it´s a crappy system though because half of the time the cdrom drive gets locked and you can´t open it anymore, at least in my experiences with mandrake.
 
Old 06-07-2002, 05:50 AM   #10
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
You can always just type 'eject' at a prompt, and poof! Out comes your cd.
 
Old 06-07-2002, 07:41 AM   #11
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Rep: Reputation: 30
I know, im not a moron. Ive been using linux longer than today. I said once in a while the cd would lock, no matter how many times i typed eject, no matter how many programs i shut off which may have in any way shape or form been linked to or acessing the cdrom drive directory. And seeing as how i read on a site somwhere that this was due to a bug in mandrakes distro, and they even released a distro without the supermount function due to this bug, im calling it a bug which was ,believe it or not, not something I thought because I didnt know that ´eject´or ´umount /cdrom´ (in my case) would ´unlock´or open the cdrom drive. Please dont insult my intelligence, before i make you say uuuuuuuuuuuh....uuuuuh...nana na naaaaa
 
Old 06-07-2002, 07:52 AM   #12
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Sorry dude, didn't mean to make you feel like I was insulting your intelligence.

I was just offering a way for you to get your CD's out when it seems like pressing the button on the front of the drive won't work.

Although my 'lame' tip might not help you, it MAY help someone not nearly as wise as you.

Last edited by MasterC; 06-07-2002 at 08:27 AM.
 
Old 06-07-2002, 08:25 AM   #13
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Rep: Reputation: 30
I was just kidding dude, sometimes I have a really long dick which people can easily step on, and yes you are right, it may help the person who started the thread or another newbie. And i wasnt threatening you, I was making a joke about your name. Have you heard of Master P? one of his songs go make you say uuuuuh uuuuh nanna na naaaa........

no hard feelings, i hope you feel the same way.
 
Old 06-07-2002, 08:32 AM   #14
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Ha ha ha ha (really long dick) ha ha ha

Never any hard feelings buddy. Sorry to make you sound like an idiot without intending too.
 
Old 06-07-2002, 09:48 AM   #15
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
Yeah, Mandrake admitted to a supermount problem in version 8.1 but it seems to be O.K. in version 8.2, and in fact I believe supermount is the default in MDK. I never recall having a problem in 8.0, but any software can burp if it runs up on the right/wrong condition !!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I unlock a file? Brooksias Linux - Newbie 8 12-14-2010 07:49 AM
Cannot Unlock Session sunmicroman Slackware 9 09-09-2005 05:04 PM
About Lock And Unlock George2 Programming 8 08-24-2005 12:30 AM
unlock process! UltraSoul Solaris / OpenSolaris 4 01-16-2005 05:19 AM
unlock my cdrecorder!! Steave Linux - General 2 12-13-2001 12:46 PM


All times are GMT -5. The time now is 03:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration