LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-30-2010, 12:29 PM   #1
axisofevil
LQ Newbie
 
Registered: Feb 2010
Posts: 14

Rep: Reputation: 0
mkdir fails ( even with -p ): No such file or directory


The setup ( although dont trust anything I say ):

I'm working on an embedded system device using a NFS mounted rootfs ( as shared by my host ) , but I store large video content directly on the device's hdd in /data.

Device's hdd partition /dev/sda3 is ext3 fs mounted at /tmp/mnt/diska3 (rw) , then I have a script create dirs like /tmp/mnt/diska3/data
and /tmp/mnt/diska3/incoming, then symlink : ln -s /tmp/mnt/diska3/data /data so that the /data appears like any other directory.

I can see /tmp/mnt/diska3/data/incoming. I did chmod -R a+w tmp to rule out permissions.

Running a subsequent script calls mkdir: mkdir -p /data/incoming/gui

BUT fails:
mkdir: cannot create directory '/data/': No such file or directory

What's the deal?

Thanks for use of your brain.. dB
 
Old 05-30-2010, 12:31 PM   #2
axisofevil
LQ Newbie
 
Registered: Feb 2010
Posts: 14

Original Poster
Rep: Reputation: 0
minor correction:

was: then I have a script create dirs like /tmp/mnt/diska3/data
and /tmp/mnt/diska3/incoming,

should be:
then I have a script create dirs like /tmp/mnt/diska3/data
and /tmp/mnt/diska3/data/incoming,
 
Old 06-01-2010, 11:11 AM   #3
axisofevil
LQ Newbie
 
Registered: Feb 2010
Posts: 14

Original Poster
Rep: Reputation: 0
I'm keeping this thread in General forum , see same there.
 
  


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
Mounted NFS directory can't mkdir rcmonroig Linux - Newbie 5 11-04-2009 10:57 PM
mkdir : cannot create directory : no such file or directory patcheezy Linux - Newbie 6 05-13-2009 11:26 AM
mkdir: cannot create directory `test': Read-only file system punt Linux - General 2 04-16-2005 09:58 PM
compiling fails: kdelibs_export.h: No such file or directory drowstar Linux - Software 1 01-12-2005 11:35 AM
"mkdir: cannot create directory `foo': Read-only file system" on FAT32 maddes Linux - Hardware 1 11-26-2003 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:20 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