Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62
Rep:
Haunted mount points... wooo!
Hi guys,
Has anyone come across a situation where you can't mount a drive (my Samba shared directory in this case) because it says the file already exists, but when you check /mnt/ in Konqueror or whatever, it's not there...
It is there when I dir it from a console, though. rmdir claims the folder is busy when I try and wipe it, and when I enter the directory and dir it, it says the NFS handle is stale...
Linux weirdness, or am I haunted by the ghost of a disgruntled Samba share... I may have to rename my 'puter Christine.
peace
Edited:
Just a thought - my Linux partition was created on an NTFS file system originally. Do you think it could be some weirdness in the way it stores information?
Last edited by TrashCanMan; 08-05-2003 at 06:23 AM.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,605
Rep:
That's normal . My konqueror has the content of a long gone floppy when I click on /dev/fd0. I have to mount by hand, then it's gone. I understand that this is controlled by the entry in /etc/fstab but I did not yet find the hows and whys ... give my regards to Christine .
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62
Original Poster
Rep:
Yus, Thing is, the booger won't allow me to mount it! (oo-er, that sounded dodgy) I've tried the Mandrake control centre method of mounting, I've ripped the entry out of fstab, I've tried unmounting it, mounting it as root from a console... No joy. Which means, all in all, I cannot get access to the shared directories on my network.
Christine is busy suffocating my friends at the moment, I'll pass that on when she trundles back.
Last edited by TrashCanMan; 08-05-2003 at 06:32 AM.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,605
Rep:
Re: Haunted mount points... wooo!
Quote:
Originally posted by TrashCanMan Just a thought - my Linux partition was created on an NTFS file system originally. Do you think it could be some weirdness in the way it stores information?
No, the writing support from Linux to NTFS is experimental. Whatever you had under NTFS (DOS? ) had to make room for a Linux file system. Check /etc/fstab.
So, Christine is making you kinda lonely, what with throttling your friends, huh? At least she doesn't do it in your presence, take comfort in small blessings .
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,605
Rep:
That's probably a supermount feature, which I don't know . I could imagine that your problem comes from a dead link. Please post the output of
ls -l /mnt/SHAREDDOCS
What the ... means //david/SHAREDDOCS?
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62
Original Poster
Rep:
[root@Mandrake mnt]# ls -l in /mnt
ls: in: No such file or directory
[root@Mandrake mnt]# ls -l /mnt
ls: /mnt/SHAREDDOCS: No such file or directory
total 8
drwxr-xr-x 2 root root 4096 Jul 31 23:37 cdrecorder/
drwxrwxrwx 1 root root 0 Aug 5 12:49 cdrom/
drwxrwxrwx 1 root root 0 Aug 5 12:49 cdrom2/
drwxrwxrwx 1 root root 0 Aug 5 12:49 floppy/
dr-xr-xr-x 1 root root 4096 Aug 5 07:14 windows/
[root@Mandrake mnt]#
Well, apart from glaring balefully at me with every little green, red and orange light she's got, not a lot. I think she's planning something. Something real bad.
I'm phoning an exorcist. It's either that or a low-level format.
Last edited by TrashCanMan; 08-05-2003 at 08:00 AM.
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62
Original Poster
Rep:
[root@Mandrake mnt]# ls -a /mnt
./ ../ cdrecorder/ cdrom/ cdrom2/ floppy/ SHAREDDOCS/ windows/
There's the 8!!! but when I do:
[root@Mandrake mnt]# ls -a -l /mnt
ls: /mnt/SHAREDDOCS: No such file or directory
total 16
drwxr-xr-x 8 root root 4096 Aug 4 18:38 ./
drwxr-xr-x 22 root root 4096 Aug 5 12:49 ../
drwxr-xr-x 2 root root 4096 Jul 31 23:37 cdrecorder/
drwxrwxrwx 1 root root 0 Aug 5 12:49 cdrom/
drwxrwxrwx 1 root root 0 Aug 5 12:49 cdrom2/
drwxrwxrwx 1 root root 0 Aug 5 12:49 floppy/
dr-xr-xr-x 1 root root 4096 Aug 5 07:14 windows/
[root@Mandrake mnt]#
it says there is no such file.
I can tell she is enjoying my mental anguish, lapping it up like a vampire with a maiden.
Hang on - isn't she a few inches closer than she was before?!? Glad I screwed the monitor cable in.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,605
Rep:
There is a special type of hard link, which points at directories and which can only be created by the superuser (whatever that is). Could be something has gone wrong here -> google or search this site. Have to leave now, good luck.
"Glad I screwed the monitor cable in." And you wonder? Tsk.
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62
Original Poster
Rep:
I got it!!!!!
The windows box was broadcasting a Shared directory that wasn't there!!
A previous crash (what? on windows? Shurely some mistake?) had wiped out the shared directory - leaving the system broadcasting a shared directory that had died the night before.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,605
Rep:
The marvel called windows! How can a system list a directory that doesn't exist anymore ... eerie, that's what it is, you were absolutely right. Ah well, that's probably better not explained for the sake of sanity.
I hope your differences with Christine are resolved, then. I can even imagine the little twinkle in her beautiful eyes while she contemplates the next adventure for her paramour ... .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.