LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Installing Linux on a new SSD (in a desktop PC with a second hard drive)

Posted 02-08-2016 at 09:31 AM by beachboy2
Updated 02-11-2016 at 10:27 AM by beachboy2

If, like me, you have a lot of data and a suitable conventional hard drive (HDD), then I recommend that you just buy the smallest, good-quality SSD you can find.

30GB or 60GB is more than enough to accommodate a Linux distro.

6 SSDs to consider:

http://www.pcadvisor.co.uk/test-cent...views-3235200/

NB Do bear in mind that cheaper, smaller capacity versions of the these drives are available in addition...
Senior Member
Posted in Uncategorized
Views 1324 Comments 0 beachboy2 is offline
Old

Not even linux can create symlinks on FAT32

Posted 11-05-2014 at 01:04 AM by the dsc (linux-related notes)

If you've only briefly dealt with NTFS on linux, you might have noticed that it's possible to create symlinks there, not like the fake "shortcuts", but actual symlinks, that linux read as such.

That may lead the naive mind to think that symlinks are a linux/OS-side feature, and that therefore linux could create symlinks on FAT32. But that's going to be proven wrong on the first attempt.

You can, however, have symlinks on non-FAT partitions pointing to a FAT...
Member
Posted in Uncategorized
Views 561 Comments 0 the dsc is offline
Old

Tip: creating symlinks to another folder

Posted 09-01-2013 at 07:46 PM by the dsc (linux-related notes)
Tags symlink

The syntax of "ln" requires full path information of the "source" file. Therefore, if you issue something like "for file in *.foo ; do ln -s ./$file /other-folder/somewhere/$(echo $file | sed s/foo/bar/) ; done", the produced symlinks will be empty.

To avoid that, the command must be:

for file in *.foo ; do ln -s $PWD/$file /other-folder/somewhere/$(echo $file | sed 's/foo/bar/') ; done

$PWD, the environment variable of the...
Member
Posted in Uncategorized
Views 431 Comments 0 the dsc is offline
Old
Rating: 2 votes, 4.00 average.

Batch-fixing symlink targets

Posted 08-28-2010 at 06:08 PM by the dsc (linux-related notes)
Tags batch, symlink

Sometimes you move the folder to which lots of symlinks were pointing, or something to that effect, and you want to simply "edit" these symlinks rather than recreating them pointing the correct new location. That's how it can be done with one line:

Code:
find /place-where-the-null-symlinks are/ -type l | while read nullsymlink ; 
do wrongpath=$(readlink "$nullsymlink") ; 
right=$(echo "$wrongpath" | sed s'|/whatever/is/the/old-wrong/path|/correct-new/path|')
...
Member
Posted in Uncategorized
Views 5706 Comments 1 the dsc is offline

  



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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration