LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-21-2007, 03:31 PM   #1
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
prob copying over the kde subdir in /opt for symlinking


My 6G partition for all of slack v11 was getting small, so I decided I'd try and move some big directory out to my vfat partition. I chose the kde subdir in /opt, which is c.1.5G.

First I tried "tar cf - .|(cd /new_kde_subdir; tar xf -)" but it gave me a bunch of warnings and errors, probably due to the copying of symlinks.

Then I tried cp -pR /opt/kde/* new_kde_subdir, and there were less warnings, in fact it was all about not being able to preserve ownership, but I didn't catch all of them.

In any case the "ln -s /opt/kde new_kde_subdir" does not do the job, because X complains about not being able to start kstartconfig nor kdeinit.

Is it because I've symlinked this directory onto a vfat partition? Is it because the tar and cp commands I've used are not the way to do it? I could have used dd, I suppose, but it'd be too slow though.

Any suggestions? Cheers.
 
Old 04-21-2007, 03:47 PM   #2
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
vfat doesn't support symlinks.

i'd either grow the original partition with parted or reformat the vfat as ext2, mount it as /opt and reinstall kde.

EDIT: you can "mount" ext2 from nearly all operation system.

Last edited by erklaerbaer; 04-21-2007 at 03:49 PM.
 
Old 04-23-2007, 08:37 AM   #3
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Original Poster
Rep: Reputation: 32
danke sehr für es mir erklaeren, erklaerbaer! ueber symlinks und vfat, wusste es nicht. Cheers!
 
  


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
Set KDE defaults for new users without copying .kde TemplaraPheonix Linux - Desktop 5 09-21-2006 02:50 AM
how many files on a subdir ? graziano1968 Linux - General 2 08-10-2006 12:18 AM
Why does sudo mkdir -m766 0/subdir deny? suguru Debian 1 11-08-2004 06:07 AM
deleting all *.m3u files in a directory+subdir? minm Linux - Newbie 5 10-12-2004 04:31 PM
symlinking /opt to /usr/? [GOD]Anck Slackware 6 01-02-2004 12:03 AM


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

Main Menu
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