Ask Your Question

Symlinks and resizing partitions

asked 2013-09-12 06:44:31 -0500

Marundu Muturi gravatar image

I came across a certain article on the Fedora forums. Can I really create a symlink to use space on the root directory, instead of having to resize the root and Home folders? On that same note, I don't know how to create a symlink.

edit retag flag offensive close merge delete


a symlink is similar to a windows short-cut (although much better of-course). By creating a folder in the root partition, and linking to it from your home folder, you can get easy access, such that you can easily put some files there. However, this is an entirely different thing then resizing a partition.

Jann5s gravatar imageJann5s ( 2013-09-12 10:36:20 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2013-09-15 12:41:41 -0500

besser82 gravatar image

And to answer you question: Yes you can use a symlink to defer some data to another location / partition. But IMHO would me more sense to move the data to a new partition and have this mounted by /etc/fstab in the right location. ;-)

edit flag offensive delete link more

answered 2013-09-12 08:16:56 -0500

ztank1013 gravatar image

updated 2013-09-12 08:18:02 -0500

Creating a symbolic link on root directory (/) can be done only by root or by unprivileged user with sudo rights. As root just run in a terminal a command like the following to create a symlink (symbolic link):

ln -s /path/to/target/dir /symlink-name

as unprivileged user run:

sudo ln -s /path/to/target/dir /symlink-name
edit flag offensive delete link more

Question Tools


Asked: 2013-09-12 06:44:31 -0500

Seen: 162 times

Last updated: Sep 15 '13