LinuxQuestions.org
Help answer threads with 0 replies.
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 10-22-2014, 07:03 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
mv /alma2 /almacen, where /alma2 is the mount point of /dev/sda5.


I believe that will rename the /almacen dirrectory and do nothing but that. Am I right?

EDIT: Oops, it can't be done: "Device or resource busy". And certainly, /dev/sda5 is busy.

Last edited by stf92; 10-22-2014 at 08:20 PM.
 
Old 10-22-2014, 08:25 PM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044
So unmount /alma2, rename and mount again.
Code:
mount /dev/sda5 /almacen
I take it /alma2 is not your root directory but some data or home directory. Su to root first, don't do it as sudo. You want to have your home directory on /root. (maybe not strictly necessary)

Edit your /etc/fstab and change the mount point for /dev/sda5 to /alamcen.

jlinkels
 
1 members found this post helpful.
Old 10-22-2014, 10:50 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Can't believe it, I should go to bed now. Thanks a lot, jlinkels. In earnest.

Last edited by stf92; 10-22-2014 at 10:52 PM.
 
  


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
USB mount point is not shown in /dev entry point garryhk Linux - Software 3 12-12-2012 05:28 PM
Readjust disk space between /dev/sda2 and /dev/sda5 born2bdesi Linux - Newbie 23 12-20-2010 11:40 PM
xfe : mount point /dev/.static/dev is not responding frenchn00b Linux - Software 0 10-06-2008 06:12 PM
set mount point of /dev/hda1 to windows/c etc... shikhar SUSE / openSUSE 5 08-08-2006 12:41 AM
-set mount point of /dev/hda1 to/windows /C spoonbender Linux - Newbie 3 08-07-2006 12:44 AM

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

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