LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-23-2005, 02:08 PM   #1
vpv
LQ Newbie
 
Registered: Sep 2005
Location: Bulgaria
Distribution: Debian GNU/Linux
Posts: 19

Rep: Reputation: 0
symbolic link question


Here's what i do:

root@localhost#ln -s foo.c foolink
inappropriate ioctl for device while reading flags: Operation not permitted

Why am i not allowed to make a symbolic link? Could this have something to do with the attributes of the partition - in my case hda6 of type ext2? How can I see what are the present attributes of hda6? How and to what should i change them? Is this the problem at all?

Thanx everyone, who tries to help!
 
Old 10-23-2005, 02:27 PM   #2
blindcoder
ROCK Linux
 
Registered: Dec 2003
Location: Berlin, Germany
Distribution: Crystal ROCK
Posts: 108

Rep: Reputation: 15
If it is really ext2 it shouldn't be a problem.
Can you please paste the output of this:
Code:
mount
Greetings,
blindy
 
Old 10-24-2005, 02:05 PM   #3
vpv
LQ Newbie
 
Registered: Sep 2005
Location: Bulgaria
Distribution: Debian GNU/Linux
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by blindcoder

Can you please paste the output of this:
Code:
mount
Sure! Here it is:

Code:
/dev/ide/host0/bus0/target0/lun0/part6 on / type ext2 (rw)
none on /proc type proc (rw)
none on /proc/bus/usb type usbfs (rw)
none on /dev type devfs (rw)
none on /dev/pts type devpts (rw,mode=0620)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,iocharset=iso8859-1,codepage=850,umask=0)
/dev/ide/host0/bus0/target0/lun0/part1 on /mnt/windows type vfat (rw,iocharset=iso8859-1,codepage=850,umask=0)
none on /mnt/hd type supermount (rw,dev=/dev/hdb1,fs=ext2:vfat,--,codepage=850,iocharset=iso8859-1)
And I'm trying make a symb. link in /mnt/windows (nothing to do with windows -- it's just the name) and I get:

ln: Creating a symbolic link ...:Operation not permitted
 
Old 10-24-2005, 02:09 PM   #4
blindcoder
ROCK Linux
 
Registered: Dec 2003
Location: Berlin, Germany
Distribution: Crystal ROCK
Posts: 108

Rep: Reputation: 15
Quote:
Originally posted by vpv
Code:
/dev/ide/host0/bus0/target0/lun0/part6 on / type ext2 (rw)
none on /proc type proc (rw)
none on /proc/bus/usb type usbfs (rw)
none on /dev type devfs (rw)
none on /dev/pts type devpts (rw,mode=0620)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,iocharset=iso8859-1,codepage=850,umask=0)
XXX /dev/ide/host0/bus0/target0/lun0/part1 on /mnt/windows type vfat (rw,iocharset=iso8859-1,codepage=850,umask=0) XXX
none on /mnt/hd type supermount (rw,dev=/dev/hdb1,fs=ext2:vfat,--,codepage=850,iocharset=iso8859-1)
And I'm trying make a symb. link in /mnt/windows (nothing to do with windows -- it's just the name) and I get:

ln: Creating a symbolic link ...:Operation not permitted
There you are: vfat doesn't support symbolic links. Actually, none of the MS filesystems do.

Greetings,
Benjamin
 
Old 10-25-2005, 01:12 AM   #5
vpv
LQ Newbie
 
Registered: Sep 2005
Location: Bulgaria
Distribution: Debian GNU/Linux
Posts: 19

Original Poster
Rep: Reputation: 0
Heey, thanx very much! So that was it - vfat. Well, one more question then:

Can I change /mnt/windows from vfat to ext2 or ext3 without loosing my data?

Thank you!

Regards,

vpv
 
Old 10-25-2005, 01:21 AM   #6
blindcoder
ROCK Linux
 
Registered: Dec 2003
Location: Berlin, Germany
Distribution: Crystal ROCK
Posts: 108

Rep: Reputation: 15
Quote:
Originally posted by vpv
Can I change /mnt/windows from vfat to ext2 or ext3 without loosing my data?
Not on-the-fly, no. You have to copy the data somewhere, then create the filesystem and then copy the data back.

Greetings,
Benjamin
 
Old 10-25-2005, 04:02 AM   #7
vpv
LQ Newbie
 
Registered: Sep 2005
Location: Bulgaria
Distribution: Debian GNU/Linux
Posts: 19

Original Poster
Rep: Reputation: 0
Thumbs up

Ok - I got it! Thank you very much for the help!


Greetings,

vpv
 
  


Reply



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
java symbolic link question MRDucks Mandriva 4 09-26-2005 09:57 PM
What is a Symbolic Link? little_penguin Linux - Software 2 05-14-2005 09:27 AM
symbolic link ilnli Slackware 6 01-04-2005 05:05 PM
symbolic link jsetter Linux - Newbie 4 11-22-2004 07:18 AM
symbolic link question nalkinburgh Linux - General 2 12-20-2002 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:57 PM.

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
Open Source Consulting | Domain Registration