LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 02: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, 02: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 02:49 PM.
 
Old 04-23-2007, 07:37 AM   #3
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438

Original Poster
Blog Entries: 5

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:44 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
Open Source Consulting | Domain Registration